libnss-ldap create troubles in gnome session when ldap server is unreacheable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm |
Expired
|
Medium
|
|||
eglibc (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gdm (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
libnss-ldap (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Binary package hint: libnss-ldap
System : Maverick RC
Steps to reproduce:
- Install libnss-ldap and set it up correctly
=> Gnome sessions should work normally for a local user
- Plug the computer in an other network or unplug it
=> the ldap server should be unreacheable
- Click on the full name of a local user in GDM
=> The password prompt doesn't appears immediately. This isn't the expected result
- Enter the password and login
=> Startup sound start about 15 seconds later. 20 seconds after logged in, the gnome-panel and the sound menu appears, but the sound is considered as mute an the sound menu doesn't appears when clicking on it.
Expected results:
- "getent passwd" may give a result immediately (the is a delay of 1 second)
- gdm should prompt for the password immediately
- the sound menu should work normally
Workaround: install libnss-ldapd that use nscd with some cache mechanisms that provide the expected results above.
Changed in gdm: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in gdm: | |
status: | New → Expired |
Thank you for reporting this bug and helping make Ubuntu better -- and thank you very much for the research on the workaround. I have added a GDM task, and opened a Gnome bug on for it (and linked it here). This does not sound as much as a libnss-ldap issue as a GDM issue.