From 63f2d6943dbb381deade0653fc852dcefc46d112 Mon Sep 17 00:00:00 2001 From: termanix <50464194+termanix@users.noreply.github.com> Date: Tue, 2 Jul 2024 17:23:07 +0300 Subject: [PATCH] Update ldap.py swapped the execution&logging lines. For if there is an error on auth file Signed-off-by: termanix <50464194+termanix@users.noreply.github.com> --- nxc/protocols/ldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxc/protocols/ldap.py b/nxc/protocols/ldap.py index e95f43fc..68f8048d 100644 --- a/nxc/protocols/ldap.py +++ b/nxc/protocols/ldap.py @@ -1418,8 +1418,8 @@ class ldap(connection): self.logger.highlight("Using kerberos auth without ccache, getting TGT") auth.get_tgt() if self.args.use_kcache: - auth.load_ccache() self.logger.highlight("Using kerberos auth from ccache") + auth.load_ccache() timestamp = datetime.now().strftime("%Y-%m-%d_%H%M%S") + "_" bloodhound = BloodHound(ad, self.hostname, self.host, self.port)