Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2009 23:21:45 -0600
From:      Jay Hall <jhall@socket.net>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ldapsearch question
Message-ID:  <78E1D535-205D-41E6-8230-2E79AB29C97C@socket.net>
In-Reply-To: <20090119043250.GB45931@dan.emsphone.com>
References:  <C73DF42B-1235-4671-B9D0-FC112C4D9504@socket.net> <20090119043250.GB45931@dan.emsphone.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?78E1D535-205D-41E6-8230-2E79AB29C97C>