Fix kerberos auth with smb
parent
8118e9078e
commit
bc137a005c
|
@ -160,7 +160,7 @@ class connection(object):
|
||||||
|
|
||||||
def login(self):
|
def login(self):
|
||||||
if self.args.kerberos:
|
if self.args.kerberos:
|
||||||
if self.kerberos_login(self.aesKey, self.kdcHost): return True
|
if self.kerberos_login(self.domain, self.aesKey, self.kdcHost): return True
|
||||||
else:
|
else:
|
||||||
for cred_id in self.args.cred_id:
|
for cred_id in self.args.cred_id:
|
||||||
with sem:
|
with sem:
|
||||||
|
|
Loading…
Reference in New Issue