Hey there,
i’ve installed the standalone version of Razuna on a Debian machine. I tried to set up the LDAP authentication against an OpenLDAP server running on the same machine. The users show up in the import screen, i have imported them and they show up in user management. But trying to log in with an ldap user I’ll get this error below the login form
"We are sorry but we could not log you in. Please check your credentials and try again.
Error was: javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]"
I tried to search the Razuna logs in the tomcat directory, but there are no entries about the login failure. It’s obvious that something with the credentials isn’t right. I’m storing the user passwords in the attribute ‘userPassword’ and they are SSHA hashed. Is there maybe some incompatability within razuna, that I have to store the passwords in another hash or attribute? The directory itself is working like a charm on webmail, owncloud and stuff like that. I’m also a bit confused with the ‘LDAP User DN Sample’ option. Does this mean that razuna tries to bind against the ldap server with the credentials of the user that wants to log in? Or is the bind done with the credentials of the ldap admin user name and pasword?
Hope you are able to help me with this problem.
Thank you!