]> git.ipfire.org Git - thirdparty/samba.git/commit
ldb: Add new ldb_ldif_message_redacted_string() with tests
authorAndrew Bartlett <abartlet@samba.org>
Tue, 5 Sep 2017 02:05:43 +0000 (14:05 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 7 Sep 2017 04:56:27 +0000 (06:56 +0200)
commit37bb62990b96b266ba4a3e90cadd414e6fee5ddf
treee765ca344372beeee904bf3979a037ecdfb8d0ac
parent01c49b1a3561decdb10b5273d96d68d8e3d2b178
ldb: Add new ldb_ldif_message_redacted_string() with tests

This is designed to be a drop in replacement for
ldb_ldif_message_string() while better protecting privacy.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13017

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb/common/ldb_ldif.c
lib/ldb/include/ldb.h
lib/ldb/tests/ldb_mod_op_test.c