Is samba.netbios (pynbt.c) useful?

Alexander Bokovoy ab at samba.org
Wed May 31 17:23:17 UTC 2017


On ke, 31 touko 2017, Christopher R. Hertel via samba-technical wrote:
> You might also want to take a look at https://github.com/ubiqx-org/Carnaval/
> 
> I haven't gotten around to committing any real SMB code, but the NBT
> implementation is complete and fairly well documented.
> 
> I don't know what your goal is, but if you just want an NBT implementation
> in Python then Carnaval is probably a good starting point.
Lumir is porting Samba Python bindings to Python 3. I guess your answer
is that samba.netbios code is not used much and can be removed.

:)

> 
> Chris -)-----
> 
> On 05/31/2017 07:03 AM, Lumir Balhar via samba-technical wrote:
> > Hello.
> > 
> > I wanted to start with porting the module samba.netbios (libcli/nbt/pynbt.c)
> > to Python 3 compatible form, but when I was looking for the tests, I found
> > out that this module is used only in example code in
> > python/examples/netbios.py.
> > 
> > Could you please help me to find tests for this module or at least usage of
> > this module so I can write new tests?
> > 
> > Thanks a lot and have a nice day.
> > 
> > Lumír
> > 
> > 
> 

-- 
/ Alexander Bokovoy



More information about the samba-technical mailing list