#
Create new share
To create a new share you must
- make a directory to share
- change the owner to the domain admin:
chown administrator:"domain users" /mnt/<share name>
- chnage the permissions `chmod 770 /mnt/
Now add the following config at the end of your samba config (located in /etc/samba/smb.conf
)
config
[<share name>]
path = /mnt/<share name>
read only = no
inherit acls = Yes
After you modified it restart all necessary services
systemctl restart smbd nmbd winbind wsdd