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

bind to Ldap server fails (ITS#965)

Full_Name: shivarp
Version: 2.0.7 Relese
OS: Linux 6.2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

When I run the slapd, I get the debug data as..

daemon_init: <null>
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
daemon: socket() failed errno=22 (Invalid argument)
daemon: initialized ldap:///
daemon_init: 1 listeners opened
slapd init: initiated server.  

Later, when I try to add entries using ldapadd, bind to server fails.

# ./ldapadd -D "cn+Manager, dc=easylots, dc=com" -W < myld
Enter LDAP Password:
#ldap_bind: Can't contact LDAP server
Could it be because the default socket being used by another server?