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

Re: Getting the Root DSE

Try this search instead:

ldapsearch -h localhost -x -s base objectClass=* +

The "+" tells ldapsearch to retrieve all attributes, some of which might otherwise be hidden.


kk kk wrote:

I used this search query :
ldapsearch –h localhost -p 389 -xs base –b "" "(objectclass=*)"
inorder to get root DSE (directory service entry ) infomations held by my OpenLDAP server ,but the result has not any info about DSE.
the result is:
# filter: (objectclass=*)
# requesting: –h localhost –b (objectclass=*)
# search result
search: 2
result: 0 Success
How can I get the root DSE infomation?