mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
parent
6b60c28acc
commit
ce5233ffb3
@ -1501,7 +1501,7 @@ BOOL pdb_set_nt_passwd (SAM_ACCOUNT *sampass, uint8 *pwd)
|
||||
if (!sampass || !pwd) return False;
|
||||
|
||||
if (sampass->nt_pw!=NULL)
|
||||
DEBUG(0,("pdb_set_nt_passwd: NT hash non NULL overwritting ?\n"));
|
||||
DEBUG(0,("pdb_set_nt_passwd: NT hash non NULL overwriting ?\n"));
|
||||
else
|
||||
sampass->nt_pw=(unsigned char *)malloc(sizeof(unsigned char)*16);
|
||||
|
||||
@ -1521,7 +1521,7 @@ BOOL pdb_set_lanman_passwd (SAM_ACCOUNT *sampass, uint8 *pwd)
|
||||
if (!sampass || !pwd) return False;
|
||||
|
||||
if (sampass->lm_pw!=NULL)
|
||||
DEBUG(0,("pdb_set_lanman_passwd: LM hash non NULL overwritting ?\n"));
|
||||
DEBUG(0,("pdb_set_lanman_passwd: LM hash non NULL overwriting ?\n"));
|
||||
else
|
||||
sampass->lm_pw=(unsigned char *)malloc(sizeof(unsigned char)*16);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user