[Samba] smbcacls add acl issue

Jeremy Allison jra at samba.org
Tue Jun 21 17:42:16 MDT 2011


On Thu, Jun 16, 2011 at 12:00:18PM -0000,  Katariya Rahul  wrote:
> Hi ,
> 
> I am facing weird issue with samba 3.0.28 package on Cent OS 5.2.
> 
> Following is acl of the file hi.txt
> ===============================================================================
> # smbcacls //ntap/shkdata /RahulkTest/hi.txt -U QALAB\\Administrator%password
> REVISION:1
> OWNER:QALAB+administrator
> GROUP:QALAB+Domain Users
> ACL:QALAB+tempAcct1:ALLOWED/0/FULL
> ===============================================================================
> 
> I want to add acl  "ACL:+Everyone:ALLOWED/16/FULL"  for file hi.txt. 
> 
> But If I try to add, it gives following error:
> =================================================================================
> [root at shekok1 ~]# smbcacls -a "ACL:Everyone:ALLOWED/16/FULL"  //ntap/shkdata /RahulkTest/hi.txt -U QALAB\\Administrator%password
> cacl_set failed to open \RahulkTest\hi.txt: NT_STATUS_ACCESS_DENIED
> =================================================================================
>  
> 
> But if I try to add same acl with samba 3.0.23c, it is successful. 
> 
> Why it is an issue with latest versions as it works fine with older version 3.0.23c. 

Please try with the latest Samba release, 3.5.9. We are not providing
updates to 3.0.x anymore.

Jeremy.


More information about the samba mailing list