source: packages/net/samba3/files/samba.config @ 29505

Last change on this file since 29505 was 29505, checked in by jow, 4 years ago

[packages] samba3: various changes (#10531)

  • resolve ipv4 and ipv6 addresses of logical interface names and add them to the interfaces line
  • make charset uci-configurable and default to UTF-8
  • cleanup init script, annotate uci configuration
File size: 779 bytes
Line 
1# Base server settings
2config samba
3        ## Override if desired, defaults to hostname
4        #option 'name'                  'OpenWrt'
5        #option 'workgroup'             'OpenWrt'
6        #option 'description'           'Samba on OpenWrt'
7
8        ## Expose user home directories, defaults to off
9        option 'homes'                  '1'
10
11        ## Override character set, default is UTF-8
12        option 'charset'                'ISO-8859-1'
13
14        ## Override listen interfaces & addresses,
15        ## defaults to loopback and lan
16        #list 'interface'               'loopback'
17        #list 'interface'               'lan'
18        #list 'interface'               '10.0.0.0/255.255.0.0'
19        #list 'interface'               'eth0'
20
21# Declare a share on /tmp
22config sambashare
23        option 'name'                   'tmp'
24        option 'path'                   '/tmp'
25        option 'read_only'              'no'
26        option 'guest_ok'               'no'
27        option 'create_mask'            '0700'
28        option 'dir_mask'               '0700'
29        #option 'users'                 'abc'
Note: See TracBrowser for help on using the repository browser.