Re: [389-users] get base dn from ldapsearch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: 389-users-bounces@xxxxxxxxxxxxxxxxxxxxxxx [mailto:389-users-
> bounces@xxxxxxxxxxxxxxxxxxxxxxx] 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 -----
> > Hi,
> >
> > 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 #
> >
> > #
> > dn:
> > 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.
> 
> 
> regards,
> 
> abosch

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?

Regards

________________________________________________________________________
In order to protect our email recipients, Betfair Group use SkyScan from 
MessageLabs to scan all Incoming and Outgoing mail for viruses.

________________________________________________________________________
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users


[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux