ldapsearch question

Jay Hall jhall at socket.net
Sun Jan 18 21:22:22 PST 2009


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 attribute is present).
>
> http://tools.ietf.org/html/rfc2254
>
Thank you this is exactly what I was trying to do.


Jay


More information about the freebsd-questions mailing list