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

Re: ldapsearch doesn't show all the entries



Probably a corrupted index.
Try to run slapindex (stop slapd before)

Ottavio Campana disse:
> Yesterday I noticed that in an ldap tree (v. 2.1.30) where I store the
> accounts of the users of a school I cannot see all the account correctly.
>
> I've got some posixAccount that don't appear when I run
>
> ldapsearch -x ojbectclass=posixAccount
>
> For example, I've got an account for user costa and if I run
>
> ldapsearch -x uid=costa
>
> I cannot see it, but running
>
> ldapsearch -x uid=costa,ou=Users,dc=lampertico,dc=vi,dc=it
>
> works.
>
> I cannot understand why it happens. With other user it works with both
> searches.
>
> Do you have got any hint?
>
> Thank you
>
> --
> Non c'è più forza nella normalità, c'è solo monotonia.
>


-- 
Ing. Luca Scamoni - IT Senior Consultant
e-mail: luca.scamoni@sys-net.it
mobile: +393471014425


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497