[packages_10.03.2] samba3: merge r28303 - r31247
[openwrt/svn-archive/archive.git] / net / samba3 / files / samba.config
index 3acff5d313070225ae398c01b6032e028fc3a32e..908f536e0f184bc9512a3a61407aea1f5a73c2f7 100644 (file)
@@ -1,14 +1,29 @@
+# Base server settings
 config samba
-       option 'name'                   'openwrt'
-       option 'workgroup'              'openwrt'
-       option 'description'    'openwrt'
-       option 'homes'                  '1'
-               
+       ## 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 'create_mask'            '0700'
        option 'dir_mask'               '0700'
        #option 'users'                 'abc'