[Samba] Fwd: Administrator User Has no access to Remote File Server

ralph strebbing blackbirdralph at gmail.com
Wed Dec 8 14:11:49 UTC 2021


On Wed, Dec 8, 2021 at 2:57 AM L.P.H. van Belle via samba
<samba at lists.samba.org> wrote:
> So, looks like /storage/netfiles/ is missing rights.
>
> Add in the Permissions.
> Domain Users, read & execute, Non inherited, Applies to "this folder only"
> See if that helps, this gives all users, the right to enter that folder/share.

The netfiles folder is just the parent folder to all of the shares.

> The other pittfall..The recent updates..
>
> Did you add what Rowland also asked?
> To add  'min domain uid = 0' to the smb.conf
>
> And.. Make sure this is set.
>     # user Administrator workaround, without it you are unable to set privileges
>     username map = /etc/samba/samba_usermapping
> Content : !root = ADDOM_CHANGE_IT\Administrator ADDOM_CHANGE_IT\administrator

I did add what Rowland suggested, however only after adding
ADDOM_CHANGE_IT\administrator to the user.map file, and removing all
groups from Administrator except:
Domain Admin
Administrators
Enterprise Admins
Schema Admins
Domain Users

It seems to be functioning normally now. I'm able to unilaterally
access any folder regardless of permissions set now, which was the
goal. It may very well have been the other groups added to the
Administrator user, would be interested to have that confirmed. I
appreciate the help and guidance!

Regards,
Ralph



More information about the samba mailing list