Skip to content

Commit

Permalink
Fixed debug line for iteration over naming context in pyLDAPmonitor.p…
Browse files Browse the repository at this point in the history
…y v1.3
  • Loading branch information
p0dalirius committed Jan 4, 2022
1 parent 0e1e92c commit a2ea545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyLDAPmonitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ def query_all_naming_contexts(ldap_server, ldap_session, logger, page_size, sear
if search_base is not None:
naming_contexts = [search_base]
else:
naming_contexts = ldap_server.info.other["defaultNamingContext"]
naming_contexts = ldap_server.info.naming_contexts
for nc in naming_contexts:
lc = LDAPConsole(ldap_server, ldap_session, nc, logger=logger, page_size=page_size)
_r = lc.query("(objectClass=*)", attributes=['*'])
Expand Down

0 comments on commit a2ea545

Please sign in to comment.