Are there Python3 libraries for the net commands and etc?

Richard Sharpe realrichardsharpe at
Thu Mar 31 20:02:32 UTC 2022

On Thu, Mar 31, 2022 at 10:57 AM John Mulligan via samba-technical
<samba-technical at> wrote:
> > We don't have bindings for these right now. It probably wouldn't be
> > difficult to add them though.
> I'm interested in contributing patches for this. I've already looked at the
> code needed to be wrapped (lib/smbconf and source3/lib/smbconf). I've even
> started prototyping.  I've done C/Python APIs before, but it's been a while
> and I'm rusty, so I'll probably start by making a draft merge request for a
> subset of these API to get early feedback.

How were you planning on dealing with the 'net conf list output'? As a
list of dictionaries, one per section or a dictionary of dictionaries?

Richard Sharpe

More information about the samba-technical mailing list