Skip to content

Commit 4a0f038

Browse files
authored
Update ldap-checker.py
Changed catch all exception as suggesteed. Signed-off-by: Cauan <cauan@users.noreply.github.com>
1 parent 2de896c commit 4a0f038

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/modules/ldap-checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ async def run_ldap(target, credential):
142142
# because LDAP server signing requirements are not enforced
143143
except Exception as e:
144144
context.log.debug(str(e))
145-
return False
145+
return None
146146

147147

148148
# Run trough all our code blocks to determine LDAP signing and channel binding settings.

0 commit comments

Comments
 (0)