-   Linux - Networking (
-   -   ldap_bind: Can't contact LDAP server (-1) (

ramramu 01-06-2009 04:22 AM

ldap_bind: Can't contact LDAP server (-1)

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:// -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.


datopdog 01-06-2009 06:37 AM


ldapadd -H ldap:// -x -D "cn=Manager,dc=my-domain,dc=com" -W -f dev1.ldif

All times are GMT -5. The time now is 10:29 PM.