[Date Prev][Date Next]
Dieter Kluenter writes:
>"Ron Wahler" <email@example.com> writes:
>> Can you default the ldapsearch to start at the basedn without knowing
>> What the basedn is?
> put a BASE directive in a ~/.ldaprc or ~/ldaprc
Or if he is wondering how to discover the top base DN a particular
server will let him search from if he does not know that:
Read the namingContexts attribute in the server's root DSE. E.g.
ldapsearch -LLL -x -h ldaphost -s base -b "" "(objectClass=*)" namingContexts