Author: abartlet Date: 2005-12-28 09:24:21 +0000 (Wed, 28 Dec 2005) New Revision: 12538
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12538 Log: Clarify why we are doing the delete here. Andrew Bartlett Modified: branches/SAMBA_4_0/source/libnet/libnet_samsync_ldb.c Changeset: Modified: branches/SAMBA_4_0/source/libnet/libnet_samsync_ldb.c =================================================================== --- branches/SAMBA_4_0/source/libnet/libnet_samsync_ldb.c 2005-12-28 08:20:47 UTC (rev 12537) +++ branches/SAMBA_4_0/source/libnet/libnet_samsync_ldb.c 2005-12-28 09:24:21 UTC (rev 12538) @@ -283,7 +283,8 @@ 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) {
