repl_meta_data: Re-work printing of replicated entries
authorAndrew Bartlett <abartlet@samba.org>
Wed, 6 Sep 2017 04:24:35 +0000 (16:24 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 7 Sep 2017 04:56:27 +0000 (06:56 +0200)
commite3988f8f74f4a11e8f26a548e0a33d20f4e863f7
treeb770110ab3f388e6af605856541c8cd8306c442d
parent7cfaf706942308c3682d9a37ac778cfbbdf49919
repl_meta_data: Re-work printing of replicated entries

This re-work of our LDIF printing avoids some of the privacy issue from
printing the full LDIF at level 4, while showing the entry that actually fails.

Instead, we print the DN only at level 4, then the full message at 8.

While all of the DRS replication data is potentially sensitive
the passwords are most sensitive, and are now not printed unencrypted.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c