Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anodos325 committed Jul 31, 2024
1 parent 52e2a2e commit 821db6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/utils/crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ def generate_nt_hash(passwd):
Generate an NT hash for SMB user password. This is required for
NTLM authentication for local users.
"""
md4_hash_bytes = md4_hash_blob(passwrd.encode('utf-16le'))
md4_hash_bytes = md4_hash_blob(passwd.encode('utf-16le'))
return md4_hash_bytes.hex.upper()

0 comments on commit 821db6c

Please sign in to comment.