On Sun, Jan 11, 2004 at 03:21:10PM +0100, Casper Pedersen wrote:
It looks like there is a bug in the authentication mechanism.
I use (or should say try) LDAP for authentication, and it works just
fine with ssh, local login, but it fails with gdm.
/var/log/messages
Jan 11 15:11:04 tuxdsk2 gdm(pam_unix)[7693]: check pass; user unknown
Jan 11 15:11:04 tuxdsk2 gdm(pam_unix)[7693]: authentication failure;
logname= uid=0 euid=0 tty=:0 ruser= rhost=
Jan 11 15:11:04 tuxdsk2 gdm(pam_unix)[7693]: session opened for user
cpedersen by (uid=0)
Jan 11 15:11:07 tuxdsk2 gdm(pam_unix)[7693]: session closed for user
cpedersen
/etc/nsswitch.conf
passwd: files ldap
shadow: files ldap
group: files ldap
I'm not sure what happens, but it looks like gdm isn't able to login
with non-local users.
Any idea where to start looking?
It may be as simple as 'init 3; init 5' -- applications only read
nsswitch.conf once, so if you enabled LDAP after gdm started, it won't
re-read the configuration file.
HTH,
Nalin