Web lists-archives.com

[Samba] Access denied to change share security staff

Hello all;
I have problem with shares in a domain member used as file server (I want to use it like that)
I check from samba wiki some test that you suggest and all have been pass well. I try to make a new share using POSIX ACL and still not access.
To make the share and apply the permissions and owners:

[root@gtmpve lib]# mkdir -p /compartido/prueba/
[root@gtmpve lib]# chmod 2770 /compartido/prueba/
[root@gtmpve lib]# chown root:"ATGTM00\domain admins" /compartido/prueba/ 

My smb.conf look lik that:

[root@gtmpve lib]# cat /etc/samba/smb.conf 
netbios name = gtmpve
security = ADS
workgroup = ATGTM00

log file = /var/log/samba/%m.log
log level = 10

idmap config *:backend = tdb
idmap config *:range = 3000-7999

idmap config ATGTM00:backend = rid
idmap config ATGTM00:range = 10000-999999

winbind nss info = template
winbind enum groups = yes
winbind enum users = yes

template shell = /bin/bash
template homedir = /home/%U

vfs objects = acl_xattr
map acl inherit = yes
store dos attributes = yes
create mask = 0666
directory mask = 0777
dos filemode = yes
acl allow execute always = yes

guest account = nobody
map to guest = Bad User

server string = Servidor de archivos #2
server role = member server
local master = no
domain master = no
preferred master = no

load printers = no
printcap name = /dev/null
disable spoolss = yes

path = /compartido/prueba/
read only = no
valid users = +ATGTM00\"Domain Users"

The /etc/krb5.conf is like this:

dns_lookup_realm = false
dns_lookup_kdc = true
default_realm = GTM.ONAT.GOB.CU

This are some of the test and results:

[root@gtmpve lib]# getent passwd 'ATGTM00\rommel'
ATGTM00\rommel:*:11144:10513:Rommel Rodriguez Toirac:/home/rommel:/bin/bash

[root@gtmpve lib]# wbinfo --ping-dc
checking the NETLOGON for domain[ATGTM00] dc connection to "gtmad.gtm.onat.gob.cu" succeeded

[root@gtmpve lib]# getent hosts gtmpve gtmpve.gtm.onat.gob.cu gtmpve

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