smbxcals

Richard Sharpe realrichardsharpe at gmail.com
Thu Jan 30 14:13:50 MST 2014


Hmmm,

But that is not a patch ... also, the default acl stuff is probably
specific to our environment and should be merged with the inheritance
stuff that was submitted for smbcacls.

Let me see if I can get it to compile on the master branch and submit
a patch with Partha' signed off by.


On Thu, Jan 30, 2014 at 12:36 PM, Partha Sarathi
<parthasarathi.bl at gmail.com> wrote:
> Hi all,
>
> Attached the 'smbxcacls.c'  file for your review, Which does all of the
> operations like smbcacls and also few other options to check performance on
> XATTR. There also is an option to add DEFAULT  NTACLs on the POSIX created
> Folders/files.
>
>
>
>
> On Thu, Jan 30, 2014 at 11:53 AM, Jeremy Allison <jra at samba.org> wrote:
>
>> On Thu, Jan 30, 2014 at 10:51:15AM -0800, Partha Sarathi wrote:
>> > HI ,
>> >
>> > We have come up with a utility called smbxcals which is derived from
>> > smbcals, where we no need to establish the client connection to perform
>> > ACLs operations, by just giving the absolute path as a paratmeter can
>> list
>> > and set ACLs as below,
>> >
>> >
>> > # smbxcacls /root/FOO/
>> > REVISION:1
>> > CONTROL:0x8404
>> > OWNER:DEMOSP\Administrator
>> > GROUP:DEMOSP\Domain Users
>> > ACL:BUILTIN\Administrators:ALLOWED/OI|CI|I/FULL
>> > ACL:DEMOSP\Administrator:ALLOWED/I/FULL
>> > ACL:\CREATOR OWNER:ALLOWED/OI|CI|IO|I/FULL
>> > ACL:BUILTIN\Users:ALLOWED/OI|CI|I/READ
>> >
>> >
>> > By doing above it will be use full to set and get ACLs back door rather
>> > than from icacls.
>> >
>> > Please let me know if you are interested I can post the patch.
>>
>> Yes, please post the patch to samba-technical !
>>
>> Thanks,
>>
>> Jeremy.
>>
>
>
>
> --
> Thanks & Regards
> -Partha



-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list