Hi all,
I have a CentOS-5 workstation configured to retrieve user id information from LDAP server and password from another kerberos server.
If I setup a user entry on /etc/passwd file all works ok, user can logon on GDM and password is verifiyed via kerberos.
But If I use LDAP to retrieve user information, GDM doesn't works. On the other side, I can login on console using ldap for user information.
GDM returns this error on /var/log/secure:
Nov 5 13:45:40 deagol gdm[2484]: pam_unix(gdm:auth): check pass; user unknown Nov 5 13:45:40 deagol gdm[2484]: pam_unix(gdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= Nov 5 13:45:40 deagol gdm[2484]: pam_succeed_if(gdm:auth): error retrieving information about user testuser
And on /var/log/messages:
Nov 5 13:45:41 deagol gdm[2484]: Couldn't authenticate user
All other services that I use with ldap (ssh for example) works ok. Somebody knows where is the problem??
Many thanks.
On 05/11/2007, carlopmart carlopmart@gmail.com wrote:
All other services that I use with ldap (ssh for example) works ok. Somebody knows where is the problem??
You checked /etc/pam.d/gdm ?
Alvin Chang wrote:
On 05/11/2007, carlopmart carlopmart@gmail.com wrote:
All other services that I use with ldap (ssh for example) works ok. Somebody knows where is the problem??
You checked /etc/pam.d/gdm ?
Yes, i have changed account param to use pam_ldap.so without a result ...
On 05/11/2007, carlopmart carlopmart@gmail.com wrote:
Alvin Chang wrote:
On 05/11/2007, carlopmart carlopmart@gmail.com wrote:
All other services that I use with ldap (ssh for example) works ok. Somebody knows where is the problem??
You checked /etc/pam.d/gdm ?
Yes, i have changed account param to use pam_ldap.so without a result ...
Perhaps posting the whole /etc/pam.d/gdm might help...
Alvin Chang wrote:
On 05/11/2007, carlopmart carlopmart@gmail.com wrote:
Alvin Chang wrote:
On 05/11/2007, carlopmart carlopmart@gmail.com wrote:
All other services that I use with ldap (ssh for example) works ok. Somebody knows where is the problem??
You checked /etc/pam.d/gdm ?
Yes, i have changed account param to use pam_ldap.so without a result ...
Perhaps posting the whole /etc/pam.d/gdm might help...
Problem is solved: problem was ldap.conf on /etc/openldap. I don't know how, but gdm can not access to user repository.
Many thanks to all.