diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-12-28 09:24:21 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2005-12-28 09:24:21 +0000 |
commit | 46574462f867a67b15e2a83b0f7d40f36979e58e (patch) | |
tree | 8046d56f3bf8ac9f7f93878775ada4d7fefb5307 /source | |
parent | 1bb442e91345dce22fb1bed3ce52e65cc20b3b0b (diff) | |
download | samba-46574462f867a67b15e2a83b0f7d40f36979e58e.tar.gz samba-46574462f867a67b15e2a83b0f7d40f36979e58e.tar.xz samba-46574462f867a67b15e2a83b0f7d40f36979e58e.zip |
r12538: Clarify why we are doing the delete here.
Andrew Bartlett
Diffstat (limited to 'source')
-rw-r--r-- | source/libnet/libnet_samsync_ldb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/libnet/libnet_samsync_ldb.c b/source/libnet/libnet_samsync_ldb.c index 717e89ba4b0..658c1254dd4 100644 --- a/source/libnet/libnet_samsync_ldb.c +++ b/source/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) { |