note 30875 added to function.ldap-bind
| From: | ctpat3r at stumbledot dot org | Date: | Tue, 01 Apr 2003 21:11:17 +0000 |
| Subject: | note 30875 added to function.ldap-bind | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46094@lists.php.net to get a copy of this message | ||
>But you will be required to supply the full context to
>authenticate to an eDirectory based LDAP setup. Such as
>Netware 6 or eDirectory 8.5 or greater.
> Is there any ways around this?
I do this:
1) bind anonymously
2) search for the username supplied ("cn=username")
3) get the dn for the search result
4) bind with the dn and supplied password.
--
http://www.php.net/manual/en/function.ldap-bind.php
http://master.php.net/manage/user-notes.php?action=edit+30875
http://master.php.net/manage/user-notes.php?action=delete+30875
http://master.php.net/manage/user-notes.php?action=reject+30875