1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

r15311: look at the NT password (not lanman one) when determining if smbpasswd -e should probably for a password

This commit is contained in:
Gerald Carter
2006-04-28 15:37:15 +00:00
committed by Gerald (Jerry) Carter
parent b6904e0950
commit 3522b53aec

View File

@ -407,7 +407,7 @@ static int process_root(int local_flags)
sampass = samu_new( NULL );
ret = pdb_getsampwnam(sampass, user_name);
if((ret) &&
(pdb_get_lanman_passwd(sampass) == NULL)) {
(pdb_get_nt_passwd(sampass) == NULL)) {
local_flags |= LOCAL_SET_PASSWORD;
}
TALLOC_FREE(sampass);