s4/ldb: added --show-binary command line option
authorAndrew Tridgell <tridge@samba.org>
Tue, 8 Sep 2009 10:57:31 +0000 (20:57 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 8 Sep 2009 11:56:31 +0000 (21:56 +1000)
commit29ba7765d90eda0b3d0f45f7a970272f0ef2ab2f
tree9ece67758a9ee31c50e1ec70fa7f4de6f5fac3a5
parent5b2b5abf4f630c28dc5f018ecced3894ae66f491
s4/ldb: added --show-binary command line option

This add --show-binary to ldbsearch. When this flag is set, binary
blobs will be shown as-is, instead of base64 encoded. This is useful
for some XML encoded attributes, and will also be used as part of some
NDR print formatting for attributes like repsTo.
source4/lib/ldb/common/ldb_ldif.c
source4/lib/ldb/include/ldb.h
source4/lib/ldb/include/ldb_module.h
source4/lib/ldb/ldb_tdb/ldb_index.c
source4/lib/ldb/tools/cmdline.c
source4/lib/ldb/tools/cmdline.h