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

Re: a small problem.



Try 

ldap://127.0.0.1:399 -f /etc/openldap/slapd-2.conf -v -x -D

The 0.0.0.0 address unless I'm mistaken should only work when binding
and tells the server to bind to all available IPs on the machine

Lee Jensen

On Thu, 2005-06-09 at 17:39 +0200, Ivan.Garcia@leroymerlin.es wrote:
> Hi all again.
> i have a openldap with 2 instances up, one in port 389 and another in 399
> with slapd.conf different. But when i want to load a ldif and i put the
> password i get an error like:
> 
> ldapadd -h ldap://0.0.0.0:399 -f /etc/openldap/slapd-2.conf -v -x -D
> "cn=Manager,o=corp.guers.com" -W < /root/DIT.ldif
> ldap_init( ldap://0.0.0.0:399, 0 )
> Enter LDAP Password:
> ldap_bind: Can't contact LDAP server (81)
> 
> the passwd is written in slapd.conf of the second instance. I put it and
> get the above error.
> 
> Any idea?
> 
> best regards