JSON input / output for CLI utilities

Andrew Walker awalker at ixsystems.com
Mon Jun 7 05:22:37 UTC 2021

On Mon, Jun 7, 2021 at 1:09 AM Raghavendra Talur via samba-technical <
samba-technical at lists.samba.org> wrote:

> > I know we've added JSON output to a few of the CLI utils. Over the past
> > year or so I've added this to various utils in FreeNAS (using
> libjansson).
> > Is there an overall strategy for this? I'd be happy to upstream what I
> have.
> Hi Andrew,
> I am looking at adding json format to the smbstatus output. I don't
> have anything working yet and will try to reuse the json util
> functions that you have in your working branch.
> Do you also have anything in the works for smbstatus?
> Thanks,
> Raghavendra Talur
> Yeah, I've already written JSON ouput for smbstatus. Actually have an open
MR for adding it that I've let linger for way too long. Can maybe clean
up / update next week.

More information about the samba-technical mailing list