ldapsearch question

[ Available lists | Index of freebsd-questions | Month of Jan 2009 | Week of 19 Jan 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Jay Hall <jhall@socket.net>
Date
19 Jan 2009 03:45:22
Subject
ldapsearch question
Message-ID
C73DF42B-1235-4671-B9D0-FC112C4D9504@socket.net

Replies

[ Hide this part ]
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 attribute is
defined. I think my search is incorrect, and I am searching for the
mail attribute being null.

Any suggestions would be greatly appreciated.

Thanks,


Jay



Elapsed time: 0.097 seconds