designbyfront/LDAP-Authentication-for-ExpressionEngine

Add LDAP Protocol and referrals options

Opened this issue · 0 comments

Had trouble doing a full domain search on Windows 2003 AD server. Though the ldap_search says it should be doing subtree searches, it did not do so on my setup.

From comments on http://www.php.net/manual/en/function.ldap-search.php

If you add the following options, AD will do the subtree search properly.

ldap_set_option($connect, LDAP_OPT_PROTOCOL_VERSION, 3);
ldap_set_option($connect, LDAP_OPT_REFERRALS, 0);

Could these be added as setting options?