On Jan 18, 2009, at 9:53 PM, Olivier Nicole wrote:
That's right, (!(mail=*)) means everything where mail is null.

You would like to search for mail=*, meaning everything where mail is
not null.

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 10.129.10.42 -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?

Thanks,


Jay
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to