[Date Prev][Date Next]
RE: Search Filter for Second Value
I was continuing with Tim's example. I didn't care about his use, just responding to how to construct an 'or' ldap query.
From: Howard Chu [mailto:firstname.lastname@example.org]
Sent: Friday, January 28, 2011 12:10 PM
To: Chris Jacobs
Cc: 'email@example.com'; 'firstname.lastname@example.org'
Subject: Re: Search Filter for Second Value
Chris Jacobs wrote:
> Google: ldap filter syntax - the zytrax result is pretty handy.
uh.... No. "blahblah[X]" is not a valid LDAP construct. Did you get that
> - chris
> Sorry for double send Tim; forgot to reply-all to list.
> Chris Jacobs, Systems Administrator
> Apollo Group | Apollo Marketing | Aptimus
> 2001 6th Ave Ste 3200 | Seattle, WA 98121
> phone: 206.839-8245 | cell: 206.601.3256 | Fax: 208.441.9661
> email: email@example.com
> ----- Original Message -----
> From: openldap-technical-bounces@OpenLDAP.org<openldap-technical-bounces@OpenLDAP.org>
> To: firstname.lastname@example.org<email@example.com>
> Sent: Fri Jan 28 12:38:38 2011
> Subject: Search Filter for Second Value
> Is there any way to craft a search filter that checks for an attribute with two or more values?
> For example, how could I construct a query to search for users with two passwords?
> Something like:
> (where userPassword would be the user's first password attribute)
> Tim Gustafson
> Baskin School of Engineering
> UC Santa Cruz
> This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.