[PATCH] Port of samba.security Python module

Lumir Balhar lbalhar at redhat.com
Mon May 22 14:24:11 UTC 2017


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-python-Port-samba.security-to-Python-3-compatible-fo.patch
Type: text/x-patch
Size: 2581 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170522/7c4834a1/0001-python-Port-samba.security-to-Python-3-compatible-fo.bin>


More information about the samba-technical mailing list