LDAP constraints

2000-12-13 Thread Jason Egan
I'm using LDAP for a login process. like a query where I can restrict with a where clause, I would like to do the same thing with LDAP. so that only one record is returned where the un and pw match exactly. I've tried using the filter attribute, but I either get one or the other, or both.

LDAP constraints

2000-12-13 Thread Jason Egan
I'm using LDAP for a login process. like a query where I can restrict with a where clause, I would like to do the same thing with LDAP. so that only one record is returned where the un and pw match exactly. I've tried using the filter attribute, but I either get one or the other, or both.

Re: LDAP constraints

2000-12-13 Thread Kevin Miller
The syntax you need is: filter="((cn=jegan)(userpassword=bixby))" Reference RFC 2254 for the full syntax of LDAP filters. It can be found here: http://www.cis.ohio-state.edu/htbin/rfc/rfc2254.html Kevin [EMAIL PROTECTED] 12/13/00 11:23AM I'm using LDAP for a login process. like