[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) (61.95.198.26)


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

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
time.

These are some details and errors which I have.

##libnss-ldap.conf

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


##nsswitch.conf

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
lost)

or

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


Please respond to me.

Regards.