Fix laps with kerberos username (#17)

* Fix laps with kerberos username

* Fix LAPS with kerberos
main
mpgn 2023-07-03 11:43:07 +02:00 committed by GitHub
parent e1345d4b1e
commit 75738801ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -408,8 +408,8 @@ class smb(connection):
used_ccache = " from ccache" if useCache else f":{process_secret(kerb_pass)}"
else:
self.plaintext_login(username, password, self.host)
return
self.plaintext_login(self.hostname, username, password)
return True
out = f"{self.domain}\\{self.username}{used_ccache} {self.mark_pwned()}"
self.logger.success(out)