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


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...
ldap_url_parse(ldap:///)
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
if.ldif
Enter LDAP Password:
#ldap_bind: Can't contact LDAP server
   
Could it be because the default socket being used by another server?