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

Re: err=32 No Such Object

Craig White writes:
> # ldapsearch -x -h localhost -D 'cn=root,dc=azapple,dc=com' -W
> '(objectclass=*)'
> (...)
> result: 32 No such object

> #ldapsearch -x -h localhost -b 'dc=azapple,dc=com' '(objectclass=*)'
> works just fine

> why would it work with anonymous bind but not with rootbinddn?

Because you omitted "-b 'dc=azapple,dc=com'" when you searched as root.
(The -D argument does not affect which base DN you search from.)