[PATCH] Port of samba.security Python module

Lumir Balhar lbalhar at redhat.com
Mon Aug 7 14:48:39 UTC 2017


Is there any problem with this patch? I've tried to rebase it to the 
latest master and there is no conflict.

If the problem is that the module is unstested, could you please help me 
to write some test?

Thank you and have a nice day.


On 05/22/2017 04:24 PM, Lumir Balhar via samba-technical wrote:
> Hello.
> I've ported another Python C extension to Python 3 compatible form. 
> AFAIK there is only one usage of samba.security - found in 
> python/samba/netcmd/gpo.py on line 407. Usage of this module looks 
> very specific and complicated because it needs token from user session 
> and unpacked NDR objects as arguments and samba.security is not used 
> widely so I am not sure how to write tests for this function. Any 
> pointers would be appreciated..
> Have a nice day.
> Lumír

More information about the samba-technical mailing list