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

Re: ldapdelete "ldap_bind: Invalid DN syntax (34)"

thx for the reply, Brian!

yes, you are right. Could you tell me why the following command is wrong?

ldapdelete "cn=Manager,dc=example,dc=com" -x -w secret
ldap_bind: Invalid DN syntax (34)
    additional info: invalid DN

Thanks a lot!

On Sun, Apr 15, 2012 at 6:20 PM, Brian Reichert <reichert@numachi.com> wrote:
On Sun, Apr 15, 2012 at 07:04:03PM -0700, Tianyin Xu wrote:
> Hi,
> Sorry for the newbie question, but I really cannot figure out the problem.
> I just follow the "A Quick-Start Guide", what I did is build a example.ldif
> as follows:

I may be misrading, but this invokation:

> ldapdelete -D "cn=Manager,dc=example,dc=com" -x -w secret
> but this time the client just hangs. I read the manuals and search on
> google but still does not have idea.

without the '-f' flag, expects a list of DNs from STDIN.  Were you suppying
a DN?

> Could anyone take a look and tell me why? Thanks a lot!
> -- Tianyin

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