I want to query my directory for all User objects that don't contain a value for a given attribute... I have kind of hacked it up looking for things without a specific value (the potential assigned values are small, so this mostly worked) - but I would really like to know if there is a way to actually query for the absence of an attribute... kind of analogous to a relational database null.
Here is the query I ended up using:
(&(objectClass=User)(!extensionAttribute1=A))
Any ideas how to write an LDAP query looking for objects where an attribute has not been defined? Is this even possible?