Fix local-auth authentication

main
mpgn 2020-05-09 08:20:53 -04:00
parent d3a7effb86
commit 3e1fa0f258
1 changed files with 3 additions and 4 deletions

View File

@ -238,9 +238,8 @@ class smb(connection):
if self.args.domain:
self.domain = self.args.domain
# always print FQDN even if local auth
# if self.args.local_auth:
# self.domain = self.hostname
if self.args.local_auth:
self.domain = self.hostname
#Re-connect since we logged off
self.create_conn_obj()