summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-04-28 15:37:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:35 -0500
commit173261dc8728a06e0edfe1355b6b5c881178d27b (patch)
tree71e937fbbf11f42ec04210c7fa5703f9eb995cae /source3
parent6e807c763fe3a00ddf5435ecb23e81d85ed34378 (diff)
downloadsamba-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.c2
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);