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

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!
> T

Brian Reichert				<reichert@numachi.com>
BSD admin/developer at large