summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-05-19 11:08:00 +1200
committerAndrew Bartlett <abartlet@samba.org>2014-06-04 03:22:26 +0200
commit04bc200e95c3473238a541460a714b13f67375b8 (patch)
tree3ce2f155dc6c957cec72e879d2e8990e7c5f20e1 /source3
parent822b4927288231b7a90579af9792608a0bdef706 (diff)
downloadsamba-04bc200e95c3473238a541460a714b13f67375b8.tar.gz
samba-04bc200e95c3473238a541460a714b13f67375b8.tar.xz
samba-04bc200e95c3473238a541460a714b13f67375b8.zip
winbindd: explain that this check protects the AD DC machine account password (for now at least)
Change-Id: I2e2eb2e7fc4a12f27025f42e4cc41560311ce6c8 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_change_machine_acct.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_change_machine_acct.c b/source3/winbindd/winbindd_change_machine_acct.c
index a5514e22ebc..f335e345e54 100644
--- a/source3/winbindd/winbindd_change_machine_acct.c
+++ b/source3/winbindd/winbindd_change_machine_acct.c
@@ -52,6 +52,10 @@ struct tevent_req *winbindd_change_machine_acct_send(TALLOC_CTX *mem_ctx,
/*
* Internal domains are passdb based, we can always
* contact them.
+ *
+ * This also protects us from changing the password on
+ * the AD DC without updating all the right databases.
+ * Do not remove this until that code is fixed.
*/
tevent_req_done(req);
return tevent_req_post(req, ev);