Skip to content
Snippets Groups Projects
Commit 8229c11a authored by Dennis Ahrens's avatar Dennis Ahrens
Browse files

[BUGFIX] Log shows incorrect data.

The base, scope and page_size were fetched from the object
instead of using locals - this leads to wrong log entries.
parent fd36183a
No related branches found
No related tags found
No related merge requests found
......@@ -218,7 +218,7 @@ class LdapExtractor(AbstractExtractor):
https://bitbucket.org/jaraco/python-ldap/src/f208b6338a28e869a366681f7dbdbf22a71b7da4/Demo/page_control.py?at=default
'''
logging.info('Executing paged ldap search base: ' + str(self.base) + ' scope: ' + str(self.scope) + ' filter: ' + str(self.ldap_filter) + ' attributes: ' + str(self.attributes) + ' page size: ' + str(self.page_size))
logging.info('Executing paged ldap search base: ' + str(base) + ' scope: ' + str(scope) + ' filter: ' + str(self.ldap_filter) + ' attributes: ' + str(self.attributes) + ' page size: ' + str(page_size))
req_ctrl = SimplePagedResultsControl(True, size = page_size, cookie = '')
known_ldap_resp_ctrls = {SimplePagedResultsControl.controlType:SimplePagedResultsControl}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment