On 07/29/2014 03:51 PM, RonHancock wrote:
I am having issues getting the ldap to work as well with the same stand alone install with Windows. I know I have all the settings because we use it on another system, but I am just unsure how they should be formatted. I need to do the bind account and have that info listed but still it isn't working. Here is what I have. My inputs are in bold. I also have had no luck turning on logging for the ldap. I tried Lilith, but as soon as I attempt to log into the system, it disconnects. Any help would be greatly appreciated.
[...]
#-# LDAP login, empty = anonymous access, otherwise specify full dn #-# {0} is replaced with the user name, {1} with the password xwiki.authentication.ldap.bind_DN=cn=*(the bind account username only here)* xwiki.authentication.ldap.bind_pass=*(bind account password only)*
With AD I once had success with only giving the user name without the cn=prefix, e.g. xwiki.authentication.ldap.bind_DN=*(the bind account username only here)* (even though the config says it want the DN, but AD seems to be happier if it gets the login) If you have something like OpenLDAP instead, you need to give the full DN instead (I think), e.g. something like: xwiki.authentication.ldap.bind_DN=CN=admin,OU=_USERS,DC=na,DC=nice,DC=com to make it work. I am somewhat guessing here as it is quite some time since I have configured some ldap auth, but I hope it is worth a try. Clemens