From: 389-users-bounces(a)lists.fedoraproject.org [mailto:389-users-
bounces(a)lists.fedoraproject.org] On Behalf Of Angel Bosch Mora
Sent: 24 November 2010 08:20
To: General discussion list for the 389 Directory server project.
Subject: Re: [389-users] get base dn from ldapsearch
----- Missatge original -----
> yes, you need to make a search like this :
> ldapsearch -x -h ldap-test.example.com
-b "" -s base namingContexts #
> extended LDIF # # LDAPv3 # base <> with scope baseObject # filter:
> (objectclass=*) # requesting: namingContexts #
> namingContexts: dc=example,dc=com
> namingContexts: o=netscaperoot
> # search result
> search: 2
> result: 0 Success
> # numResponses: 2
> # numEntries: 1
thx, i didn't know that option but i think is not what im looking for.
that command gives all root objects on server not the one configured in
client. i need a way to evaluate what's configured on client side.
Maybe I am understanding this wrong but could you not just check in the config what the
search base is set to on the client side? What is the problem you are trying to solve?
In order to protect our email recipients, Betfair Group use SkyScan from
MessageLabs to scan all Incoming and Outgoing mail for viruses.