]> git.ipfire.org Git - ipfire.org.git/commitdiff
accounts: Do not log a warning when the server did not pagee results
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 9 Jan 2020 11:21:43 +0000 (11:21 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 9 Jan 2020 11:21:43 +0000 (11:21 +0000)
It looks like when there are only few responses this does not
get activated and we do not need to log a warning.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/accounts.py

index b1160ac2e76df782ee1a325185fd02f3a3c45ae6..46dc98875aa154e7e6c15727cf3b14db830faa61 100644 (file)
@@ -244,7 +244,6 @@ class Accounts(Object):
                                if c.controlType == ldap.controls.SimplePagedResultsControl.controlType]
 
                        if not controls:
-                               logging.warning("The server ignores RFC 2696 control")
                                break
 
                        # Set the cookie for more results