# Base server settings config samba ## Override if desired, defaults to hostname #option 'name' 'OpenWrt' #option 'workgroup' 'OpenWrt' #option 'description' 'Samba on OpenWrt' ## Expose user home directories, defaults to off option 'homes' '1' ## 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' # Declare a share on /tmp config sambashare option 'name' 'tmp' option 'path' '/tmp' option 'read_only' 'no' option 'guest_ok' 'no' option 'create_mask' '0700' option 'dir_mask' '0700' #option 'users' 'abc'