-
Notifications
You must be signed in to change notification settings - Fork 0
Configuring Samba
Volodymyr Huz edited this page Nov 23, 2019
·
3 revisions
Add support Samba shares by Windows PC
sudo nano /etc/samba/smb.conf
Add the following record to enable WINS support
wins support = yes
Add user as Samba user and setup password
sudo smbpasswd -a osmc
Set user as owner and give him write access to the share, for example openhab user on openhab shares
sudo chown -hR openhab:openhab /etc/openhab2 /opt/openhab2/conf
Restart Samba to load the new settings
sudo systemctl restart smbd.service