diff options
author | Gerald Carter <jerry@samba.org> | 2006-04-28 15:37:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:35 -0500 |
commit | 173261dc8728a06e0edfe1355b6b5c881178d27b (patch) | |
tree | 71e937fbbf11f42ec04210c7fa5703f9eb995cae /source3 | |
parent | 6e807c763fe3a00ddf5435ecb23e81d85ed34378 (diff) | |
download | samba-173261dc8728a06e0edfe1355b6b5c881178d27b.tar.gz samba-173261dc8728a06e0edfe1355b6b5c881178d27b.tar.bz2 samba-173261dc8728a06e0edfe1355b6b5c881178d27b.zip |
r15311: look at the NT password (not lanman one) when determining if smbpasswd -e should probably for a password
(This used to be commit 3522b53aecb5293747b66250279417f9edf876f1)
Diffstat (limited to 'source3')
-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); |