Hi all, I have problems on one CentOS 4.6 with slapd. Namely, after trying to start it (via /etc/init.d/ldap start) it waits for very long in configuration check. Interestingly, when I try to start it manually, but without "-u ldap" option it starts immediately. What puzzles me more is the use of NETLINK socket when started with -u option that doesn't appear in strace output without using the option. I did grep through the source of the openldap for NETLINK but nothing was found. Can someone shed some lite on what's happening? Thanks, Stjepan
Hi Are you using nss_ldap on that server? have you modified /etc/nsswitch.conf? If that's the case try adding the following line to /etc/ldap.conf nss_initgroups_ignoreusers root,ldap Best. --- El mar 27-may-08, Stjepan Gros <stjepan.gros at gmail.com> escribi?: De:: Stjepan Gros <stjepan.gros at gmail.com> Asunto: [CentOS] Strange slapd behavior... A: centos at centos.org Fecha: martes, 27 mayo, 2008, 10:56 am Hi all, I have problems on one CentOS 4.6 with slapd. Namely, after trying to start it (via /etc/init.d/ldap start) it waits for very long in configuration check. Interestingly, when I try to start it manually, but without "-u ldap" option it starts immediately. What puzzles me more is the use of NETLINK socket when started with -u option that doesn't appear in strace output without using the option. I did grep through the source of the openldap for NETLINK but nothing was found. Can someone shed some lite on what's happening? Thanks, Stjepan _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos ____________________________________________________________________________________ Yahoo! Deportes Beta ?No te pierdas lo ?ltimo sobre el torneo clausura 2008! Ent?rate aqu? http://deportes.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080527/068b2f68/attachment-0005.html>
On Tue, May 27, 2008 at 7:50 PM, Ramon Nieto <rnietoz at yahoo.com.mx> wrote:> Hi > > Are you using nss_ldap on that server? have you modified /etc/nsswitch.conf? > If that's the case try adding the following line to /etc/ldap.conf > > nss_initgroups_ignoreusers root,ldapThanks, that solved all the problems! Stjepan> Best. > > --- El mar 27-may-08, Stjepan Gros <stjepan.gros at gmail.com> escribi?: > > De:: Stjepan Gros <stjepan.gros at gmail.com> > Asunto: [CentOS] Strange slapd behavior... > A: centos at centos.org > Fecha: martes, 27 mayo, 2008, 10:56 am > > Hi all, > > I have problems on one CentOS 4.6 with slapd. Namely, after trying to > start it (via /etc/init.d/ldap start) it waits for > very long in > configuration check. Interestingly, when I try to start it > manually, > but without "-u ldap" option it starts immediately. > > What puzzles me more is the use of NETLINK socket when started with -u > option that doesn't appear in strace output without using the option. > > I did grep through the source of the openldap for NETLINK but nothing was > found. > > Can someone shed some lite on what's happening? > > Thanks, > Stjepan > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > > ________________________________ > Yahoo! Deportes Beta > ?No te pierdas lo ?ltimo sobre el torneo clausura 2008! > Ent?rate aqu? http://deportes.yahoo.com > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >