James Lertora wrote:
[root@jsl-lab bin]# ldapsearch -H ldap://192.168.1.111 -x -b dc=domain,dc=lan -D userldap-1 -W Enter LDAP Password: ldap_bind: Invalid DN syntax (34) additional info: invalid DN
"userldap-1" is not a DN.
[root@jsl-lab ~]# ldapsearch -H ldap://192.168.1.111 -x -b dc=domain,dc=lan -D cn=userldap-1,dc=domain,dc=lan -W Enter LDAP Password: ldap_bind: Invalid credentials (49)
Either entry cn=userldap-1,dc=domain,dc=lan does not exist or password is wrong.
http://www.openldap.org/faq/data/cache/231.html
Ciao, Michael.