note 31664 added to ref.ldap
| From: | nliu99 at nospam dot yahoo dot com | Date: | Tue, 29 Apr 2003 20:09:32 +0000 |
| Subject: | note 31664 added to ref.ldap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-47254@lists.php.net to get a copy of this message | ||
libsasl.dll is NOT required for ldap functionalities. Go check out the posting at: http://bugs.php.net/bug.php?id=9485
On win2k I followed these easy steps and got ldap to work:
1. copy php_ldap.dll from the extension folder to winnt/system32
2. edit winnt/php.ini so that ldap is enabled (uncomment the line).
3. restart IIS.
That's it and have fun with ldap.
A note for Microsoft Active Directory
1. You can login with the user email, i.e. user@company.com
2. It's easiest to search for user info with ldap_search by filtering:
(userprincipalname=[user])
--
http://www.php.net/manual/en/ref.ldap.php
http://master.php.net/manage/user-notes.php?action=edit+31664
http://master.php.net/manage/user-notes.php?action=delete+31664
http://master.php.net/manage/user-notes.php?action=reject+31664