smbxcals
Partha Sarathi
parthasarathi.bl at gmail.com
Thu Jan 30 13:36:37 MST 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smbxcacls.c
Type: text/x-csrc
Size: 46533 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140130/0b86a6ee/attachment.c>
More information about the samba-technical
mailing list