Log warnings emitted by ldap_control_paged_result_response() as debug

Such a warning is emitted as well in case it's not critical. That is passing
an alternative overall result limit using ldap_search() to the server causes
it being applied across pages so ldap_control_paged_result_response()
does not indicate the "end" of the resultset just by adjusting the cookie
but by emitting the warning as well.
This commit is contained in:
Johannes Meyer 2015-01-29 17:12:59 +01:00
parent 9ff0bbcfc0
commit 6e533f223e
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ class Connection
ldap_control_paged_result_response($this->ds, $this->lastResult, $this->pageCookie);
} catch (Exception $e) {
$this->pageCookie = '';
Logger::error(
Logger::debug(
'Unable to request paged LDAP results. Does the server allow paged search requests? (%s)',
$e->getMessage()
);