ldap_bind: Can't contact LDAP server (-1)
Hi,
I installed openldap-2.2.29-db-4.3.29-openssl-0.9.8a-win32_Setup.exe on my XP machine and I started it by using follwing command successfully >slapd -d 1 and next I added entries by using the command >ldapadd -x -D "cn=Manager,dc=my-domain,dc=com" -W -f setup.ldif But when I try to add the entries using the command >ldapadd -H ldap://myhost.my-domain.com -x -D "cn=Manager,dc=my-domain,dc=com" -W -f dev1.ldif I am getting the error:ldap_bind: Can't contact LDAP server (-1) So,can any one help in resolving the error. Thanks, |
Try
Code:
ldapadd -H ldap://127.0.0.1 -x -D "cn=Manager,dc=my-domain,dc=com" -W -f dev1.ldif |
All times are GMT -5. The time now is 12:28 PM. |