<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">what happens if you simplify your search<div><br class="webkit-block-placeholder"></div><div>ldapsearch -b "dc=mydomain,dc=int" gidNumber=205 cn gidNumber</div><div><br class="webkit-block-placeholder"></div><div><br><div><div>On Dec 14, 2007, at 1:11 AM, Jason Beavers wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span style="font-size: 10pt; font-family: Arial, sans-serif; ">I'm trying to get unique searches working for "gidNumber."  When trying a search as below:<br><br>./ldapsearch -b "dc=mydomain,dc=int" "(&(objectClass=groupOfNames)(gidNumber=205)(ou:dn:=Groups))" cn gidNumber<br><br><br>I'm getting results back with ALL entries with a gidNumber attribute set, instead of just the one entry that matches "gidNumber=205."<br>I've tried adding the gidNumber attribute to the indexes, however i cannot seem to get it to respond with a unique result.<br><br>What am I missing?<br><br>Thanks in advance.<br><br>-j<br></span></div></div><br><hr size="1">Never miss a thing.<span class="Apple-converted-space"> </span><a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs">Make Yahoo your homepage.</a><span class="Apple-converted-space"> </span>--<br>Fedora-directory-users mailing list<br><a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br></div></span></blockquote></div><br></div></body></html>