well i cheated (lazy :-) ) and edited the index configuration using
the Fedora console, which regenerated the indexes.
You can check - look in
/opt/fedora-ds/slapd-instancename/db/userRoot
and see if you have a gidNumber.db4 file.
Or so i was lead to believe it would based on the documentation.
should i be forcing it by runing the perl scripts instead?
----- Original Message ----
From: Rich Megginson <rmeggins(a)redhat.com>
To: General discussion list for the Fedora Directory server project.
<fedora-directory-users(a)redhat.com>
Sent: Friday, December 14, 2007 8:08:24 AM
Subject: Re: [Fedora-directory-users] problem with unique search on
gidNumber
Jason Beavers wrote:
> I'm trying to get unique searches working for "gidNumber." When
> trying a search as below:
>
> ./ldapsearch -b "dc=mydomain,dc=int"
> "(&(objectClass=groupOfNames)(gidNumber=205)(ou:dn:=Groups))" cn
gidNumber
>
>
> I'm getting results back with ALL entries with a gidNumber attribute
> set, instead of just the one entry that matches "gidNumber=205."
> I've tried adding the gidNumber attribute to the indexes,
What steps did you take? You created the index configuration? Then ran
db2index to generate the index files?
> however i cannot seem to get it to respond with a unique result.
Have you tried just "(gidNumber=205)" - does that work?
>
> What am I missing?
>
> Thanks in advance.
>
> -j
>
> ------------------------------------------------------------------------
> Never miss a thing. Make Yahoo your homepage.
> <
http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
> ------------------------------------------------------------------------
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users(a)redhat.com
<mailto:Fedora-directory-users@redhat.com>
>
https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
------------------------------------------------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
<
http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch...
------------------------------------------------------------------------
--
Fedora-directory-users mailing list
Fedora-directory-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users