[Bug 366560] New: nss_ldap segfault
https://bugzilla.novell.com/show_bug.cgi?id=366560 Summary: nss_ldap segfault Product: openSUSE 11.0 Version: Alpha 2 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Network AssignedTo: rhafer@novell.com ReportedBy: mc@novell.com QAContact: qa@suse.de Found By: --- nss_ldap seems to have some problems with groups: $> # getent -s ldap group Speicherzugriffsfehler (core dumped) If there is a group in ldap specified or not, the problem exists in both cases. A backtrace will be attached. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=366560 User mc@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=366560#c1 --- Comment #1 from Michael Calmer <mc@novell.com> 2008-03-03 06:38:30 MST --- Created an attachment (id=198248) --> (https://bugzilla.novell.com/attachment.cgi?id=198248) backtrace nss_ldap -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=366560 User rhafer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=366560#c2 Ralf Haferkamp <rhafer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Ralf Haferkamp <rhafer@novell.com> 2008-03-03 07:31:48 MST --- looks like a recursion in nss_ldap. Might be: http://bugzilla.padl.com/show_bug.cgi?id=340 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=366560 User rhafer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=366560#c3 --- Comment #3 from Ralf Haferkamp <rhafer@novell.com> 2008-03-03 10:07:00 MST --- Downgrading to "normal". As this only happens with "getent -s ldap" or "host: files ldap" in /etc/nsswitch.conf. Which is broken by design anyways. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=366560 Ralf Haferkamp <rhafer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Critical |Normal -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=366560 User rhafer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=366560#c4 Ralf Haferkamp <rhafer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX --- Comment #4 from Ralf Haferkamp <rhafer@novell.com> 2008-03-04 07:01:30 MST --- It seems that upstream has currently no plans to fix this issue. And as the segfault only occurs in broken configs I don't think it's worth include the patch in our package. Broken config here means: 1. nss_ldap is configured to be used for hostname lookups and the "uri" directive of ldap.conf contains a hostname with is not resolvable via nss_files (/etc/hosts). Therefore nss_ldap tries to contact the ldap server to resolve the hostname of the ldap server (recursion). 2. in the "getent -s ldap group" case the NSS config is basically redefined so that every database just contains "ldap" that means: passwd: ldap group: ldap host: ldap .... This can't work for the reason explained above. To make the getent call succeed it can e.g. be called with the following args: getent -s "group: ldap" ldap Closing as wontfix. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com