iF.SVNAdmin
iF.SVNAdmin copied to clipboard
ldap list user provider not work protected function objectSearch
first test bind to server work ok. but test users and groups not work user always * and groups 0
but objectSearch functions not work.
when i add in this functions, then i coud list users, groups and can login.. so it is connect and binding second time...
$ldaprdn = "";
$ldappass = '';
$conn = ldap_connect("ldap://example.com");
ldap_set_option($conn, LDAP_OPT_PROTOCOL_VERSION, 3);
ldap_set_option($conn, LDAP_OPT_REFERRALS, 0);
$bind = ldap_bind($conn, $ldaprdn, $ldappass); //without whis not work.
so i think something with with $this->connections.. --- something with passed conn reference.. so ypu know your code, maby you coud find error faster..