[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#5708) nss-ldap not responding properly

Full_Name: Harpreet Singh Wadhwa
Version: 2.4.11
OS: Debian
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

Hi to all,
I don't know if this has been posted earlier as I was not able to find it in the

The issue is I have openldap working with PAM and NSS to do the authentication
stuff for courier services. But at times users are unable to log into their
accounts, restarting NSCD and SLAPD solves the problem but that too for a short

These are some details and errors which I have.


base dc=com
ldap_version 3
binddn uid=example,dc=com
bindpw secret
bind_policy soft


passwd: compat ldap
group:  compat ldap
shadow: compat ldap

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

And the errors which I get are -->

user.info: Sep 18 11:24:35 nscd: nss_ldap: reconnecting to LDAP server...
 user.err: Sep 18 11:24:35 nscd: nss_ldap: could not connect to any
 LDAP server as uid=example,dc=com - Can't contact LDAP server

And some time I get -->

local4.debug: Sep 23 11:21:40 slapd[8880]: conn=224 fd=20 closed (connection


local4.debug: Sep 23 11:15:21 slapd[8880]: connection_read(20): no connection!

Please respond to me.