Bug#248271: Bug #248271: nscd freezes when used with libnss-ldap on busy server.
Followup-For: Bug #248271
Package: nscd
Status: unknownVersion: unknown>Tests on another test-server have shown that
>it can happen (randomly) when postfix has to deliver mail
>to aliases with many (more than 100) local users.
>
>The server then hangs (no connection possible even locally)
>but, if we were already logged, we can see the following behaviour:
>
have you indexed the database ?
index default sub
index uid,mail eq
index cn,sn,givenName eq,sub
index objectClass pres,eq
index uidNumber,gidNumber,memberuid eq
and slapindex
And filtered ldap queries ? eg. :
pam_login_attribute uid
pam_filter objectclass=posixAccount
nss_base_passwd ou=People,dc=server,dc=maison
nss_base_shadow ou=People,dc=server,dc=maison
nss_base_group ou=Group,dc=server,dc=maison
, in /etc/ldap/ldap.conf)
I can even use john the ripper now.
Btw i d be glad if nscd or slapd could have a workaround to avoid this "infinite" loop ... maybe a default safe mimit setting on simultaneous ldap queries ?
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro
Versions of packages nscd depends on:
ii libc6 2.3.2.ds1-12 GNU C Library: Shared libraries an
-- no debconf information
Reply to: