[brlug-general] ldap question

-ray ray at ops.selu.edu
Fri Jan 26 12:26:28 CST 2007


Ok getting closer... you're right, it's an empty string.  Found this code 
in our mess of scripts:

/usr2/ldap/bin/sluldap_disuser.pl:      $entry->{slucmsuid} = [''];

So:

(slucmsuid='') does in fact return everyone with an slucmsuid of ''.

However, this query:

(!(slucmsuid='')) returns everyone with an slucmsuid NOT '', which is 
good, But it ALSO returns everyone that has no slucmsuid attribute on 
their account, which is bad.  Any other ideas?

ray


On Fri, 26 Jan 2007, Dustin Puryear wrote:

> Technically, I don't think an LDAP value can ever be null. Is it an
> empty string? What about:
>
> (slucmsuid='')



More information about the General mailing list