[Samba] samba-tool ntacl sysvolreset - NT_STATUS_BUFFER_TOO_SMALL
L.P.H. van Belle
belle at bazuin.nl
Thu Oct 6 08:00:18 UTC 2016
Run the following.
Backup the current rights.
getfacl /usr/local/samba/var/locks/sysvol/mydomain.org.uk > sysvol-before.acl
now, copy (backup) the (domain sysvol) /usr/local/samba/var/locks/sysvol/mydomain.org.uk
Now remove all content from
run sysvol reset.
Get the rights applies by samba-tool
getfacl /usr/local/samba/var/locks/sysvol/mydomain.org.uk > sysvol-after.acl
copy the content back to /usr/local/samba/var/locks/sysvol/mydomain.org.uk/
reapply the all rights recursive.
setfacl -R -b -M sysvol-after.acl /usr/local/samba/var/locks/sysvol/mydomain.org.uk
try if that helps fixing sysvol.
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Jonathan Hunter
> via samba
> Verzonden: donderdag 6 oktober 2016 9:44
> Aan: samba
> Onderwerp: Re: [Samba] samba-tool ntacl sysvolreset -
> On 28 September 2016 at 14:54, Jonathan Hunter <jmhunter1 at gmail.com>
> > OK, I've traced this a little further on now.
> > I think I have followed the trail via the following items that call or
> > refer to each other in turn:
> In the meantime, as a workaround until I can figure out why
> 'samba-tool ntacl sysvolreset' is failing with this error... can I use
> 'setfacl -R' to set permissions on my sysvol share? My GPOs are
> failing at the moment and I am no further forward towards figuring out
> Does sysvolreset set different permissions at any point further down
> the sysvol directory structure, or can I just take the top level
> sysvol permissions and propagate them all the way down?
> (I'm now wondering why more people don't simply use setfacl -R.. there
> must be something else that sysvolreset does?)
> "If we knew what it was we were doing, it would not be called
> research, would it?"
> - Albert Einstein
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba