[Fedora-directory-users] problem with unique search on gidNumber

Chris G. Sellers chris.sellers at nitle.org
Fri Dec 14 12:45:18 UTC 2007


what happens if you simplify your search

ldapsearch -b "dc=mydomain,dc=int" gidNumber=205 cn gidNumber


On Dec 14, 2007, at 1:11 AM, 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, however i  
> cannot seem to get it to respond with a unique result.
>
> What am I missing?
>
> Thanks in advance.
>
> -j
>
> Never miss a thing. Make Yahoo your homepage. --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20071214/647d394d/attachment.htm>


More information about the Fedora-directory-users mailing list