[Samba] Unable to change owner of the file through smbcacls

Katariya Rahul rahulrahulse at rediffmail.com
Wed Mar 23 03:33:57 MDT 2011


Hi ,

I am unable to change owner to Administrator of the file through smbcacls command. 

CIFS share is in french domain.

SMBACLS for the file are: 
==============================================================
 smbcacls -n //10.10.18.19/Rahulk\ test /test.txt -U es1kr\\èçîôû%èçîôû
REVISION:1
OWNER:ES1KR+èçîôû
GROUP:ES1KR+Utilisa. du domaine
ACL:+Tout le monde:DENIED/0/0x000d0116
ACL:ES1KR+èçîôû:ALLOWED/0/FULL



 smbcacls  -n //10.10.18.19/Rahulk\ test /test.txt -U es1kr\\Administrateur%QXXXXy
Failed to open \test.txt: NT_STATUS_ACCESS_DENIED

 smbcacls  -C es1kr\Administrateur\%QXXXXy //10.10.180.169/Rahulk\ test /test.txt -U es1kr\\Administrateur%QXXXXy
Failed to open \test.txt: NT_STATUS_ACCESS_DENIED


===========================================================

Although Administrator is not user, it can take ownership at any time. But this is not happening.




More information about the samba mailing list