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

Re: 34 Invalid DN syntax



Juan Carlos Sanchez Recio writes:
> Buenas,

That's one language I don't understand, but:

> [root@kurling openldap]# ldapsearch -x -b'' -s base '(objectclass=*)'
> namingContexts

ldapsearch can't tell the difference between -b and -b'', it receives
both as one "-b" argument.  So it takes "-s" to be the base DN.
Use ... -b '' -s base ...

> # base <-s> with scope sub
         ^^^^

-- 
Hallvard