note 34784 deleted from ref.ldap by cmb
| From: | cmb@php.net | Date: | Sun, 17 Nov 2019 08:35:30 +0000 |
| Subject: | note 34784 deleted from ref.ldap by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213076@lists.php.net to get a copy of this message | ||
Note Submitter: mrowe at pointsystems dot com
----
FWIW,
Before anyone else wastes a day scratching their head wondering why they can't search Active
Directory...
I wasn't able to search on Active Directory until I did this (immediately after the
ldap_connect):
ldap_set_option($connect, LDAP_OPT_PROTOCOL_VERSION, 3);
I was able to ldap_bind if I didn't set this option, but I kept receiving errors. Also note, I
had to set the option BEFORE binding.