From 773d5e0af01c2d4f8a6b9546a240fe46ffb81f21 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 28 Dec 2005 09:24:21 +0000 Subject: r12538: Clarify why we are doing the delete here. Andrew Bartlett (This used to be commit 6d8405038f0033439e1e24eb43c2b7990e01b70c) --- source4/libnet/libnet_samsync_ldb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4') 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) { -- cgit