Are there Python3 libraries for the net commands and etc?

Richard Sharpe realrichardsharpe at gmail.com
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 lists.samba.org> 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?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)



More information about the samba-technical mailing list