> I receive the same results using mail=*.  Following is the latest  
> ldapsearch command.
> ldapsearch -D "cn=admin_user,cn=users,dc=xx,dc=com" -x -w "password" - 
> h -p 3268 -b 'dc=abc,dc=com' -s sub '(! 
> (objectclass=computer))' '(mail=*)' dn mail
> Is it possible to search on the attribute, mail, not being present?

Hummm, that may be a feature from Active directory.

When searching in LDAP:

attribue=* means the attribute is present and set

!(attribute=*) means the attribute is not set or the attribute is not
    present (this attribute does not exist for that object, or the
    attribute exist for the object but is not being used)

I am not using active directory but OpenLDAP, so I canno help further.


freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to