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

Re: ldapadd/ldapsearch



If I use

ldapsearch -x -b 'cn=test,dc=domain,dc=com' -s base

then I get that specific entry but

ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts

just gives me

dn:
namingContexts: dc=domain,dc=com

Regards


----- Original Message -----
From: "Carlos Bote" <cbote@prisacom.com>
To: "'Jim Hud'" <jdhz@btinternet.com>; <openldap-software@OpenLDAP.org>
Sent: Wednesday, October 04, 2000 2:33 PM
Subject: RE: ldapadd/ldapsearch



Hi Jim

Try using "ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts


> -----Mensaje original-----
> De: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]En nombre de Jim Hud
> Enviado el: miércoles, 04 de octubre de 2000 17:22
> Para: openldap-software@OpenLDAP.org
> Asunto: ldapadd/ldapsearch
>
>
> I am running 2.0.4 on Suse 6.4.  I have added some simple
> test directory
> data using ldapadd.  slapcat retrieves the data OK but when I
> try to use
> ldapsearch it validates the request but responds "result: 32 no such
> object".
>
> What could I be doing wrong?
>
> Thanks
>
>
>