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.
Never miss a thing.