summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-12-28 09:24:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:53 -0500
commit773d5e0af01c2d4f8a6b9546a240fe46ffb81f21 (patch)
tree2b013a5106796981fdda08066df853142f78d7cc /source4/libnet
parentc8531ef9c8fee759286d77c5c0ff03a6f74c2be6 (diff)
downloadsamba-773d5e0af01c2d4f8a6b9546a240fe46ffb81f21.tar.gz
samba-773d5e0af01c2d4f8a6b9546a240fe46ffb81f21.tar.bz2
samba-773d5e0af01c2d4f8a6b9546a240fe46ffb81f21.zip
r12538: Clarify why we are doing the delete here.
Andrew Bartlett (This used to be commit 6d8405038f0033439e1e24eb43c2b7990e01b70c)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_samsync_ldb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libnet/libnet_samsync_ldb.c b/source4/libnet/libnet_samsync_ldb.c
index 717e89ba4b..658c1254dd 100644
--- a/source4/libnet/libnet_samsync_ldb.c
+++ b/source4/libnet/libnet_samsync_ldb.c
@@ -283,7 +283,8 @@ static NTSTATUS samsync_ldb_handle_user(TALLOC_CTX *mem_ctx,
return NT_STATUS_NO_MEMORY;
}
- /* Passwords */
+ /* Passwords. Ensure there is no plaintext stored against
+ * this entry, as we only have hashes */
samdb_msg_add_delete(state->sam_ldb, mem_ctx, msg,
"unicodePwd");
if (user->lm_password_present) {