git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e807c7
)
r15311: look at the NT password (not lanman one) when determining if smbpasswd -e...
author
Gerald Carter
<jerry@samba.org>
Fri, 28 Apr 2006 15:37:15 +0000
(15:37 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:16:35 +0000
(11:16 -0500)
(This used to be commit
3522b53aecb5293747b66250279417f9edf876f1
)
source3/utils/smbpasswd.c
patch
|
blob
|
history
diff --git
a/source3/utils/smbpasswd.c
b/source3/utils/smbpasswd.c
index d66001e441b2d583d40b148e63c222b3ae3728a2..c063ad8b31512baa093ddabafabad11cfd91f96c 100644
(file)
--- 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);