[Date Prev][Date Next]
Re: ldapdelete "ldap_bind: Invalid DN syntax (34)"
On Sun, Apr 15, 2012 at 09:34:41PM -0700, Tianyin Xu wrote:
> thx for the reply, Brian!
> yes, you are right. Could you tell me why the following command is wrong?
Did you look at the manpage for ldapdelete? E.g.:
> ldapdelete "cn=Manager,dc=example,dc=com" -x -w secret
> ldap_bind: Invalid DN syntax (34)
> additional info: invalid DN
The DN you with to bind with needs to be specified with '-D', just
as your correct invocation does.
> Thanks a lot!
Brian Reichert <firstname.lastname@example.org>
BSD admin/developer at large