Jun 14
JDiagnostic tech preview released
A lot of emails I get are with regards to deploying JAuthTools and Microsoft Active Directory (AD). AD doesn’t make things easy for users in the LDAP interface: its case sensitive, has everything in capitals, disallows anonymous searching (though users can bind anonymously and see,well, nothing) and has an interesting default layout (e.g. CN=Users instead of OU=Users). By default Joomla! 1.0.x doesn’t have the ability to log items which is a function of the system (e.g. there are very few functions that run purely in the ‘background’) which makes it hard to diagnose things that are going wrong. There is a small tool I use called JLogger which is basically a mambot API loader and a component to view the logs. Its pretty primitive and I haven’t ‘released’ it because it hasn’t had anywhere enough work done on it (it is available via Subversion, zip files together to create installable packages) but it was one of the first step towards diagnostic tools, and this is another step.
Recently I released JDiagnostic, a tech demo of a tool that I hope will evolve into a launching pad for a wide range of useful tools, tests and diagnostics. At present it solves the above stated problem: MSAD integration. Its a step by step wizard configurator for Active Directory, with tests along the way. At the end it configures the LDAP SSI and Joomla! LDAP mambots with as much details as it can (what you’ve supplied) leaving you hopefully with a consistent and working Active Directory setup, without the pain of having to read through logs to see what is happening.
You can check out JDiagnostic on the Pasamio’s Projects FRS page.
7 comments7 Comments so far
Leave a comment
Sam
I’ve unzippped the JDiagnostic package (jdiagnostic.zip) into my Joomla directory
How do I now get to the diagnostic admin page from within Joomla?
You need to install it as a component normally using the Joomla! component installer.
Hi Sam. Thanks I get it now, I was being a doughnut!
I have it installed now!
Today I unpublished/uninstalled 1.0.3 and installed your v 1.04 LDAP mambots
on joomla 1.0.12 and get the following messages on attempting to install
Upload mambot – Upload Failed
ERROR: Could not find a Joomla! XML setup file in the package.
[ Continue … ]
Upload mambot – Failed
Installation file not found:
..\www\joomla\media\install_469e8056e6c16\
[ Continue … ]
I’ve looked at the xml files in the installers and they look fine to me.
I’ve also repackaged the 1.0.4 installers as .tgz files in the same way as the 1.0.3 versions
but still get the warning messages
the 1.0.3 installers install as expected, the 1.0.4 installers give me the warnings
any thoughts…?
Sam
looks like this may be the fix:
replace the following two xml lines at the end of the joomla.ldap.xml file
with the following
Note the close “/>” at the end of the two
oops,
the xml in my post got cut out by the WordPress comment filters
The fix is posted on the joomlacode foums
http://joomlacode.org/gf/project/jauthtools/forum/?action=ForumBrowse&forum_id=78&_forum_action=ForumMessageBrowse&thread_id=6232
Hi Sam,
When i install your LDAP mambots i got an error in front end “LDAP Not Enabled – Please install LDAP in your PHP instance to continue.” what is this and how can i resolve this error.
any thoughts…?
You need to enable LDAP in your PHP instance, exactly as the comment says. If you go into your php.ini file under Windows, typically you can just uncomment the line with extension=php_ldap.dll or similar (don’t use Windows much), in Linux there might be a PHP LDAP module you need to install (the Debian package is php5-ldap or php4-ldap; similar exist on different Linux versions) and depending on what you’re using on Mac OS X will determine what you need to do there.