summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-02-12 17:09:01 +0000
committerGerald Carter <jerry@samba.org>2004-02-12 17:09:01 +0000
commitb6a320bdc1ff3470cec67dd901157652ccb98848 (patch)
treee1b7e7ac9f3166a0ef9fd4c19b8fd8abcd94ab9c /source3/passdb
parent1fa1e931a3ab031675f4e4e08119a531a1b98ab5 (diff)
downloadsamba-b6a320bdc1ff3470cec67dd901157652ccb98848.tar.gz
samba-b6a320bdc1ff3470cec67dd901157652ccb98848.tar.bz2
samba-b6a320bdc1ff3470cec67dd901157652ccb98848.zip
stupid cut-n=paste error; my fault
(This used to be commit ee8f142b874a5bd365e59f68fb48ff3fec82fcda)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index 4d8c14cda7..57f3ce7e98 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -244,7 +244,7 @@ static NTSTATUS context_add_sam_account(struct pdb_context *context, SAM_ACCOUNT
been allowed by the ACB_PWNOTREQ bit */
lm_pw = pdb_get_lanman_passwd( sam_acct );
- nt_pw = pdb_get_lanman_passwd( sam_acct );
+ nt_pw = pdb_get_nt_passwd( sam_acct );
acb_flags = pdb_get_acct_ctrl( sam_acct );
if ( !lm_pw && !nt_pw && !(acb_flags&ACB_PWNOTREQ) ) {
acb_flags |= ACB_DISABLED;
@@ -279,7 +279,7 @@ static NTSTATUS context_update_sam_account(struct pdb_context *context, SAM_ACCO
been allowed by the ACB_PWNOTREQ bit */
lm_pw = pdb_get_lanman_passwd( sam_acct );
- nt_pw = pdb_get_lanman_passwd( sam_acct );
+ nt_pw = pdb_get_nt_passwd( sam_acct );
acb_flags = pdb_get_acct_ctrl( sam_acct );
if ( !lm_pw && !nt_pw && !(acb_flags&ACB_PWNOTREQ) ) {
acb_flags |= ACB_DISABLED;