PATCHS: manipulation of NT ACL in command line

Matthieu Patou mat+Informatique.Samba at matws.net
Mon Dec 7 09:31:16 MST 2009


Andrew,

Following your remarks and what we said on the phone last time.

The two points addressed are:

* on systems without XATTR tests are skipped so that they should not fail
* provision takes a flag --nofileacl which make setting the file acl the 
default now (as you requested) but in order not to destroy existing test 
I included a patch for adding --nofileacl to all this tests.


Patchs are also available here (the last 9).

http://repo.or.cz/w/Samba/ekacnet.git/shortlog/refs/heads/ntacls

Matthieu
On 24/11/2009 05:46, Andrew Bartlett wrote:
> On Fri, 2009-11-20 at 17:55 +0300, Matthieu Patou wrote:
>    
>> Hello, this is a rework of this,
>>
>> 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-Create-a-library-for-xattr-python-bindings.patch: This patch
>> allow to create a .so with the python binding generated code for xattr.idl
>> 0004-s4-add-python-bindings-for-wrap_-s-g-etxattr.patch: This patch
>> allow to create a .so with the python binding generated code for xattr.idl
>> 0005-s4-Create-unit-tests-for-python-samba.xattr-module.patch: Unit
>> tests for the above stuff
>> 0006-s4-regroup-gpo-modification-in-one-function-set-acl-.patch: Use the
>> above functions for setacl on GPO objects.
>>      
> What happens on systems without the xattrs?
>
> You may need to skip the tests like we do on systems without gnutls
>
> Otherwise, the patch looks good.
>
>    



More information about the samba-technical mailing list