summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-08-19 12:26:53 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-19 16:35:07 +1000
commit876f9cc29009b73ac7645a03d271b9e72b1a6ea2 (patch)
tree5f4a3767c806c133b770475cfdf2347170344bd3 /source3
parent2a3f5c04bdfac49d509fe5761cf7371965d21089 (diff)
downloadsamba-876f9cc29009b73ac7645a03d271b9e72b1a6ea2.tar.gz
samba-876f9cc29009b73ac7645a03d271b9e72b1a6ea2.tar.bz2
samba-876f9cc29009b73ac7645a03d271b9e72b1a6ea2.zip
s3-passdb: Use pdb_get_nt_passwd() to get nt passwd.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
-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");