[Date Prev][Date Next]
RE: ldapsearch not returning all entitites
have you made an index based on the uid attribute ?
> -----Message d'origine-----
> De : owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]De la part de Peter John
> Envoye : mardi 9 septembre 2003 14:32
> A : openldap-software@OpenLDAP.org
> Objet : ldapsearch not returning all entitites
> I'm having a very peculiar problem with ldapsearch
> in the openldap-2.0.27 package.
> The basic problem:
> * The following command returns an entity:
> ldapsearch 'uid=pram*' uid
> * The following command returns lots of entities, but not the
> pram entitity:
> ldapsearch 'uid=*' uid
> * The following command also returns no pram entity:
> ldapsearch -b 'ou=users,dc=mydomain,dc=org' 'objectclass=*'
> * The following command ALSO returns no pram entity (which is why
> I'm really
> frigtened, since this is how I do a lot of backup work on the database):
> ldapsearch 'objectclass=*'
> The pram account is identical to the other accounts in the
> system and I suspect that other accounts are getting missed with a uid=*
> search as well, but since I have over 5000 accounts, its hard to really
> tell which are getting hit and which missed.
> Very troubling,
> Peter John Hartman
Virus checked by G DATA AntiVirusKit
Version: AVK 12.0.559 from 03.09.2003
Virus news: www.antiviruslab.com