that search returns ALL results with with ANY gidNumber value set, not just those with "205"
----- Original Message ---- From: Rich Megginson rmeggins@redhat.com To: General discussion list for the Fedora Directory server project. fedora-directory-users@redhat.com Sent: Friday, December 14, 2007 10:57:40 AM Subject: Re: [Fedora-directory-users] problem with unique search on gidNumber
Jason Beavers wrote:
Yep, "gidnumber.db4" is there.
So what does a search for "(gidNumber=205)" return?
----- Original Message ---- From: Rich Megginson rmeggins@redhat.com To: General discussion list for the Fedora Directory server project. fedora-directory-users@redhat.com Sent: Friday, December 14, 2007 10:19:54 AM Subject: Re: [Fedora-directory-users] problem with unique search on gidNumber
Jason Beavers wrote:
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@redhat.com
To: General discussion list for the Fedora Directory server
project.
<fedora-directory-users@redhat.com
mailto:fedora-directory-users@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@redhat.com
mailto:Fedora-directory-users@redhat.com
<mailto:Fedora-directory-users@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.
------------------------------------------------------------------------
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com
mailto:Fedora-directory-users@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users
------------------------------------------------------------------------
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@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
389-users@lists.fedoraproject.org