note 73693 added to function.ldap-search
| From: | Allie at osu1 dot php dot net | Date: | Tue, 06 Mar 2007 22:38:02 +0000 |
| Subject: | note 73693 added to function.ldap-search | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-124178@lists.php.net to get a copy of this message | ||
I just posted on the ldap_bind, but I figured it couldn't hurt here since this was the first
place I stopped when trying to figure out my problem. My error pointed to ldap_search, but
specifying the ldap_connect port was the fix.
When you want to search the entire directory for MS AD, you must specify port 3268 in your bind.
This is also true for apache auth_ldap.
$ldapserver = ldap_connect($server,3268);
----
Server IP: 216.194.113.175
Probable Submitter: 130.39.198.155
----
Manual Page -- http://www.php.net/manual/en/function.ldap-search.php
Edit -- https://master.php.net/note/edit/73693
Del: integrated -- https://master.php.net/note/delete/73693/integrated
Del: useless -- https://master.php.net/note/delete/73693/useless
Del: bad code -- https://master.php.net/note/delete/73693/bad+code
Del: spam -- https://master.php.net/note/delete/73693/spam
Del: non-english -- https://master.php.net/note/delete/73693/non-english
Del: in docs -- https://master.php.net/note/delete/73693/in+docs
Del: other reasons-- https://master.php.net/note/delete/73693
Reject -- https://master.php.net/note/reject/73693
Search -- https://master.php.net/manage/user-notes.php