<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">All,<br><br>Any thoughts about this?  I know i'm missing something but so far i'm still stumped.<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Jason Beavers <beavrz1@yahoo.com><br>To: General discussion list for the Fedora Directory server project. <fedora-directory-users@redhat.com><br>Sent: Wednesday, December 19, 2007 5:22:10 PM<br>Subject: Re: [Fedora-directory-users] problem with unique search on gidNumber<br><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">that search returns ALL results with with ANY gidNumber value set, not just those with "205"<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Rich Megginson <rmeggins@redhat.com><br>To: General discussion list for the Fedora Directory server project. <fedora-directory-users@redhat.com><br>Sent: Friday, December 14, 2007 10:57:40 AM<br>Subject: Re: [Fedora-directory-users] problem with unique search on gidNumber<br><br>
Jason Beavers wrote:<br>> Yep, "gidnumber.db4" is there. <br>So what does a search for "(gidNumber=205)" return?<br>><br>> ----- Original Message ----<br>> From: Rich Megginson <<a rel="nofollow" ymailto="mailto:rmeggins@redhat.com" target="_blank" href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a>><br>> To: General discussion list for the Fedora Directory server project. <br>> <<a rel="nofollow" ymailto="mailto:fedora-directory-users@redhat.com" target="_blank" href="mailto:fedora-directory-users@redhat.com">fedora-directory-users@redhat.com</a>><br>> Sent: Friday, December 14, 2007 10:19:54 AM<br>> Subject: Re: [Fedora-directory-users] problem with unique search on <br>> gidNumber<br>><br>> Jason Beavers wrote:<br>> > well i cheated (lazy :-) ) and edited the index configuration using<br>> > the Fedora console, which regenerated the indexes.<br>> You can check - look in
 /opt/fedora-ds/slapd-instancename/db/userRoot<br>> and see if you have a
 gidNumber.db4 file.<br>> > Or so i was lead to believe it would based on the documentation. <br>> > should i be forcing it by runing the perl scripts instead?<br>> ><br>> > ----- Original Message ----<br>> > From: Rich Megginson <<a rel="nofollow" ymailto="mailto:rmeggins@redhat.com" target="_blank" href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a>
 <mailto:<a rel="nofollow" ymailto="mailto:rmeggins@redhat.com" target="_blank" href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a>>><br>> > To: General discussion list for the Fedora Directory server
 project.<br>> > <<a rel="nofollow" ymailto="mailto:fedora-directory-users@redhat.com" target="_blank" href="mailto:fedora-directory-users@redhat.com">fedora-directory-users@redhat.com</a> <br>> <mailto:<a rel="nofollow" ymailto="mailto:fedora-directory-users@redhat.com" target="_blank" href="mailto:fedora-directory-users@redhat.com">fedora-directory-users@redhat.com</a>>><br>> > Sent: Friday, December 14, 2007 8:08:24 AM<br>> > Subject: Re: [Fedora-directory-users] problem with unique search on<br>> > gidNumber<br>> ><br>> > Jason Beavers wrote:<br>> > > I'm trying to get unique searches working for "gidNumber."  When<br>> > > trying a search as below:<br>> > ><br>> > > ./ldapsearch -b "dc=mydomain,dc=int"<br>> > > "(&(objectClass=groupOfNames)(gidNumber=205)(ou:dn:=Groups))" cn<br>> > gidNumber<br>> > ><br>> > ><br>> >
 > I'm getting results back with ALL entries with a gidNumber
 attribute<br>> > > set, instead of just the one entry that matches "gidNumber=205."<br>> > > I've tried adding the gidNumber attribute to the indexes,<br>> > What steps did you take?  You created the index configuration?
  Then ran<br>> > db2index to generate the index files?<br>> > > however i cannot seem to get it to respond with a unique result.<br>> > Have you tried just "(gidNumber=205)" - does that work?<br>> > ><br>> > > What am I missing?<br>> > ><br>> > > Thanks in advance.<br>> > ><br>> > > -j<br>> > ><br>> > > <br>>
 ------------------------------------------------------------------------<br>> > > Never miss a thing. Make Yahoo your homepage.<br>> > > <<a rel="nofollow" target="_blank" href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs">http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs</a>><br>> > > <br>>
 ------------------------------------------------------------------------<br>> > ><br>> > > --<br>> > > Fedora-directory-users mailing list<br>> > > <a rel="nofollow" ymailto="mailto:Fedora-directory-users@redhat.com" target="_blank" href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a> <br>> <mailto:<a rel="nofollow" ymailto="mailto:Fedora-directory-users@redhat.com" target="_blank" href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a>><br>> > <mailto:<a rel="nofollow" ymailto="mailto:Fedora-directory-users@redhat.com" target="_blank" href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a> <br>> <mailto:<a rel="nofollow" ymailto="mailto:Fedora-directory-users@redhat.com" target="_blank" href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a>>><br>> > > <a
 rel="nofollow" target="_blank" href="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>> > ><br>> ><br>> ><br>> ><br>> >
 ------------------------------------------------------------------------<br>> > Looking for last minute shopping deals? Find them fast with Yahoo!<br>> > Search.<br>> > <br>>
 <<a rel="nofollow" target="_blank" href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping</a>> <br>><br>> ><br>> >
 ------------------------------------------------------------------------<br>> ><br>> > --<br>> > Fedora-directory-users mailing list<br>> > <a rel="nofollow" ymailto="mailto:Fedora-directory-users@redhat.com" target="_blank" href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a> <br>> <mailto:<a rel="nofollow" ymailto="mailto:Fedora-directory-users@redhat.com" target="_blank" href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a>><br>> > <a rel="nofollow" target="_blank" href="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>> > <br>><br>><br>><br>>
 ------------------------------------------------------------------------<br>> Never miss a thing. Make Yahoo your homepage. <br>> <<a rel="nofollow" target="_blank" href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs">http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs</a>><br>>
 ------------------------------------------------------------------------<br>><br>> --<br>> Fedora-directory-users mailing list<br>> <a rel="nofollow" ymailto="mailto:Fedora-directory-users@redhat.com" target="_blank" href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>> <a rel="nofollow" target="_blank" href="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>>   <br><br></div><br></div></div><br>
      <hr size="1">Looking for last minute shopping deals? <a rel="nofollow" target="_blank" href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping"> 
Find them fast with Yahoo! Search.</a></div><br></div></div><br>
      <hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping"> 
Find them fast with Yahoo! Search.</a></body></html>