correctly propagate the return value of ldap_set_option
otherwise LDAP_OPT_REFERRALS won't be set to 0 and in turn active directory paging will stop working (Operations error on ldap_control_paged_result_response)
This commit is contained in:
parent
36bc6b871f
commit
54e47b4180
|
@ -91,7 +91,7 @@ class LDAP implements ILDAPWrapper {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setOption($link, $option, $value) {
|
public function setOption($link, $option, $value) {
|
||||||
$this->invokeLDAPMethod('set_option', $link, $option, $value);
|
return $this->invokeLDAPMethod('set_option', $link, $option, $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function sort($link, $result, $sortfilter) {
|
public function sort($link, $result, $sortfilter) {
|
||||||
|
|
Loading…
Reference in New Issue