[brlug-general] ldap question
-ray
ray at ops.selu.edu
Fri Jan 26 00:51:29 CST 2007
On Thu, 25 Jan 2007, Ronnie Gilkey wrote:
> ldapsearch -h x.x.x.x -D cn=x,ou=y,o=z -w pass -x -b ou=y,o=z -s sub \
> '(slucmsuid=*)' -v mail slucmsuid
Well i tried that. I have 3 cases. user1 had a good slucmsuid. user2
has the slucmsuid attribute associated with their account, but it's value
is null. user3 has no slucmsuid attribute associated with their account.
I want to return everyone like user1. I think the * is also matching the
null values, and i dont want those people.
# user1, x, y, z
dn: cn=user1,ou=x,ou=y,o=z
slucmsuid: user1
mail: user1 at z.edu
# user2, x, y, z
dn: cn=user2,ou=x,ou=y,o=z
slucmsuid:
mail: user2 at z.edu
# user3, x, y, z
dn: cn=user3,ou=x,ou=y,o=z
mail: user3 at z.edu
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean http://www.r-a-y.org
Systems Engineer Southeastern Louisiana University
IBM Certified Specialist AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
More information about the General
mailing list