I am having a problem like this with gnome-screensaver and libnss-mysql-
bg under Hardy Heron, but I am not sure if it is the same problem.

Users with an entry in /etc/shadow can unlock just fine, but any user
who is authenticated via libnssmysql fails. However they can log in and
still have thier session back if they pick switch user and login with
the same username and password.

My /var/log/auth.log reports this when I try to unlock gnome-screensaver
with libnss-mysql-bg:

Nov 13 17:09:38 p70 unix_chkpwd[6072]: check pass; user unknown
Nov 13 17:09:38 p70 unix_chkpwd[6072]: password check failed for user (sa)
Nov 13 17:09:38 p70 gnome-screensaver-dialog: pam_unix(gnome-screensaver:auth): 
authentication failure; logname= uid=3282 euid=3282 tty=:0.0 ruser= rhost=  
user=sa

some file contents and permissions:

[EMAIL PROTECTED]:/etc/pam.d# cat gnome-screensaver
@include common-auth
auth optional pam_gnome_keyring.so

[EMAIL PROTECTED]:/etc/pam.d# ls -Fal 
/usr/lib/gnome-screensaver/gnome-screensaver-dialog
-rwsr-sr-x 1 root root 56464 2008-11-13 15:33 
/usr/lib/gnome-screensaver/gnome-screensaver-dialog*

[EMAIL PROTECTED]:/etc/pam.d# ls -Fald /sbin/unix_chkpwd
-rwxr-sr-x 1 root shadow 19584 2008-05-16 08:21 /sbin/unix_chkpwd*

[EMAIL PROTECTED]:/etc/pam.d# ls -Fald /etc/shadow 
-rw-r----- 1 root shadow 993 2008-09-19 13:49 /etc/shadow

[EMAIL PROTECTED]:/etc/pam.d# ls -Fald /etc/libnss-mysql.cfg 
-rw-r--r-- 1 root root 2386 2006-09-20 10:47 /etc/libnss-mysql.cfg

[EMAIL PROTECTED]:/etc/pam.d# ls -Fald /etc/libnss-mysql-root.cfg
-rw-r----- 1 root shadow 77 2006-09-13 14:22 /etc/libnss-mysql-root.cfg

-- 
Unable to unlock screen when using ldap
https://bugs.launchpad.net/bugs/64301
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to