Ldap authentication
RedhatTux
Joined: 2009-09-22
Posts: 10 |
Posted: Thu, 2009-10-08 12:01 |
I have been trying to get ldap working on my gallery. I have been following the instructions in http://codex.gallery2.org/Ldap for Gallery 2.3 Sadly it keeps saying my username/password are incorrect. It is connecting to the ldap server, but I can't find anything obviously wrong there. Is there any other way I can set ldap up? I notice there is a module on svn, but there's not a lot of info on that? |
|
Posts: 10
It's partially working now. It logs you in and creates a user account on gallery. When you logout and try to log back in again it won't let you. Once you remove the account created on gallery you can log back in again.
I suppose it must be creating a local account and when you try to log in again, it trys to go directly into the local account. Not sure how to fix this at all. Any suggestions?
Posts: 2
I have the same error when I try the tutoriel on http://codex.gallery2.org/Ldap for Gallery 2.3
The Login is OK but the table USER is not correctly written.
My LDAP Structure is "inetOrgPerson" and with the debug option, i have this :
The SQL Statement doesn't seems to insert the username in the field g_userName
It's seems to be into the handleRequest function in UserLogin.inc :
The $username doesn't exist ...
Can you help me ?