#mkdir /srv/share
#chmod 777 /srv/share
/etc/samba/smb.conf
добавить ресурс:
[share] path = /srv/share public = no writable = yes read only = no guest ok = no valid users = "@TEST\Domain Users" "@TEST\Domain Admins" create mask = 0666 directory mask = 0777 force create mode = 0666 force directory mode = 0777 inherit owner = yesгде TEST — имя домена, Domain Users и Domain Admins — группы пользователей, которым разрешен доступ к каталогу.
# systemctl restart samba