r12538: Clarify why we are doing the delete here.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 28 Dec 2005 09:24:21 +0000 (09:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:47:53 +0000 (13:47 -0500)
Andrew Bartlett

source/libnet/libnet_samsync_ldb.c

index 717e89ba4b05422dabdeeff26416a1bb206be2f3..658c1254dd4b430645b57dfacad9266acf39bfa5 100644 (file)
@@ -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) {