BorisMorel/LdapBundle — Issue #16: Active Directory (w2003)
Author: xmontana
Created: 2012-01-03 11:33:14+00:00
State: open

Hi friends!

Excelent work!!! I have try the autentification with active directory but I have had only one issue:

I need to force this paramenter to work in AD because I get a "Operations error" in ldap_search (http://www.php.net/manual/es/function.ldap-search.php#45388)

ldap_set_option($this->_ress, LDAP_OPT_REFERRALS, 0);

I have changed in /manager/LdapManagerUser.php aprox line 46 before call "ldapserach":

$search = ldap_search($this->_ress, $params['base_dn'], $params['filter'], $attrs);

Because a cannot try with openLDAP, I didn't made a PR.
I repeat, excelent work, I can validate and retrive all roles from user (membership).

Regards!
Xavi.