I am running the following against an Active Directory server.
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
I am trying to return only objects for which the mail
Hi,
I think my search is incorrect, and I am searching for the mail
attribute being null.
That's right, (!(mail=*)) means everything where mail is null.
You would like to search for mail=*, meaning everything where mail is
not null.
Bests,
Olivier
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.
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
In the last episode (Jan 18), Jay Hall said:
I am running the following against an Active Directory server.
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
I am trying
On Jan 18, 2009, at 10:32 PM, Dan Nelson wrote:
Your search filter is currently (!(objectclass=computer)) , and you
are asking for the attributes (!(mail=*)), dn, and mail to be
returned.
I think you want this: '((!(objectclass=computer))(mail=*))' i.e.
(objectclass isn't computer) AND (mail