Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
Add catch for kerberos use-kcache option with error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgn committed Nov 9, 2022
1 parent 667faa0 commit a88a6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cme/protocols/ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def kerberos_login(self, domain, username, password = '', ntlm_hash = '', aesKey
self.username,
" from ccache" if useCache
else ":%s" % (kerb_pass if not self.config.get('CME', 'audit_mode') else self.config.get('CME', 'audit_mode')*8),
''),
str(e)),
color='red')
return False
except ldap_impacket.LDAPSessionError as e:
Expand Down

0 comments on commit a88a6e8

Please sign in to comment.