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

Commit a88a6e8

Browse files
author
mpgn
committed
Add catch for kerberos use-kcache option with error message
1 parent 667faa0 commit a88a6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cme/protocols/ldap.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def kerberos_login(self, domain, username, password = '', ntlm_hash = '', aesKey
329329
self.username,
330330
" from ccache" if useCache
331331
else ":%s" % (kerb_pass if not self.config.get('CME', 'audit_mode') else self.config.get('CME', 'audit_mode')*8),
332-
''),
332+
str(e)),
333333
color='red')
334334
return False
335335
except ldap_impacket.LDAPSessionError as e:

0 commit comments

Comments
 (0)