The patch above didn't go smoothly, and I can't justify working more on
it during work time. :)

But I've found a workaround:
If you add 'auth sufficient pam_ldap.so' to the BEGINNING on 
/etc/pam.d/gnome-screensaver, gnome-screensaver unlocks properly for LDAP 
users.  BUT, there's an odd effect on local users.  If you're logged in as a 
local user and screen locks, you have to enter your password twice*.  The first 
time, it'll go to 'checking...' but it doesn't gray-out the text box.  Type you 
password in again and hit enter and the screen will unlock.  Note that I'm not 
expert in PAM, but I don't think this will leave gaping holes in your system.

* I forgot to test if you could just hit return or enter garbage for the
first entry, I suspect you can.

-- 
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
Desktop Bugs, which is the registrant for gnome-screensaver.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to