PATCHS: manipulation of NT ACL in command line

Matthieu Patou mat+Informatique.Samba at matws.net
Mon Nov 9 14:29:20 MST 2009


Dear all,

Please find attached a huge serie of patchs related to NTACL 
manipulation in command line or in python scripts.

0001-s4-utils-recreate-setntacl-and-improve-setntacl.patch: Creation of 
the setntacl utils which allow to set the NTACL from commandline from 
its SDDL representation. It also add the option to export the NTACL as a 
SDDL
0002-s4-Create-torture-test-for-samba-utils.patch: This patch a simple 
torture test for getntacl and setntacl.
0003-S4-Allow-an-optional-parameter-in-generated-python-b.patch: This 
patch for the PIDL generator. With this patch the generated python code 
allow the specification of a "notallflag" so that either 
ndr_pull_struct_blob or ndr_pull_struct_blob_all can be used. This patch 
follow the talk that I had with metze today on IRC about on how to 
workaround the wrong calculation of consumed bytes when unpacking an 
xattr.NTACL object
0004-s4-Create-a-library-for-xattr-python-bindings.patch: This patch 
allow to create a .so with the python binding generated code for xattr.idl
0005-s4-add-python-bindings-for-wrap_-s-g-etxattr.patch: This patch add 
the python bindings for wrap_getxattr and wrap_setxattr
0006-s4-Create-unit-tests-for-python-glue-module.patch: This patch add 
torture test for the
0007-s4-regroup-gpo-modification-in-one-function-set-acl-.patch: This 
patch regroup GPO related stuff in provision (and remove them from setup 
samdb) it also make provision to set NT ACL on GPO files with rights 
synchronized with those in the AD.

Please let me know ...

Matthieu.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-s4-Create-a-library-for-xattr-python-bindings.patch
Type: text/x-patch
Size: 1805 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091110/e6cd55c5/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-s4-regroup-gpo-modification-in-one-function-set-acl-.patch
Type: text/x-patch
Size: 6040 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091110/e6cd55c5/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-s4-add-python-bindings-for-wrap_-s-g-etxattr.patch
Type: text/x-patch
Size: 4004 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091110/e6cd55c5/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-s4-Create-unit-tests-for-python-glue-module.patch
Type: text/x-patch
Size: 2298 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091110/e6cd55c5/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-S4-Allow-an-optional-parameter-in-generated-python-b.patch
Type: text/x-patch
Size: 3034 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091110/e6cd55c5/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s4-utils-recreate-setntacl-and-improve-setntacl.patch
Type: text/x-patch
Size: 8338 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091110/e6cd55c5/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-s4-Create-torture-test-for-samba-utils.patch
Type: text/x-patch
Size: 8610 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091110/e6cd55c5/attachment-0013.bin>


More information about the samba-technical mailing list