Add catch for kerberos use-kcache option with error message
parent
667faa0d7b
commit
a88a6e8552
|
@ -329,7 +329,7 @@ class ldap(connection):
|
||||||
self.username,
|
self.username,
|
||||||
" from ccache" if useCache
|
" from ccache" if useCache
|
||||||
else ":%s" % (kerb_pass if not self.config.get('CME', 'audit_mode') else self.config.get('CME', 'audit_mode')*8),
|
else ":%s" % (kerb_pass if not self.config.get('CME', 'audit_mode') else self.config.get('CME', 'audit_mode')*8),
|
||||||
''),
|
str(e)),
|
||||||
color='red')
|
color='red')
|
||||||
return False
|
return False
|
||||||
except ldap_impacket.LDAPSessionError as e:
|
except ldap_impacket.LDAPSessionError as e:
|
||||||
|
|
Loading…
Reference in New Issue