Fix local-auth authentication
parent
d3a7effb86
commit
3e1fa0f258
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue