[RFC PATCH 0/2] add JSON output to net ads
philipp.gesang at intra2net.com
Fri Jul 6 14:48:51 UTC 2018
the informational commands of the ``net ads'' family format their output in an
ad-hoc manner that is not specified. For automated processing it would be
useful to optionally encode the output as JSON.
These two patches against master add such a JSON output to ``net ads info'' and
``net ads lookup''. They have been forward-ported from the 4.7-ish Samba that
we run. Compilation succeeds with master but I'm still in the process of getting
working test environment, so they're virtually untested.
I'd appreciate your feedback.
Have a fun weekend,
Philipp Gesang (2):
s3: net: implement json output for ads info
s3: net: implement json output for ads lookup
source3/utils/net.c | 1 +
source3/utils/net.h | 1 +
source3/utils/net_ads.c | 184 ++++++++++++++++++++++++++++++++++++++++++++
source3/utils/wscript_build | 2 +
4 files changed, 188 insertions(+)
More information about the samba-technical