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

Re: ldapbin : Invalid DN Syntax (34)



Joseph vasanth writes:
> ldapsearch -x -h 10.127.1.146 -b "dc=primecorp,dc=com" -D 'admin@primecorp.com' -W "cn=admin"
> Enter LDAP Password:
> ldap_bind: Invalid DN syntax (34)
> additional info: invalid DN

The -D option (for the Simple Bind operation) takes an identity in DN
format, e.g. 'cn=Manager,dc=primecorp,dc=com'.  'admin@primecorp.com' is
not a DN.