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

Re: (&(objectClass=posixAccount)(uid=test)) filter doesn't work

You likely are not rebuilding indices have mucking with index settings.
See slapindex(8).

At 09:52 PM 2002-02-23, Denis Zhukov wrote:

> Holas.
>I'v searched mailing list archive and found _exactly_ the same report 
>(http://www.openldap.org/lists/openldap-bugs/200201/msg00094.html), but 
>couldn't find any solutions to solve this problem. I'll repeat, what's the 
>ldapsearch -D '' -x -LLL -b 'ou=People,o=URIIT,c=RU' -s sub
> returns no entries.
>ldapsearch -D '' -x -LLL -b 'ou=People,o=URIIT,c=RU' -s sub
>returns following entry:
>dn: uid=test,ou=People,o=URIIT, c=RU
>uid: test
>cn: test
>sn: test
>mail: test@uriit.ru
>mailRoutingAddress: test@uriit.ru
>mailHost: uriit.ru
>objectClass: mailRecipient
>objectClass: person
>objectClass: organizationalPerson
>objectClass: inetOrgPerson
>objectClass: account
>objectClass: posixAccount
>objectClass: top
>objectClass: kerberosSecurityObject
>objectClass: shadowAccount
>shadowLastChange: 11732
>shadowMax: 99999
>shadowWarning: 7
>krbName: test@URIIT.RU
>loginShell: /bin/bash
>uidNumber: 1005
>gidNumber: 1005
>homeDirectory: /home/test
>gecos: ,,,
> The problem is: why the first filter doesn't work? I use the latest 
>available version of OpenLDAP (2.0.23). Indexes are: 
>index cn,sn,uid pres,eq
>index objectClass eq,pres
>index default pres,eq
>Actually I tried all combinations of those above (commented some and watched 
>for results) but had no success. 
>If you have any idea what may be wrong please let me know.
>Thanks in advance.
>Denis Zhukov