root@Gargoyle:~$ uci show samba
uci: Parse error (invalid character in field) at line 31, byte 8
root@Gargoyle:~$ vi /etc/config/samba
# Base server settings
config samba
option 'name' 'OpenWrt'
option 'workgroup' 'WORKGROUP'
option 'description' 'openwrt'
option 'homes' '0'
## Override character set, default is UTF-8
option 'charset' 'ISO-8859-1'
## Override listen interfaces & addresses,
## defaults to loopback and lan
#list 'interface' 'loopback'
#list 'interface' 'lan'
#list 'interface' '10.0.0.0/255.255.0.0'
#list 'interface' 'eth0'
config sambashare
option 'name' 'Muzyka'
option 'path' '/mnt/hdd1/Muzyka'
option 'read_only' 'no'
option 'guest_ok' 'no'
option 'create_mask' '0777'
option 'dir_mask' '0777'
option 'users' 'domi'
config sambashare
option 'name' 'Film'
option 'path' '/mnt/hdd1/Film'
option 'read only' 'no'
option 'guest_ok' 'no'
option 'create_mask' '0777'
option 'dir_mask' '0777'
option 'users' 'domi'
config sambashare
option 'name' 'Photos'
option 'path' '/mnt/hdd1/Photos'
option 'read only' 'no'
option 'guest_ok' 'no'
option 'create_mask' '0777'
option 'dir_mask' '0777'
option 'users' 'domi'