When I add suid root to unix_chkpwd binary: chmod u+s /sbin/unix_chkpwd
then everything works as expected: both lightdm and unity lockscreen are accepting my password. Without suid it seems that call (with correct username) to getspnam in function get_account_info in file passverify.c in pam/modules/pam_unix returns NULL. I don't understand this behaviour. I wrote a simple c program that calls getspnam and it works as expected when called from unprivileged user. When unix_chkpwd (both suid root and not) is called by lightdm, then it always works good. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314095 Title: Unity Lockscreen in 14.04 can't unlock when using LDAP account To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1314095/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
