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

Re: a small problem.



On Thu, Jun 09, 2005 at 05:39:26PM +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?

Probably you don't have an LDAP server running on IP address 0.0.0.0. Use a
real IP address or hostname instead, or 127.0.0.1 for localhost.