Displaying 2 results from an estimated 2 matches for "samba_share_users".
2020 Oct 25
3
GPO fail and sysvol perm errors
On 25/10/2020 20:37, Sonic wrote:
> The reset allowed the current GPO to take effect, but right after
> adding a new GPO (just named it, no editing, or linking) the
> sysvolcheck fails:
> # samba-tool ntacl sysvolcheck
> ERROR(<class 'samba.provision.ProvisioningError'>): uncaught exception
> - ProvisioningError: DB ACL on GPO directory
>
2020 Oct 26
7
GPO fail and sysvol perm errors
...A part of a new script i have, how i reset all folder and files.
It focues on a userhomedir here but it shows what i did.
The might be a faster/better way for it, but this worked for me.
You might want/need to transform that to the sysvol folders.
FindUser is the username found by the script.
SAMBA_SHARE_USERS is the path the the users share (in this case its
/srv/samba/users)
# Remove old ACL's.
echo "Removing old ACL's for: ${FindUser}"
setfacl --recursive --remove-all
"${SAMBA_SHARE_USERS}/${FindUser}"
# Make sure we remove...