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