I am build another Samba server as an Active Directory Domain Controller to replace an old and buggy one.
Every night I rsync the old one with the new one.
Now I am only changing the shares names in smb.conf in the new server for testing but, even with Administrator, I have no permission to assign groups and users to the shares using Windows. What I am doing wrong? I've tried using chmod 777, 0777 1777, 2777, 775, 755, 0755, 0775. Which permissions are the correct ones in this situation?
I am using a compiled version of samba, 4.1.16 today, in the new server. The smb.conf:
# Global parameters [global] workgroup = NEWDOM realm = ad.newdom.lan netbios name = DOM2 interfaces = lo eth0 bind interfaces only = Yes server role = active directory domain controller dns forwarder = 188.8.131.52 idmap_ldb:use rfc2307 = yes [netlogon] path = /var/lib/samba/sysvol/funarbe.org.br/scripts read only = no [sysvol] path = /var/lib/samba/sysvol read only = no [myshare1] path = /home/shares/share1 read only = no [theshare] path = /home/shares/share read only = no
[Edit] I am starting to think that it has something to do with ext4.