[Date Prev][Date Next]
Re: Filtering searches, I have a specific with to filter out something.
Try something like
I think it'll do what you want.
On Mon, Jan 13, 2003 at 09:59:05PM -0600, Eric Renfro wrote:
> Hello list.
> I'm fair with OpenLDAP, but I'm trying to figure out one possibly simple
> filter idea..
> A nice '(email@example.com)' as a filter, would find the entries that have
> that attribute with that value. But, what if I wanted to filter out a
> specific object, so that it doesn't show up in that list, say I have the
> following entries:
> If I used a search base of dc=myrddincd,dc=com, with a scope of sub, searching
> by filter (firstname.lastname@example.org) would pull the first two entries.
> In example, of a filter which doesn't work:
> (&(email@example.com)(!objectClass=mailGroup)), in theory, if that
> would work, it would filter OUT the 2nd entry I've shown, making it show just
> the one account entry.
Information and Communication Technologies
New Mexico State University
Email: firstname.lastname@example.org Phone: 505-646-6034 Fax: 505-646-4560