[Samba] Permission denied while trying to setup share with RSAT
Rowland Penny
rpenny at samba.org
Tue Dec 12 17:42:09 UTC 2023
On Tue, 12 Dec 2023 13:11:14 +0100
Peter Milesson via samba <samba at lists.samba.org> wrote:
> Hi folks,
>
> AD Member server with Samba 4.19.3 from Debian Bookworm backports. AD
> DC also Samba 4.19.3 from Debian Bookworm backports. smb.conf last in
> the message.
>
> When trying to setup a share with RSAT as Administrator, every
> operation fails with the error message:
>
> "An error occurred while applying security information to:"
> \\DATASRV\groble$
> Failed to enumerate objects in the container. Access is denied.
>
> The only operation that succeeds is changing ownership
>
> I setup the directory the usual way according to the Samba Wiki
>
> mkdir -p /data/groble
> chown root:"Domain Admins" /data/groble
> chmod 0770 /data/groble
>
> and defined it in smb.conf as
>
> [groble$]
> comment = Roaming profiles
> path = /data/groble/
> read only = no
> acl_xattr:ignore system acls = yes
> hide dot files = no
> csc policy = disable
>
That share appears to be for 'roaming profiles', so I suggest you read
this wiki page and then follow it to the letter:
https://wiki.samba.org/index.php/Roaming_Windows_User_Profiles
Follow the 'Using Windows ACLs' section.
I also suggest you connect from Windows as a member of Domain Admins.
Rowland
More information about the samba
mailing list