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.
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.
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
3 matches
Mail list logo