[Bug 155947] Re: ldap config causes Ubuntu to hang at login

2008-04-21 Thread Jamie Strandboge
STATUS UPDATE: The ubuntu package does include 00boot_delays_h.patch which is the Debian patch for this issue. This seems to work for udev, but not for functions that call libc's initgroups(), which by definition will try to get all the groups a member belongs to, and if /etc/nsswitch.conf cont

[Bug 155947] Re: ldap config causes Ubuntu to hang at login

2008-04-21 Thread Andreas Hasenack
As expected, using a wired connection instead of wireless allows any user to login at the gdm prompt, local or ldap, because the network is up by then in this case. -- ldap config causes Ubuntu to hang at login https://bugs.launchpad.net/bugs/155947 You received this bug notification because you

[Bug 155947] Re: ldap config causes Ubuntu to hang at login

2008-04-21 Thread Andreas Hasenack
We really need to set this bind_policy to soft, or else the machine just won't boot. It stops at klogd. I just tried with hardy. So, after setting it to soft using a rescue disk, boot proceeded as normal. I didn't even touch the timeouts. Now, the ldap user obviously can't login yet in my scenario

[Bug 155947] Re: ldap config causes Ubuntu to hang at login

2008-04-21 Thread Jamie Strandboge
Thanks to Andreas for finding that changelog entry. I have linked this bug to the Debian bug. Please note that although the Debian bug is marked Fixed, there were several iterations of the fix until finally in 259-1 the initscript 'kluge' is removed. ** Changed in: libnss-ldap (Ubuntu) St

[Bug 155947] Re: ldap config causes Ubuntu to hang at login

2008-04-21 Thread Jamie Strandboge
** Bug watch added: Debian Bug tracker #375077 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375077 ** Also affects: libnss-ldap (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375077 Importance: Unknown Status: Unknown -- ldap config causes Ubuntu to hang at lo

[Bug 155947] Re: ldap config causes Ubuntu to hang at login

2008-04-21 Thread Jamie Strandboge
After seeing two machines experience these hangs, I was able to reproduce it on a clean hardy install: 1. install hardy (of course) 2. apt-get install ldap-auth-client 3. configure ldap to use (via debconf): ldap://127.0.0.1/ root requires a password: 'no' everything else defaults 4. configure /et

[Bug 155947] Re: ldap config causes Ubuntu to hang at login

2008-04-21 Thread Andreas Hasenack
I believe that "soft" is a better default for nss_ldap. FWIW, Mandriva has been using this patch for quite a while now: http://svn.mandriva.com/cgi-bin//viewvc.cgi/packages/cooker/nss_ldap/current/SOURCES/nss_ldap-250-bind_policy_default_soft.patch?revision=5975&view=markup However, I note that t

[Bug 155947] Re: ldap config causes Ubuntu to hang at login

2008-04-18 Thread Martin Emrich
Hi! This bug just bit me while upgrading from dapper to hardy. As I expected some rough things I took a full image of my production server (still running dapper now) and exercised the upgrade to hardy in a virtual machine. After upgrading to hardy, I had the problems described here. Setting bin

[Bug 155947] Re: ldap config causes Ubuntu to hang at login

2008-04-18 Thread Dustin Kirkland
I modified the title of this bug from "hang at reboot" to "hang at login". Hanging at boot is a little misleading, as a boot hang generally points to a kernel bug, which we are sure this is not. Rather, this bug manifests itself by prompting the user for login credentials, and then hanging becaus

[Bug 155947] Re: ldap config causes Ubuntu to hang at login

2008-04-18 Thread Dustin Kirkland
** Summary changed: - ldap config causes Ubuntu to hang at a reboot + ldap config causes Ubuntu to hang at login ** Description changed: Binary package hint: libnss-ldap When during the ldap configuration the passwd group and shadow fields of the nsswitch.conf file are changed to "fil