[Petter Reinholdtsen]
> Do you have any idea how I can track down this error?

I was able to trigger this issue while running nslcd -d in the
background.  Notice how I get 5 "Can't connect LDAP server' in a row
before getting a proper reply.  This was after leaving the test
environment in piece for a while based on the idea that the problem is
due to the server disconnected the connection after a while.

labslx01:/# getent passwd slxtest2
nslcd: DEBUG: connection from pid=30139 uid=0 gid=0
nslcd: DEBUG: nslcd_passwd_byname(slxtest2)
nslcd: DEBUG: myldap_search(base="dc=skolen,dc=local", 
filter="(&(objectClass=user)(sAMAccountName=slxtest2))")
nslcd: ldap_result() failed: Can't contact LDAP server
labslx01:/# getent passwd slxtest2
nslcd: DEBUG: connection from pid=30159 uid=0 gid=0
nslcd: DEBUG: nslcd_passwd_byname(slxtest2)
nslcd: DEBUG: myldap_search(base="dc=skolen,dc=local", 
filter="(&(objectClass=user)(sAMAccountName=slxtest2))")
nslcd: ldap_result() failed: Can't contact LDAP server
labslx01:/# getent passwd slxtest2
nslcd: DEBUG: connection from pid=30160 uid=0 gid=0
nslcd: DEBUG: nslcd_passwd_byname(slxtest2)
nslcd: DEBUG: myldap_search(base="dc=skolen,dc=local", 
filter="(&(objectClass=user)(sAMAccountName=slxtest2))")
nslcd: ldap_result() failed: Can't contact LDAP server
labslx01:/# getent passwd slxtest2
nslcd: DEBUG: connection from pid=30161 uid=0 gid=0
nslcd: DEBUG: nslcd_passwd_byname(slxtest2)
nslcd: DEBUG: myldap_search(base="dc=skolen,dc=local", 
filter="(&(objectClass=user)(sAMAccountName=slxtest2))")
nslcd: ldap_result() failed: Can't contact LDAP server
labslx01:/# getent passwd slxtest2
nslcd: DEBUG: connection from pid=30162 uid=0 gid=0
nslcd: DEBUG: nslcd_passwd_byname(slxtest2)
nslcd: DEBUG: myldap_search(base="dc=skolen,dc=local", 
filter="(&(objectClass=user)(sAMAccountName=slxtest2))")
nslcd: ldap_result() failed: Can't contact LDAP server
labslx01:/# getent passwd slxtest2
nslcd: DEBUG: connection from pid=30163 uid=0 gid=0
nslcd: DEBUG: nslcd_passwd_byname(slxtest2)
nslcd: DEBUG: myldap_search(base="dc=skolen,dc=local", 
filter="(&(objectClass=user)(sAMAccountName=slxtest2))")
nslcd: ldap_search_ext() failed: Can't contact LDAP server
nslcd: no available LDAP server found, sleeping 1 seconds
nslcd: DEBUG: simple bind to ldap://labdc01/ as cn=Skolelinux ADUser,ou=Service 
Accounts,dc=skolen,dc=local
nslcd: connected to LDAP server ldap://labdc01/
slxtest2:*:10001:10001:Skolelinux Test 
2:/skole/tjener/home0/adusers/slxtest2:/bin/bash
labslx01:/#

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to