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