[Date Prev][Date Next]
Re: bind to Ldap server fails (ITS#965)
At 07:07 PM 1/15/01 +0000, email@example.com wrote:
>Version: 2.0.7 Relese
>OS: Linux 6.2
>Submission from: (NULL) (220.127.116.11)
>When I run the slapd, I get the debug data as..
>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?
The slapd warning is likely due to your system supporting IPv6
but not configured for IPv6. In general, this can be ignored.
Note that server did initialize one listener.
Try specifying "-h localhost" (while running the ldap command
on the same host as the slapd is running on).
I also suggest you post software use questions to the software
mailing list, http://www.openldap.org/lists/