Joomla OSX 10.6 and LDAP
Joomla allows you to use your Mac OSX Server 10.6 native Open Directory for authentication at joomla's front door. This is ideal because it gives the users of your school or company direct access through the front door. You will need to enable the standard joomla 1.5 ldap plugin, which came with the installation software. The trick is to use correct settings for the standard LDAP--if there is such a thing. At a minimum you will need to set: (Suppose my FQDN is myserver.mycompany.com)
Details : Public
host: myserver.mycompany.com
port 389
LDAPV3 YES
Negotiate TLS NO
Follow Referrals NO
Authorization method: Bind and Search
BASE DN dc=myserver,dc=mycompany,dc=com
Search String uid=[search]
Map: Full name cn
Map: E-mail mail
Map: User ID uid
Leave the other field blank for now.
====
In Work Group Manager create a test user with:
1) Only one short name. If you have multiple short names like "bill," try using "bill.list"' when testing the front door at joomla.
2) The user MUST HAVE an email address in WGM, accounts, user info. Joomla needs to get back at least one email otherwise the authentication will fail.
====
If you get that to work, you can reduce the search time by limting the ldap search.
Authorization method: Bind Directly as User.
User's DN: uid=[username],cn=users,dc=myserver,dc=mycompany,dc=com
====
If you want new users to be created in the ldap server, you will need to authorize to the LDAP directory with:
Connect username and password. I did not try this.
There is a way to map LDAP groups to the groups used by joomla. This would enable you to give say: author permission to a user directly from WGM. I have not tried that.
Last Updated (Tuesday, 17 August 2010 23:05)


