summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/pdb_samba4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_samba4.c b/source3/passdb/pdb_samba4.c
index ae38133e20..7c9ce9e039 100644
--- a/source3/passdb/pdb_samba4.c
+++ b/source3/passdb/pdb_samba4.c
@@ -383,7 +383,7 @@ static int pdb_samba4_replace_by_sam(struct pdb_samba4_state *state,
}
if (need_update(sam, PDB_NTPASSWD)) {
struct ldb_val val;
- val.data = pdb_get_lanman_passwd(sam);
+ val.data = pdb_get_nt_passwd(sam);
if (!val.data) {
samdb_msg_add_delete(state->ldb, msg, msg,
"unicodePwd");