mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
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:
parent
9ff0bbcfc0
commit
6e533f223e
@ -329,7 +329,7 @@ class Connection
|
|||||||
ldap_control_paged_result_response($this->ds, $this->lastResult, $this->pageCookie);
|
ldap_control_paged_result_response($this->ds, $this->lastResult, $this->pageCookie);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$this->pageCookie = '';
|
$this->pageCookie = '';
|
||||||
Logger::error(
|
Logger::debug(
|
||||||
'Unable to request paged LDAP results. Does the server allow paged search requests? (%s)',
|
'Unable to request paged LDAP results. Does the server allow paged search requests? (%s)',
|
||||||
$e->getMessage()
|
$e->getMessage()
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user