|
Re: nsswitch.conf issues with LDAP Auth?: msg#00014ldap.padl.nss
On Tue, 12 Sep 2006, Daniel Cross wrote: Hello all, When a user logs in, the function initgroups() is called by the login process. This function tries to enumerate *all* the groups a user is a member of. So, it will always contact LDAP if you have "ldap" listed in nsswitch.conf under "group". However, in nss-ldap v245, the following was added to address this: * add nss_initgroups_ignoreusers parameter to ldap.conf, returns NOTFOUND if nss_ldap's initgroups() is called for users (comma separated) This should finally solve the local logon-as-root-when-directory- is-down problem. Try putting "nss_initgroups_ignoreusers root" in /etc/ldap.conf. It looks like you have 2 options: 1. Remove "ldap" from the "group" entry in nsswitch.conf. 2. Upgrade to nss-ldap v245 and use the nss_initgroups_ignoreusers option. Andy |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: nsswitch.conf issues with LDAP Auth?: 00014, Josh Miller |
|---|---|
| Next by Date: | Re: nsswitch.conf issues with LDAP Auth?: 00014, Daniel Cross |
| Previous by Thread: | Re: nsswitch.conf issues with LDAP Auth?i: 00014, Josh Miller |
| Next by Thread: | Re: nsswitch.conf issues with LDAP Auth?: 00014, Daniel Cross |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | Mail Home | sitemap | FAQ | advertise |