1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-01-15 18:52:02 +01:00
OpenVoiceOS/buildroot-external/rootfs-overlay/etc/samba/smb.conf
j1nx 16da771266 Enable default windows shares
As a start the following directories are shared;
- Pictures
- Documents
- Music
2022-11-15 14:58:20 +01:00

43 lines
951 B
Plaintext

[global]
workgroup = OPENVOICEOS
netbios name = OVOS
log file = /var/log/samba/log.%m
max log size = 1000
logging = file
panic action = /usr/share/samba/panic-action %d
server role = standalone server
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
[Pictures]
path = /home/mycroft/Pictures
public = yes
guest only = yes
writable = yes
force create mode = 0666
force directory mode = 0777
browseable = yes
[Documents]
path = /home/mycroft/Documents
public = yes
guest only = yes
writable = yes
force create mode = 0666
force directory mode = 0777
browseable = yes
[Music]
path = /home/mycroft/Music
public = yes
guest only = yes
writable = yes
force create mode = 0666
force directory mode = 0777
browseable = yes