ldap problem nss_ldap

Luca Ferrari fluca1978 at infinito.it
Tue Feb 26 15:42:45 UTC 2008


Hi all,
in my ldap server I've got the following messages:

root at sede:/etc/ldap# tail /var/log/auth.log
Feb 26 16:18:18 sede slapd[18303]: nss_ldap: failed to bind to LDAP server 
ldap://localhost:389: Can't contact LDAP server
Feb 26 16:18:18 sede slapd[18303]: nss_ldap: could not connect to any LDAP 
server as (null) - Can't contact LDAP server
Feb 26 16:18:18 sede slapd[18303]: nss_ldap: failed to bind to LDAP server 
ldap://127.0.0.1:389: Can't contact LDAP server
Feb 26 16:18:18 sede slapd[18303]: nss_ldap: could not connect to any LDAP 
server as (null) - Can't contact LDAP server
Feb 26 16:18:18 sede slapd[18303]: nss_ldap: failed to bind to LDAP server 
ldap://192.168.1.2:389: Can't contact LDAP server
Feb 26 16:18:18 sede slapd[18303]: nss_ldap: could not search LDAP server - 
Server is unavailable

and I suspect this is causing problems to my authentication system. I know 
that the ldap server is running fine, since other machines and services can 
exploit the accounts, but the server itself seems cannot.

My /etc/ldap/ldap.conf file contains:

BASE    dc=myDomain,dc=com
URI     ldap://localhost:389 ldap://127.0.0.1:389 ldap://192.168.1.2:389
ROOTBINDDN cn=admin,dc=myDomain,dc=com
BIND_POLICY soft

I'm using ubuntu 7.1. Is there something I'm missing?

Thanks,
Luca




More information about the ubuntu-users mailing list