Experimental LDAP Authentication support
It is possible to authenticate your users against an LDAP database instead the internal rapla-users. Assuming you have your users stored in a LDAP Database in the following format
# Define a user entry for Janet Jones dn: uid=jjones,ou=people,dc=mycompany,dc=com objectClass: inetOrgPerson uid: jjones sn: jones cn: janet jones mail: j.jones@mycompany.com userPassword: janet
you need to add the following configuration entry in plugin options, assuming a LDAP-Server is running on the same host ({{localhost}}) and the connection-password is {{secret}}. Go to the admin/preferences/plugin and enable the LDAP Plugin with the following entries:
connectionName: cn=Manager,dc=mycompany,dc=com
connectionPassword: secret
contextFactory: com.sun.jndi.ldap.LdapCtxFactory
connectionURL: ldap://localhost:389
userPassword: userPassword
userMail: mail
userCn: cn
userSearch: (uid={0})
userBase: ou=people,dc=mycompany,dc=com
You can test the connection by pressing the "test access" button. You will be prompted for a login. Please enter the login information of a user that is in the LDAP directory and should be able to login into Rapla. If the test succeeds you can enable the plugin and restart Rapla.
For a full description see http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#JNDIRealm
![(please configure the [header_logo] section in trac.ini)](/chrome/site/rapla.jpg)