]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
samba-tool tests: Remove unused variable
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 11 Apr 2022 01:15:23 +0000 (13:15 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 5 May 2022 00:27:33 +0000 (00:27 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/samba_tool/user.py

index 904a51353ca1e9dc0ac0dc25dcc6b093ed26e257..0a1fbfeb82d8b3839e249faadd0655389fce5b86 100644 (file)
@@ -258,7 +258,6 @@ class UserCmdTestCase(SambaToolCmdTest):
             creds = credentials.Credentials()
             creds.set_anonymous()
             creds.set_password(newpasswd)
-            nthash = creds.get_nt_hash()
             unicodePwd = base64.b64encode(creds.get_nt_hash()).decode('utf8')
             virtualClearTextUTF8 = base64.b64encode(get_bytes(newpasswd)).decode('utf8')
             virtualClearTextUTF16 = base64.b64encode(get_string(newpasswd).encode('utf-16-le')).decode('utf8')