Web lists-archives.com

Re: [Samba] error on the modificed permission

Witch Administrator user, if i check enter in the share samba, I optain

a window in which he tells me to enter a username that has permission to access the share

Il 11/02/2019 11:19, Rowland Penny via samba ha scritto:
On Mon, 11 Feb 2019 10:50:06 +0100
marco pirola via samba <samba@xxxxxxxxxxxxxxx> wrote:

This is my smb.conf

# Global parameters
security = ADS
workgroup = ROBINOOD
#dns forwarder =
log file = /var/log/samba/%m.log
log level = 1
vfs objects = acl_xattr
map acl inherit = yes
store dos attributes = yes
# Default ID mapping configuration for local BUILTIN accounts
# and groups on a domain member. The default (*) domain:
# - must not overlap with any domain ID mapping configuration!
# - must use a read-write-enabled back end, such as tdb.
idmap config * : backend = tdb
idmap config * : range = 3000-7999
# - You must set a DOMAIN backend configuration
# idmap config for the SAMDOM domain
idmap config ROBINOOD : backend = rid
idmap config ROBINOOD : range = 10000-999999
winbind use default domain = yes
username map = /etc/samba/user.map

path = /home/samba/samba/
read only = no
#valid user = +"domain users"

What is in '/etc/samba/user.map' ?

It should be:

!root = ROBINOOD\Administrator

If you log into a Windows machine as Administrator, open 'Computer
Manager' you should be able to navigate to the share and set

See here:


If whilst following that it fails, where does it fail and how ?


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba