diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-09 18:46:37 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-11 10:03:39 +0100 |
commit | eff1e8cd5d17ca990341e463da03fb1075bdb0d0 (patch) | |
tree | cba69cd62d2a7315fbd0f8165c3d6c4cbb56bce2 | |
parent | 39f86619f5f30461d3c1896e88b6b3df2b51a26e (diff) | |
download | samba-eff1e8cd5d17ca990341e463da03fb1075bdb0d0.tar.gz samba-eff1e8cd5d17ca990341e463da03fb1075bdb0d0.tar.bz2 samba-eff1e8cd5d17ca990341e463da03fb1075bdb0d0.zip |
s4:libnet/libnet_samsync_ldb.c - remove "userPassword" remove code
It could also be a normal attribute with a normal content, and if it's not
like that then it's for sure empty.
-rw-r--r-- | source4/libnet/libnet_samsync_ldb.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/libnet/libnet_samsync_ldb.c b/source4/libnet/libnet_samsync_ldb.c index 917257de85..bdeced8eef 100644 --- a/source4/libnet/libnet_samsync_ldb.c +++ b/source4/libnet/libnet_samsync_ldb.c @@ -360,12 +360,6 @@ static NTSTATUS samsync_ldb_handle_user(TALLOC_CTX *mem_ctx, return NT_STATUS_NO_MEMORY; } - if (!add) { - /* 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, - "userPassword"); - } if (user->lm_password_present) { samdb_msg_add_hash(state->sam_ldb, mem_ctx, msg, "dBCSPwd", &user->lmpassword); |