diff options
-rw-r--r-- | source3/utils/smbpasswd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c index d66001e441..c063ad8b31 100644 --- a/source3/utils/smbpasswd.c +++ b/source3/utils/smbpasswd.c @@ -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); |