Katariya Rahul
2011-Mar-24 04:56 UTC
[Samba] Urgent: Unable to change owner of the file through smbcacls
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\\USERNAME%PASSWORD REVISION:1 OWNER:ES1KR+???reg;?? GROUP:ES1KR+Utilisa. du domaine ACL:+Tout le monde:DENIED/0/0x000d0116 ACL:ES1KR+???reg;??:ALLOWED/0/FULL smbcacls  -n //10.10.18.19/Rahulk\ test /test.txt -U es1kr\\Administrateur%PASSWORD 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%PASSWORD Failed to open \test.txt: NT_STATUS_ACCESS_DENIED ========================================================== Although Administrator is not a owner of the file, it should be able to take ownership at any time. But this is not happening.
Helmut Hullen
2011-Mar-24 06:24 UTC
[Samba] Urgent: Unable to change owner of the file through smbcacls
Hallo, Katariya, Du meintest am 24.03.11:> 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\\USERNAME%PASSWORD> REVISION:1> OWNER:ES1KR+???reg;??> GROUP:ES1KR+Utilisa. du domaine> ACL:+Tout le monde:DENIED/0/0x000d0116> ACL:ES1KR+???reg;??:ALLOWED/0/FULLNo ASCII - is that the problem? Viele Gruesse! Helmut
Katariya Rahul
2011-Mar-24 13:25 UTC
[Samba] Urgent: Unable to change owner of the file through smbcacls
password is having ascii characters. But path is non-ascii. I am able to mount it as password is in ascii. I am not able to change owner of the file to Administrator. On Thu, 24 Mar 2011 12:32:31 +0530 "Helmut Hullen" <Hullen at t-online.de> wrote >Hallo, Katariya, > >Du meintest am 24.03.11: > > >> 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\\USERNAME%PASSWORD > >> REVISION:1 > >> OWNER:ES1KR+???reg;?? > >> GROUP:ES1KR+Utilisa. du domaine > >> ACL:+Tout le monde:DENIED/0/0x000d0116 > >> ACL:ES1KR+???reg;??:ALLOWED/0/FULL > > >No ASCII - is that the problem? > >Viele Gruesse! >Helmut >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba >