[Bug 375669] [NEW] auth.log boot cron[5014]: nss_ldap: could not search LDAP server - Server is unavailable

jablko ms419 at freezone.co.uk
Tue May 12 21:41:10 BST 2009


Public bug reported:

Binary package hint: libnss-ldap

If I create a crontab for an LDAP user, I consistently see these
messages in auth.log when I boot,

[...]
May 12 12:55:39 juno cron[5014]: nss_ldap: could not connect to any LDAP server as cn=admin,dc=artefactual,dc=com - Can't contact LDAP server
May 12 12:55:40 juno cron[5014]: nss_ldap: failed to bind to LDAP server ldap://ldap.artefactual.com: Can't contact LDAP server
May 12 12:55:40 juno cron[5014]: nss_ldap: reconnecting to LDAP server...
May 12 12:55:40 juno cron[5014]: nss_ldap: could not connect to any LDAP server as cn=admin,dc=artefactual,dc=com - Can't contact LDAP server
May 12 12:55:40 juno cron[5014]: nss_ldap: failed to bind to LDAP server ldap://ldap.artefactual.com: Can't contact LDAP server
May 12 12:55:40 juno cron[5014]: nss_ldap: reconnecting to LDAP server (sleeping 1 seconds)...
May 12 12:55:40 juno cron[5014]: nss_ldap: could not connect to any LDAP server as cn=admin,dc=artefactual,dc=com - Can't contact LDAP server
May 12 12:55:41 juno cron[5014]: nss_ldap: failed to bind to LDAP server ldap://ldap.artefactual.com: Can't contact LDAP server
May 12 12:55:41 juno cron[5014]: nss_ldap: could not search LDAP server - Server is unavailable
[...]

- and the LDAP user's crontab doesn't run, though other crontabs do.

If I remove the LDAP user's crontab and reboot, the messages aren't
generated.

The LDAP server is on the LAN and is available - for example, after
boot, gdmgreeter lists LDAP users.

The machine with the crontab has this line in /etc/hosts,

[...]
192.168.1.2     amos.artefactual.com ldap.artefactual.com
[...]

Both machines are Dell Optiplex 320 running Intrepid Ibex. The LDAP
server is running slapd 2.4.11-0ubuntu6.1

** Affects: libnss-ldap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
auth.log boot cron[5014]: nss_ldap: could not search LDAP server - Server is unavailable
https://bugs.launchpad.net/bugs/375669
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in ubuntu.



More information about the Ubuntu-server-bugs mailing list