note 37654 added to function.ldap-search
| From: | rschechter at jonesknowledge dot com | Date: | Fri, 21 Nov 2003 23:10:49 +0000 |
| Subject: | note 37654 added to function.ldap-search | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-60779@lists.php.net to get a copy of this message | ||
Do I use ldap_search to authenticate users in LDAP?
I can successfully search the LDAP and retrieve user's data based on a search criteria like
(cn=something).
If I use (password=somepass) or (userPassword=somepass) in the search criteria it comes back with no
hits.
How should this be done? Do I have to encrypt the password somehow?
----
Manual Page -- http://www.php.net/manual/en/function.ldap-search.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37654
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37654&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37654&report=yes
Search -- http://master.php.net/manage/user-notes.php