Update connection.py

Signed-off-by: mpgn <martial.puygrenier@gmail.com>
main
mpgn 2024-02-28 22:48:54 +01:00 committed by Marshall Hallenbeck
parent d9e46dbb1f
commit 8215eaa27a
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@ class connection:
self.port = self.args.port self.port = self.args.port
self.conn = None self.conn = None
self.admin_privs = False self.admin_privs = False
self.password = "" self.password = None
self.username = "" self.username = None
self.kerberos = bool(self.args.kerberos or self.args.use_kcache or self.args.aesKey) self.kerberos = bool(self.args.kerberos or self.args.use_kcache or self.args.aesKey)
self.aesKey = None if not self.args.aesKey else self.args.aesKey[0] self.aesKey = None if not self.args.aesKey else self.args.aesKey[0]
self.kdcHost = None if not self.args.kdcHost else self.args.kdcHost self.kdcHost = None if not self.args.kdcHost else self.args.kdcHost