1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
|
<HTML>
<HEAD>
<TITLE>[Appendix C] Samba Configuration Option Quick Reference</title>
</head>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" link="#990000" vlink="#0000CC">
<table BORDER="0" CELLPADDING="0" CELLSPACING="0" width="90%">
<tr>
<td width="25%" valign="TOP">
<img hspace=10 vspace=10 src="gifs/samba.s.gif"
alt="Using Samba" align=left valign=top border=0>
</td>
<td height="105" valign="TOP">
<br>
<H2>Using Samba</H2>
<font size="-1">
Robert Eckstein, David Collier-Brown, Peter Kelly
<br>1st Edition November 1999
<br>1-56592-449-5, Order Number: 4495
<br>416 pages, $34.95
</font>
<p> <a href="http://www.oreilly.com/catalog/samba/">Buy the hardcopy</a>
<p><a href="index.html">Table of Contents</a>
</td>
</tr>
</table>
<hr size=1 noshade>
<!--sample chapter begins -->
<center>
<DIV CLASS="htmlnav">
<TABLE WIDTH="515" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="172">
<A CLASS="sect1" HREF="appb_03.html" TITLE="B.3 Sizing Samba Servers">
<IMG SRC="gifs/txtpreva.gif" ALT="Previous: B.3 Sizing Samba Servers" BORDER="0"></a></td><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="171">
<B>
<FONT FACE="ARIEL,HELVETICA,HELV,SANSERIF" SIZE="-1">
Appendix C</font></b></td><TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="172">
<A CLASS="appendix" HREF="appd_01.html" TITLE="D. Downloading Samba with CVS">
<IMG SRC="gifs/txtnexta.gif" ALT="Next: D. Downloading Samba with CVS" BORDER="0"></a></td></tr></table> <hr noshade size=1></center>
</div>
<blockquote>
<div class="samplechapter">
<H1 CLASS="appendix">
<A CLASS="title" NAME="appc-23653">
C. Samba Configuration Option Quick Reference</a></h1><P CLASS="para">The following pages list each of the Samba configuration options. If an option is applicable only to the global section, "[global]" will appear before its name. Any lists mentioned are space separated, except where noted. A glossary of terms follows the options.</p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>admin users = user list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: user list</p>
<P CLASS="para">
List of users who will be granted root permissions on the share by Samba.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>allow hosts = host list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: any</p>
<P CLASS="para">
Synonym for <CODE CLASS="literal">
hosts allow</code>. List of machines that may connect to a share.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>alternate permissions = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Obsolete. Has no effect in Samba 2. Files will be shown as read-only if the owner can't write them. In Samba 1.9 and earlier, setting this option would set the DOS filesystem read-only attribute on any file the user couldn't read. This in turn required the <CODE CLASS="literal">
delete readonly</code> option.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] announce as = system type</i></b>
<P CLASS="refpurpose">Default: NT</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: NT, Win95, WfW</p>
<P CLASS="para">
Have Samba announce itself as something other than an NT server. Discouraged because it interferes with serving browse lists.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] announce version = number.number</i></b>
<P CLASS="refpurpose">Default: 4.2</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: any</p>
<P CLASS="para">
Instructs Samba to announce itself as an older version SMB server. Discouraged.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] auto services = share list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: any shares</p>
<P CLASS="para">
List of shares that will always appear in browse lists. A synonym is <CODE CLASS="literal">
preload</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>available = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to NO, denies access to a share. Doesn't affect browsing.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] bind interfaces only = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to YES, shares and browsing will be provided only on interfaces in an interfaces list (see <CODE CLASS="literal">
interfaces</code>). New in Samba 1.9.18. If you set this option to YES, be sure to add 127.0.0.1 to the interfaces list to allow <EM CLASS="emphasis">
smbpasswd</em> to connect to the local machine to change passwords. This is a convienence option; it does not improve security.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>browsable = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Allows a share to be announced in browse lists.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>blocking locks = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, honors byte range lock requests with time limits for queuing the request and retrying it until the time period expires. New in Samba 2.0.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] browse list = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Turns on/off <CODE CLASS="literal">
browse</code> <CODE CLASS="literal">
list</code> from this server. Avoid changing.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] case sensitive = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, uses exactly the case the client supplied when trying to resolve a filename. If NO, matches either upper- or lowercase name. Avoid changing.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] case sig names = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Synonym for <CODE CLASS="literal">
case sensitive</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] change notify timeout = number</i></b>
<P CLASS="refpurpose">Default: 60</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: positive number</p>
<P CLASS="para">
Sets the number of seconds between checks when a client asks for notification of changes in a directory. Introduced in Samba 2.0 to limit the performance cost of the checks. Avoid lowering.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>character set = name</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: ISO8859-1, ISO8859-2, ISO8859-5, KOI8-R</p>
<P CLASS="para">
If set, translates from DOS code pages to the Western European (ISO8859-1), Eastern European (ISO8859-2), Russian Cyrillic (ISO8859-5), or Alternate Russian (KOI8-R) character set. The <CODE CLASS="literal">
client code page</code> must be set to 850.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>client code page = name</i></b>
<P CLASS="refpurpose">Default: 437 (US MS-DOS)</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: See <a href="ch08_03.html#ch08-20815"><b>Table 8.4</b></a></p>
<P CLASS="para">
Sets the DOS code page explicitly, overriding any previous <CODE CLASS="literal">
valid chars</code> settings. Examples of values are 850 for European, 437 is the US standard, and 932 for Japanese Shift-JIS. Introduced in Samba 1.9.19.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>coding system = code</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: euc, cap, hex, hexN, sjis, j8bb, j8bj, jis8, j8bh, j8@b, j8@j, j8@h, j7bb, j7bj, jis7, j7bh, j7@b, j7@j, j7@h, jubb, jubj, junet, jubh, ju@b, ju@j, ju@h</p>
<P CLASS="para">
Sets the coding system used, notably for Kanji. This is employed for filenames and should correspond to the code page in use. The <CODE CLASS="literal">
client code page</code> option must be set to 932 (Japanese Shift-JIS). Introduced in Samba 2.0.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>comment = text</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: a text string or NULL</p>
<P CLASS="para">
Sets the comment that appears beside a share in a NET VIEW or the details list of a Microsoft directory window. See also the <CODE CLASS="literal">
server string</code> configuration option.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] config file = pathname</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: Unix pathname</p>
<P CLASS="para">
Selects an additional Samba configuration file to read instead of the current one. Used to relocate the configuration file, or used with %-variables to select custom configuration files for some users or machines. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>copy = section name</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: existing section's name</p>
<P CLASS="para">
Copies the configuration of a previously seen share into the share where it appears. Used with %-variables to select custom configurations for machines, architectures and users. The copied section must be earlier in the configuration file. Copied options are of lesser priority than those explicitly listed in the section.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>create mask = octal value</i></b>
<P CLASS="refpurpose">Default: 0744</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: octal permission bits, 0-0777</p>
<P CLASS="para">
Also called <CODE CLASS="literal">
create mode</code>. Sets the maximum allowable permissions for new files (e.g., 0755). See also <CODE CLASS="literal">
directory mask</code>. To require certain permissions to be set, see <CODE CLASS="literal">
force create mask/force directory mask</code>. This option stopped affecting directories in Samba 1.9.17, and the default value changed in Samba 2.0.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>create mode = octal permission bits</i></b>
<P CLASS="refpurpose">Default: 0744</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: octal permission bits, 0-0777</p>
<P CLASS="para">
Synonym for <CODE CLASS="literal">
create mask</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] deadtime = minutes</i></b>
<P CLASS="refpurpose">Default: 0 </p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: minutes</p>
<P CLASS="para">
The time in minutes before an unused connection will be terminated. Zero means forever. Used to keep clients from tying up server resources forever. If used, clients will have to auto-reconnect after minutes of inactivity. See also <CODE CLASS="literal">
keepalive</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] debug level = number</i></b>
<P CLASS="refpurpose">Default: 0</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number</p>
<P CLASS="para">
Sets the logging level used. Values of 3 or more slow Samba noticeably. A synonym is <CODE CLASS="literal">
log level</code>. Recommended value: 1.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] debug timestamp = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Timestamps all log messages. Can be turned off when it's not useful (e.g., in debugging). New in Samba 2.0.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] default = name</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: share name</p>
<P CLASS="para">
Also called <CODE CLASS="literal">
default service</code>. The name of a service (share) to provide if someone requests a service they don't have permission to use or which doesn't exist. As of Samba 1.9.14, the path will be set from the name the client specified, with any "_" characters changed to "/" characters, allowing access to any directory on the Samba server. Use is strongly discouraged.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>default case = case</i></b>
<P CLASS="refpurpose">Default: LOWER</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: LOWER, UPPER</p>
<P CLASS="para">
Sets the case in which to store new filenames. LOWER indicates mixed case, UPPER indicates uppercase letters.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] default service = share name</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: share name</p>
<P CLASS="para">
Synonym for <CODE CLASS="literal">
default</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>delete readonly = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: NO, YES</p>
<P CLASS="para">
Allow delete requests to remove read-only files. This is not allowed in DOS/Windows, but is normal in Unix, which has separate directory permissions. Used with programs like RCS, or with the older <CODE CLASS="literal">
alternate permissions</code> option.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>delete veto files = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: NO, YES</p>
<P CLASS="para">
Allow delete requests for a directory containing files or subdirectories the user can't see due to the <CODE CLASS="literal">
veto files</code> option. If set to NO, the directory will not be deleted and will still contain invisible files.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>deny hosts = host list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: host list</p>
<P CLASS="para">
A synonym is <CODE CLASS="literal">
hosts deny</code>. Specifies a list of machines from which to refuse connections or shares.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] dfree command = command</i></b>
<P CLASS="refpurpose">Default: varies</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: shell command</p>
<P CLASS="para">
A command to run on the server to return disk free space. Not needed unless the OS command does not work properly.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>directory = pathname</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: pathname</p>
<P CLASS="para">
Synonym for <CODE CLASS="literal">
path</code>. A directory provided by a file share, or used by a printer share. Set automatically in the <CODE CLASS="literal">
[homes]</code> share to user's home directory, otherwise defaults to<I CLASS="filename">
/tmp</i>. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>directory mask = octal permission bits</i></b>
<P CLASS="refpurpose">Default: 0755</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: octal value from 0 to 0777</p>
<P CLASS="para">
Also called <CODE CLASS="literal">
directory mode</code>. Sets the maximum allowable permissions for newly created directories. To require certain permissions be set, see the <CODE CLASS="literal">
force create mask</code> and <CODE CLASS="literal">
force directory mask</code> options.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>directory mode = octal permission bits</i></b>
<P CLASS="refpurpose">Default: 0755</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: octal value from 0 to 0777</p>
<P CLASS="para">
Synonym for <CODE CLASS="literal">
directory mask</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] dns proxy = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to YES, and if <CODE CLASS="literal">
wins server = YES</code>, look up hostnames in DNS if they are not found using WINS.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] domain logons = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Allow Windows 95/98 or NT clients to log on to an NT-like domain.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] domain master = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Become a domain master browser list collector if possible for the entire workgroup/domain. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>dont descend = comma-list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: comma-separated list of paths</p>
<P CLASS="para">
Does not allow a change directory or search in the directories specified. This is a browsing convenience option; it doesn't provide any extra security.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>dos filetimes = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Allow non-owners to change file times if they can write to the file. See also <CODE CLASS="literal">
dos filetime resolution</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>dos filetime resolution = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Set file times on Unix to match DOS standards (round to next even second). Recommended if using Visual C++ or a PC <EM CLASS="emphasis">
make</em> program to avoid remaking the programs unnecesarily. Use with the <CODE CLASS="literal">
dos filetimes</code> option.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] encrypt passwords = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Uses Windows NT-style password encryption. Requires an <I CLASS="filename">
smbpasswd</i> on the Samba server.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>exec = command</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: shell command</p>
<P CLASS="para">
Synonym of <CODE CLASS="literal">
preexec</code>, a command to run as the user just before connecting to the share.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>fake directory create times = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Bug fix for users of Microsoft <EM CLASS="emphasis">
nmake</em>. If set, Samba will set directory create times such that <EM CLASS="emphasis">
nmake</em> won't remake all files every time.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>fake oplocks = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Return YES whenever a client asks if it can lock a file and cache it locally, but does not enforce lock on the server. Use only for read-only disks, as Samba now supports real <CODE CLASS="literal">
oplocks</code> and has per-file overrides. See also <CODE CLASS="literal">
oplocks</code> and <CODE CLASS="literal">
veto oplock files</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>follow symlinks = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, Samba will follow symlinks in a file share or shares. See the <CODE CLASS="literal">
wide links</code> option if you want to restrict symlinks to just the current share.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>force create mask = octal permission bits</i></b>
<P CLASS="refpurpose">Default: 0</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: octal value from 0 to 0777</p>
<P CLASS="para">
Provides bits that will be <CODE CLASS="literal">
OR</code>ed into the permissions of newly created files. Used with the <CODE CLASS="literal">
create mode</code> configuration option.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>force create mode = octal permission bits</i></b>
<P CLASS="refpurpose">Default: 0</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: octal value from 0 to 0777</p>
<P CLASS="para">
Synonym for <CODE CLASS="literal">
force create mask</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>force directory mask = octal permission bits</i></b>
<P CLASS="refpurpose">Default: 0</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: octal value from 0 to 0777</p>
<P CLASS="para">
Provides bits that will be <CODE CLASS="literal">
OR</code>ed into the permissions of newly created directories, forcing those bits to be set. Used with <CODE CLASS="literal">
directory mode</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>force directory mode = octal permission bits</i></b>
<P CLASS="refpurpose">Default: 0</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: octal value from 0 to 0777</p>
<P CLASS="para">
Synonym for <CODE CLASS="literal">
force</code> <CODE CLASS="literal">
directory</code> <CODE CLASS="literal">
mask</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>force group = unix group</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: group</p>
<P CLASS="para">
Sets the effective group name assigned to all users accessing a share. Used to override user's normal groups.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>force user = name</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: username</p>
<P CLASS="para">
Sets the effective username assigned to all users accessing a share. Discouraged.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>fstype = string</i></b>
<P CLASS="refpurpose">Default: NTFS</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: NTFS, FAT, Samba</p>
<P CLASS="para">
Sets the filesystem type reported to the client. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] getwd cache = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Cache current directory for performance. Recommended with the <CODE CLASS="literal">
wide links</code> option.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>group = group</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: unix group</p>
<P CLASS="para">
An obsolete form of <CODE CLASS="literal">
force group</code>. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>guest account = user</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: username</p>
<P CLASS="para">
Sets the name of the unprivileged Unix account to use for tasks like printing and for accessing shares marked with <CODE CLASS="literal">
guest ok</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>guest ok = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, passwords are not needed for this share. Synonym of <CODE CLASS="literal">
public</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>guest only = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Forces user of a share to do so as the guest account. Requires <CODE CLASS="literal">
guest</code> <CODE CLASS="literal">
ok</code> or <CODE CLASS="literal">
public</code> to be <CODE CLASS="literal">
yes</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>hide dot files = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Treats files beginning with a dot in a share as if they had the DOS/Windows hidden attribute set.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>hide files = slash-separated list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: list of patterns, separated by <CODE CLASS="literal">
/</code> characters</p>
<P CLASS="para">
List of file or directory names to set the DOS hidden attribute on. Names may contain <CODE CLASS="literal">
?</code> or <CODE CLASS="literal">
*</code> pattern-characters and <CODE CLASS="literal">
%</code>-variables. See also <CODE CLASS="literal">
hide</code> <CODE CLASS="literal">
dot</code> <CODE CLASS="literal">
files</code> and <CODE CLASS="literal">
veto</code> <CODE CLASS="literal">
files</code>. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] homedir map = NIS map name</i></b>
<P CLASS="refpurpose">Default: auto.home</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: NIS map name</p>
<P CLASS="para">
Used with <CODE CLASS="literal">
nis homedir</code> to locate user's Unix home directory from Sun NIS (not NIS+).</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>hosts allow = host list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: list of hostnames</p>
<P CLASS="para">
Synonym of <CODE CLASS="literal">
allow hosts</code>, a list of machines that can access a share or shares. If NULL (the default) any machine can access the share unless there is a <CODE CLASS="literal">
hosts deny</code> option. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>hosts deny = host list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: list of hostnames</p>
<P CLASS="para">
Synonym of <CODE CLASS="literal">
deny hosts</code>, a list of machines that cannot connect to a share or shares. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] hosts equiv = pathname</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: pathname</p>
<P CLASS="para">
Path to a file of trusted machines from which password-less logins are allowed. Strongly discouraged, because Windows/NT users can always override the user name, the only security in this scheme.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>include = pathname</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: pathname</p>
<P CLASS="para">
Include the named file in <I CLASS="filename">
smb.conf</i> at the line where it appears. This option does not understand the variables <CODE CLASS="literal">
%u</code> (user), <CODE CLASS="literal">
%P</code> (current share's root directory), or <CODE CLASS="literal">
%S</code> (current share name), because they are not set at the time the file is read.</p>
</div>
</blockquote>
</div>
<p> </p>
<!-- added for 2.0.7,. davecb -->
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>inherit permissions = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set, subdirectories will be created with the same permissions
as the directory they are in. This overrides
<CODE CLASS="literal">create mask, directory mask, force create mode
</CODE> and <CODE CLASS="literal"> force directory mode</CODE>, but
not <CODE CLASS="literal">map archive, map hidden </CODE> and <CODE CLASS="literal">
map system</CODE>. Will never set the <CODE CLASS="literal">setuid
</CODE> bit. New in 2.0.7, this is a means of ensuring Unix permissions
can be propagated to subdirectories, especially in [homes].<p>
</div>
</blockquote>
</div>
<p> </p>
<!-- end of 2.0.7 -->
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] interfaces = interface list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: IP addresses separated by spaces</p>
<P CLASS="para">
Sets the interfaces to which Samba will respond. The default is the machine's primary interface only. Recommended on multihomed machines or to override erroneous addresses and netmasks.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>invalid users = user list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: list of users</p>
<P CLASS="para">
List of users that will not be permitted access to a share or shares. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] keepalive = number</i></b>
<P CLASS="refpurpose">Default: 0</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number of seconds</p>
<P CLASS="para">
Number of seconds between checks for a crashed client. The default of 0 causes no checks to be performed. Recommended if you want checks more often than every four hours. 3600 (10 minutes) is reasonable. See also <CODE CLASS="literal">
socket options</code> for another approach.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] kernel oplocks = boolean</i></b>
<P CLASS="refpurpose">Default: automatic</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Break oplock when a Unix process accesses an <EM CLASS="emphasis">
oplocked</em> file, preventing corruption. Set to YES on operating systems supporting this, otherwise set to NO. New in Samba 2.0; supported on SGI, and hopefully soon on Linux and BSD. Avoid changing.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] ldap filter = various</i></b>
<P CLASS="refpurpose">Default: varies</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: various</p>
<P CLASS="para">
Options beginning with <CODE CLASS="literal">
ldap</code> are part of an experimental (circa Samba 2.0) use of the Lightweight Directory Access Protocol (LDAP) general directory/distributed database for user, name, and host information. This option is reserved for future use.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] ldap port = various</i></b>
<P CLASS="refpurpose">Default: various</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: various</p>
<P CLASS="para">
Options beginning with <CODE CLASS="literal">
ldap</code> are part of an experimental (circa Samba 2.0) use of the Lightweight Directory Access Protocol (LDAP) general directory/distributed database for user, name, and host information. This option is reserved for future use.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] ldap root = various</i></b>
<P CLASS="refpurpose">Default: various</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: various</p>
<P CLASS="para">
Options beginning with <CODE CLASS="literal">
ldap</code> are part of an experimental (circa Samba 2.0) use of the Lightweight Directory Access Protocol (LDAP) general directory/distributed database for user, name, and host information. This option is reserved for future use.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] ldap server = various</i></b>
<P CLASS="refpurpose">Default: various</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: various</p>
<P CLASS="para">
Options beginning with <CODE CLASS="literal">
ldap</code> are part of an experimental (circa Samba 2.0) use of the Lightweight Directory Access Protocol (LDAP) general directory/distributed database for user, name, and host information. This option is reserved for future use.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] ldap suffix = various</i></b>
<P CLASS="refpurpose">Default: various</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: various</p>
<P CLASS="para">
Options beginning with <CODE CLASS="literal">
ldap</code> are part of an experimental (circa Samba 2.0) use of the Lightweight Directory Access Protocol (LDAP) general directory/distributed database for user, name, and host information. This option is reserved for future use.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] load printers = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Load all printer names from the system printer capabilities into browse list. Uses configuration options from the <CODE CLASS="literal">
[printers]</code> section.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] local master = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Stands for election as the local master browser. See also <CODE CLASS="literal">
domain master</code> and <CODE CLASS="literal">
os level</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] lm announce = value</i></b>
<P CLASS="refpurpose">Default: AUTO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: AUTO, YES, NO</p>
<P CLASS="para">
Produce OS/2 SMB broadcasts at an interval specified by the <CODE CLASS="literal">
lm interval</code> option. YES/NO turns them on/off unconditionally. AUTO causes the Samba server to wait for a LAN Manager announcement from another client before sending one out. Required for OS/2 client browsing.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] lm interval = seconds</i></b>
<P CLASS="refpurpose">Default: 60</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number</p>
<P CLASS="para">
Sets the time period, in seconds, between OS/2 SMB broadcast announcements.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] lock directory = pathname</i></b>
<P CLASS="refpurpose">Default: <EM CLASS="emphasis">
/usr/local/samba/var/locks</em></p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: pathname</p>
<P CLASS="para">
Set a directory to keep lock files in. The directory must be writable by Samba, readable by everyone.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>locking = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Perform file locking. If set to NO, Samba will accept lock requests but will not actually lock resources. Recommended only for read-only file systems.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] log file = pathname</i></b>
<P CLASS="refpurpose">Default: varies</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: pathname</p>
<P CLASS="para">
Set name and location of the log file. Allows all %-variables.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] log level = number</i></b>
<P CLASS="refpurpose">Default: 0</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number</p>
<P CLASS="para">
A synonym of <CODE CLASS="literal">
debug level</code>. Sets the logging level used. Values of 3 or more slow the system noticeably.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] logon drive = drive</i></b>
<P CLASS="refpurpose">Default: None</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: DOS drive name</p>
<P CLASS="para">
Sets the drive on Windows NT (only) of the <CODE CLASS="literal">
logon path</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] logon home = path</i></b>
<P CLASS="refpurpose">Default: <EM CLASS="emphasis">
\\</em><CODE CLASS="replaceable"><I>%</i></code></p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: Unix pathname</p>
<P CLASS="para">
Sets the home directory of a Windows 95/98 or NT Workstation user. Allows <CODE CLASS="literal">
NET</code> <CODE CLASS="literal">
USE</code> <CODE CLASS="literal">
H:/HOME</code> from the command prompt.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] logon path = pathname</i></b>
<P CLASS="refpurpose">Default: <EM CLASS="emphasis">
\\</em><CODE CLASS="replaceable"><I>N</i></code><EM CLASS="emphasis">\</em><CODE CLASS="replaceable"><I>%U</i></code><EM CLASS="emphasis">\profile</em></p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: Windows pathname</p>
<P CLASS="para">
Sets path to Windows profile directory. This contains <EM CLASS="emphasis">
USER.MAN</em> and/or <EM CLASS="emphasis">
USER.DAT</em> profile files and the Windows 95 Desktop, Start Menu, Network Neighborhood, and programs folders. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] logon script = pathname</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: pathname</p>
<P CLASS="para">
Sets pathname relative to <CODE CLASS="literal">
[netlogin]</code> share of a DOS/NT script to run on the client at login time. Allows all %-variables.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>lppause command = /absolute_ path/command</i></b>
<P CLASS="refpurpose">Default: varies</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: fully-qualfied Unix shell command</p>
<P CLASS="para">
Sets the command to pause a print job. Honors the <CODE CLASS="literal">
%p</code> (printer name) and <CODE CLASS="literal">
%j</code> (job number) variables. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>lpresume command = /absolute_ path/command</i></b>
<P CLASS="refpurpose">Default: varies</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: fully-qualified Unix shell command</p>
<P CLASS="para">
Sets the command to resume a paused print job. Honors the <CODE CLASS="literal">
%p</code> (printer name) and <CODE CLASS="literal">
%j</code> (job number) variables. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] lpq cache time = seconds</i></b>
<P CLASS="refpurpose">Default: 10</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number of seconds</p>
<P CLASS="para">
Sets how long to keep print queue (<CODE CLASS="literal">lpq</code>) status is cached, in seconds.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>lpq command = /absolute_ path/command</i></b>
<P CLASS="refpurpose">Default: varies</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: fully-qualfied Unix shell command</p>
<P CLASS="para">
Sets the command used to get printer status. Usually initialized to a default value by the <CODE CLASS="literal">
printing</code> option. Honors the <CODE CLASS="literal">
%p</code> (printer name) variable.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>lprm command = /absolute_ path/command</i></b>
<P CLASS="refpurpose">Default: varies</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: fully-qualified Unix shell command</p>
<P CLASS="para">
Sets the command to delete a print job. Usually initialized to a default value by the <CODE CLASS="literal">
printing</code> option. Honors the <CODE CLASS="literal">
%p</code> (printer name) and <CODE CLASS="literal">
%j</code> (job number) variables.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>machine password timeout = seconds</i></b>
<P CLASS="refpurpose">Default: 604,800</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number of seconds</p>
<P CLASS="para">
Sets the period between (NT domain) machine password changes. Default is 1 week, or 604,800 seconds.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>magic output = pathname</i></b>
<P CLASS="refpurpose">Default: <EM CLASS="emphasis">
script.out</em></p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: Unix pathname</p>
<P CLASS="para">
Sets the output file for the discouraged <CODE CLASS="literal">
magic scripts</code> option. Default is the script name, followed by the extension <EM CLASS="emphasis">
.out</em>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>magic script = pathname</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: Unix pathname</p>
<P CLASS="para">
Sets a filename for execution via a shell whenever the file is closed from the client, to allow clients to run commands on the server. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>mangle case = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: allowable values: YES, NO</p>
<P CLASS="para">
Mangle a name if it is in mixed case.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>mangled map = map list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: list of to-from pairs</p>
<P CLASS="para">
Set up a table of names to remap (e.g., <EM CLASS="emphasis">
.html</em> to <EM CLASS="emphasis">
.htm</em>). </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>mangled names = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Sets Samba to abbreviate names that are too long or have unsupported characters to the DOS 8.3 style. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>mangling char = character</i></b>
<P CLASS="refpurpose">Default: ~</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: character</p>
<P CLASS="para">
Sets the unique mangling character used in all mangled names.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] mangled stack = number</i></b>
<P CLASS="refpurpose">Default: 50</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number</p>
<P CLASS="para">
Sets the size of a cache of recently-mangled filenames.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>map aliasname = pathname</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: Unix pathname</p>
<P CLASS="para">
Points to a file of Unix group/NT group pairs, one per line. This is used to map NT aliases to Unix group names. See also the configuration options <CODE CLASS="literal">
username</code> <CODE CLASS="literal">
map</code> and <CODE CLASS="literal">
map</code> <CODE CLASS="literal">
groupname</code>. Introduced in Samba 2.0.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>map archive = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, Samba sets the executable-by-user (0100) bit on Unix files if the DOS archive attribute is set. Recommended: if used, the <CODE CLASS="literal">
create mask</code> must contain the 0100 bit.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>map hidden = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, sets executable-by-other (0001) bit on Unix files if the DOS hidden attribute is set. If used, the <CODE CLASS="literal">
create mask</code> option must contain the 0001 bit.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>map groupname = pathname</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: pathname</p>
<P CLASS="para">
Points to a file of Unix group/NT group, one per line. This is used to map NT group names to Unix group names. See also the configuration options <CODE CLASS="literal">
username</code> <CODE CLASS="literal">
map</code> and <CODE CLASS="literal">
map</code> <CODE CLASS="literal">
aliasname</code>. Introduced in Samba 2.0.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>map system = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, Samba sets the executable-by-group (0010) bit on Unix files if the DOS system attribute is set. If used, the <CODE CLASS="literal">
create mask</code> must contain the 0010 bit.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>max connections = number</i></b>
<P CLASS="refpurpose">Default: 0 (infinity)</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number</p>
<P CLASS="para">
Set maximum number of connections allowed to a share from each individual client machine.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] max disk size = number</i></b>
<P CLASS="refpurpose">Default: 0 (unchanged)</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: size in MB</p>
<P CLASS="para">
Sets maximum disk size/free-space size (in megabytes) to return to client. Some clients or applications can't understand large maximum disk sizes.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] max log size = number</i></b>
<P CLASS="refpurpose">Default: 5000</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: size in KB</p>
<P CLASS="para">
Sets the size (in kilobytes) at which Samba will start a new log file. The current log file will be renamed with an <EM CLASS="emphasis">
.old</em> extension, replacing any previous file with that name. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] max mux = number</i></b>
<P CLASS="refpurpose">Default: 50</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number</p>
<P CLASS="para">
Sets the number of simultaneous operations that Samba clients may make. Avoid changing.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] max packet = number</i></b>
<P CLASS="refpurpose">Default: N/A</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number</p>
<P CLASS="para">
Synonym for <CODE CLASS="literal">
packet size</code>. Obsolete as of Samba 1.7. Use <CODE CLASS="literal">
max xmit</code> instead.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] max open files = number</i></b>
<P CLASS="refpurpose">Default: 10,000</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number</p>
<P CLASS="para">
Limits the number of files a Samba process will try to keep open at one time. Samba allows you to set this to less than the Unix maximum. This option is a workaround for a separate problem. Avoid changing. This option was introduced in Samba 2.0.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] max ttl = seconds</i></b>
<P CLASS="refpurpose">Default: 14400 (4 hrs)</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: time in seconds</p>
<P CLASS="para">
Sets the time to keep NetBIOS names in <EM CLASS="emphasis">
nmbd</em> cache while trying to perform a lookup on it. Avoid changing.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] max wins ttl = seconds</i></b>
<P CLASS="refpurpose">Default: 259200 (3 days)</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: time in seconds</p>
<P CLASS="para">
Limits time-to-live of a NetBIOS name in <EM CLASS="emphasis">
nmbd</em> WINS cache, in seconds. Avoid changing.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] max xmit = bytes</i></b>
<P CLASS="refpurpose">Default: 65535</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: size in bytes</p>
<P CLASS="para">
Sets maximum packet size that will be negotiated by Samba. Tuning parameter for slow links and older client bugs. Values less than 2048 are discouraged.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] message command = /absolute_ path/command</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: shell command</p>
<P CLASS="para">
Sets the command on the server to run when a WinPopup message arrives from a client. The command must end in "<CODE CLASS="literal">&</code>" to allow immediate return. Honors all %-variables except <CODE CLASS="literal">
%u</code> (user), and supports the extra variables <CODE CLASS="literal">
%s</code> (filename the message is in), <CODE CLASS="literal">
%t</code> (destination machine), and <CODE CLASS="literal">
%f</code> (from).</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>min print space = kilobytes</i></b>
<P CLASS="refpurpose">Default: 0 (unlimited)</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: space in KB</p>
<P CLASS="para">
Sets minimum spool space required before accepting a print request.</p>
</div>
</blockquote>
</div>
<p> </p>
<!-- 2.0.7, davecb -->
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>min password length = characters</i></b>
<P CLASS="refpurpose">Default: 5</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: decimal number of characters</p>
<P CLASS="para">
Sets the shortest password Samba will pass to the Unix passwd command.
</div>
</blockquote>
</div>
<p> </p>
<!-- sne 2.0.7 -->
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] min wins ttl = seconds</i></b>
<P CLASS="refpurpose">Default: 21600 (6 hrs)</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: time in seconds</p>
<P CLASS="para">
Sets minimum time-to-live of a NetBIOS name in <EM CLASS="emphasis">
nmbd</em> WINS cache, in seconds. Avoid changing.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>name resolve order = list</i></b>
<P CLASS="refpurpose">Default: lmhosts wins hosts bcast</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: list of lmhosts, wins, hosts and bcast</p>
<P CLASS="para">
Sets order of lookup when trying to get IP address from names. The <CODE CLASS="literal">
hosts</code> parameter carrries out a regular name look up using the server's normal sources: <EM CLASS="emphasis">
/etc/hosts</em>, DNS, NIS, or a combination of them. Introduced in Samba 1.9.18p4.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] netbios aliases = list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: list of netbios names</p>
<P CLASS="para">
Adds additional NetBIOS names by which a Samba server will advertise itself.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>netbios name = hostname</i></b>
<P CLASS="refpurpose">Default: varies</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: host name</p>
<P CLASS="para">
Sets the NetBIOS name by which a Samba server is known, or primary name if NetBIOS aliases exist. </p>
</div>
</blockquote>
</div>
<p> </p>
<!-- 2.0.7, davecb -->
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>netbios scope = string</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: string</p>
<P CLASS="para">
Sets the NetBIOS scope string. Samba will not communicate with a machine
with a different scope. This was an early predecessor of workgroups: avoid
setting it. Added in 2.0.7. <!-- why was it added, anyway? -->
</div>
</blockquote>
</div>
<p> </p>
<!-- end 2.0.7 -->
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] networkstation user login = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to NO, clients will not do a full login when <CODE CLASS="literal">
security = server</code>. Avoid changing. Turning it off is a temporary workaround (introduced in Samba 1.9.18p3) for NT trusted domains bug. Automatic correction was introduced in Samba 1.9.18p10; the parameter may eventually be removed.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] nis homedir = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, the <CODE CLASS="literal">
homedir map</code> will be used to look up the user's home-directory server name and return it to the client. The client will contact that machine to connect to the share. This avoids mounting from a machine that doesn't actually have the disk. The machine with the home directories must be an SMB server.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] nt pipe support = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Allows turning off NT-specific pipe calls. This is a developer/benchmarking option and may be removed in the future. Avoid changing.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] nt smb support = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, allow NT-specific SMBs to be used. This is a developer/benchmarking option and may be removed in the future. Avoid changing.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] null passwords = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, allows access to accounts that have null passwords. Strongly discouraged.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>ole locking compatibility = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, locking ranges will be mapped to avoid Unix locks crashing when Windows uses locks above 32KB. You should avoid changing this option. Introduced in Samba 1.9.18p10. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>only guest = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
A synonym for <CODE CLASS="literal">
guest only</code>. Forces user of a share to login as the guest account. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>only user = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Requires that users of the share be on a <CODE CLASS="literal">
username =</code> list. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>oplocks = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, support local caching of <EM CLASS="emphasis">
opportunistic</em> locked files on client. This option is recommended because it improves performance by about 30%. See also <CODE CLASS="literal">
fake</code> <CODE CLASS="literal">
oplocks</code> and <CODE CLASS="literal">
veto</code> <CODE CLASS="literal">
oplock</code> <CODE CLASS="literal">
files</code>. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] os level = number</i></b>
<P CLASS="refpurpose">Default: 0</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number</p>
<P CLASS="para">
Sets the candidacy of the server when electing a browse master. Used with the <CODE CLASS="literal">
domain</code> <CODE CLASS="literal">
master</code> or <CODE CLASS="literal">
local</code> <CODE CLASS="literal">
master</code> options. You can set a higher value than a competing operating system if you want Samba to win. Windows for Workgroups and Windows 95 use 1, Windows NT client uses 17, and Windows NT Server uses 33.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] packet size = bytes</i></b>
<P CLASS="refpurpose">Default: 65535</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number in bytes</p>
<P CLASS="para">
Obsolete. Discouraged synonym of <CODE CLASS="literal">
max packet</code>. See <CODE CLASS="literal">
max xmit</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] passwd chat debug = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Logs an entire password chat, including passwords passed, with a log level of 100. For debugging only. Introduced in Samba 1.9.18p5.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] passwd chat = command sequence</i></b>
<P CLASS="refpurpose">Default: compiled-in value</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: Unix server commands</p>
<P CLASS="para">
Sets the command used to change passwords on the server. Supports the variables <CODE CLASS="literal">
%o</code> (old password) and <CODE CLASS="literal">
%n</code> (new password) and allows <CODE CLASS="literal">
\r</code> <CODE CLASS="literal">
\n</code> <CODE CLASS="literal">
\t</code> and <CODE CLASS="literal">
\s</code> (space) escapes in the sequence.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] passwd program = program</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: Unix server program</p>
<P CLASS="para">
Sets the command used to change user's password. Will be run as <CODE CLASS="literal">
root</code>. Supports <CODE CLASS="literal">
%u</code> (user).</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] password level = number</i></b>
<P CLASS="refpurpose">Default: 0</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number</p>
<P CLASS="para">
Specifies the number of uppercase letter permutations used to match passwords. Workaround for clients that change passwords to a single case before sending them to the Samba server. Causes repeated login attempts with passwords in different cases, which can trigger account lockouts. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] password server = netbios names</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: list of NetBIOS names</p>
<P CLASS="para">
A list of SMB servers that will validate passwords for you. Used with an NT password server (PDC or BDC) and the <CODE CLASS="literal">
security</code> <CODE CLASS="literal">
=</code> <CODE CLASS="literal">
server</code> or <CODE CLASS="literal">
security</code> <CODE CLASS="literal">
=</code> <CODE CLASS="literal">
domain</code> configuration options. Caution: an NT password server must allow logins from the Samba server.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>panic action = /absolute_ path/command</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: fully-qualfied Unix shell command</p>
<P CLASS="para">
Sets the command to run when Samba panics. For Samba developers and testers, <CODE CLASS="literal">
/usr/bin/X11/xterm -display :0 -e gdb /samba/bin/smbd %d</code> is a possible value.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>path = pathname</i></b>
<P CLASS="refpurpose">Default: varies</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: pathname</p>
<P CLASS="para">
Sets the path to the directory provided by a file share or used by a printer share. Set automatically in <CODE CLASS="literal">
[homes]</code> share to user's home directory, otherwise defaults to<I CLASS="filename">
/tmp</i>. Honors the <CODE CLASS="literal">
%u</code> (user) and <CODE CLASS="literal">
%m</code> (machine) variables.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>postexec = /absolute_ path/command</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: fully-qualified Unix shell command</p>
<P CLASS="para">
Sets a command to run as the user after disconnecting from the share. See also the options <CODE CLASS="literal">
preexec</code>, <CODE CLASS="literal">
root preexec</code>, and <CODE CLASS="literal">
root postexec</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>postscript = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Flags a printer as PostScript to avoid a Windows bug by inserting <CODE CLASS="literal">
%!</code> as the first line. Works only if printer actually is PostScript compatible.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>preexec = /absolute_ path/command</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: fully-qualified Unix shell command</p>
<P CLASS="para">
Sets a command to run as the user before connecting to the share. See also the options <CODE CLASS="literal">
postexec</code>, <CODE CLASS="literal">
root preexec</code>, and <CODE CLASS="literal">
root postexec</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] preferred master = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, Samba is preferred to become the master browser. Causes Samba to call a browsing election when it comes online.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>preload = share list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: list of services</p>
<P CLASS="para">
Synonym of <CODE CLASS="literal">
auto</code> <CODE CLASS="literal">
services</code>. Specifies a list of shares that will always appear in browse lists.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>preserve case = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to YES, this option leaves filenames in the case sent by client. If no, it forces filenames to the case specified by the <CODE CLASS="literal">
default</code> <CODE CLASS="literal">
case</code> option. See also <CODE CLASS="literal">
short preserve case</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>print command = /absolute_ path/command</i></b>
<P CLASS="refpurpose">Default: varies</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: fully-qualified Unix shell command</p>
<P CLASS="para">
Sets the command used to send a spooled file to the printer. Usually initialized to a default value by the <CODE CLASS="literal">
printing</code> option. This option honors the <CODE CLASS="literal">
%p</code> (printer name), <CODE CLASS="literal">
%s</code> (spool file) and <CODE CLASS="literal">
%f</code> (spool file as a relative path) variables. Note that the command in the value of the option must include file deletion of the spool file.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>print ok = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Synonym of <CODE CLASS="literal">
printable</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>printable = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Sets a share to be a print share. Required for all printers.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] printcap name = pathname</i></b>
<P CLASS="refpurpose">Default: <EM CLASS="emphasis">
/etc/printcap</em></p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: pathname</p>
<P CLASS="para">
Sets the path to the printer capabilities file used by the <CODE CLASS="literal">
[printers]</code> share. The default value changes to <I CLASS="filename">
/etc/qconfig</i> under AIX and <I CLASS="filename">
lpstat</i> on System V.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>printer = name</i></b>
<P CLASS="refpurpose">Default: <CODE CLASS="literal">
lp</code></p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: printer name</p>
<P CLASS="para">
Sets the name of the Unix printer.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>printer driver = printer driver name</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: exact printer driver string used by Windows</p>
<P CLASS="para">
Sets the string to pass to Windows when asked what driver to use to prepare files for a printer share. Note that the value is case sensitive.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] printer driver file = path</i></b>
<P CLASS="refpurpose">Default: <EM CLASS="emphasis">
samba-lib/printers.def</em></p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: Unix pathname</p>
<P CLASS="para">
Sets the location of a<EM CLASS="emphasis">
msprint.def</em> file, usable by Windows 95/98.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>printer driver location = path</i></b>
<P CLASS="refpurpose">Default: <EM CLASS="emphasis">
\\</em><CODE CLASS="replaceable"><I>server</i></code><EM CLASS="emphasis">\PRINTER$</em></p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: Windows network path</p>
<P CLASS="para">
Sets the location of the driver for a particular printer. The value is a pathname for a share that stores the printer driver files.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>printer name = name</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: name</p>
<P CLASS="para">
Synonym of <CODE CLASS="literal">
printer</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>printing = style</i></b>
<P CLASS="refpurpose">Default: bsd</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: bsd, sysv, hpux, aix, qnx, plp, lprng</p>
<P CLASS="para">
Sets printing style to one of the above, instead of the compiled-in value. This sets initial values of at least the <CODE CLASS="literal">
print</code> <CODE CLASS="literal">
command</code>, <CODE CLASS="literal">
print</code> <CODE CLASS="literal">
command</code>, <CODE CLASS="literal">
lpq</code> <CODE CLASS="literal">
command</code>, and <CODE CLASS="literal">
lprm</code> <CODE CLASS="literal">
command</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] protocol = protocol</i></b>
<P CLASS="refpurpose">Default: NT1</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: NT1, LANMAN2, LANMAN1, COREPLUS, CORE</p>
<P CLASS="para">
Sets SMB protocol version to one of the allowable values. Resetting is highly discouraged. Only for backwards compatibility with older-client bugs.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>public = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, passwords are not needed for this share. A synonym is <CODE CLASS="literal">
guest ok</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>queuepause command = /absolute_ path/command</i></b>
<P CLASS="refpurpose">Default: varies</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: valid Unix command</p>
<P CLASS="para">
Sets the command used to pause a print queue. Usually initialized to a default value by the <CODE CLASS="literal">
printing</code> option. Introduced in Samba 1.9.18p10.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>queueresume command = /absolute_ path/command</i></b>
<P CLASS="refpurpose">Default: varies</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: valid Unix command</p>
<P CLASS="para">
Sets the command used to resume a print queue. Usually initialized to a default value by the <CODE CLASS="literal">
printing</code> option. Introduced in Samba 1.9.18p10.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>read bmpx = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Obsolete. Do not change.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>read list = comma-separated list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: comma-separated list of users</p>
<P CLASS="para">
Specifies a list of users given read-only access to a writeable share. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>read only = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Sets a share to read-only. Antonym of <CODE CLASS="literal">
writable</code> and <CODE CLASS="literal">
write ok</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] read prediction = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Reads ahead data for read-only files. Obsolete; removed in Samba 2.0.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] read raw = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Allows fast streaming reads over TCP using 64K buffers. Recommended.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] read size = bytes</i></b>
<P CLASS="refpurpose">Default: 2048</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: size in bytes</p>
<P CLASS="para">
Sets a buffering option for servers with mismatched disk and network speeds. Requires experimentation. Avoid changing. Should not exceed 65536.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] remote announce = remote list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: list of remote addresses</p>
<P CLASS="para">
Adds workgroups to the list on which the Samba server will announce itself. Specified as IP address/workgroup (for instance, 192.168.220.215/SIMPLE) with multiple groups separated by spaces. Allows directed broadcasts. The server will appear on those workgroup's browse lists. Does not require WINS.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] remote browse sync = address list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: IP-address list</p>
<P CLASS="para">
Enables Samba-only browse list synchronization with other Samba local master browsers. Addresses can be specific addresses or directed broadcasts (i.e., ###.###.###.255). The latter will cause Samba to hunt down the local master.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>revalidate = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to YES, requires users to re-enter passwords even after a successful initial logon to a share with a password.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] root = pathname</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: Unix pathname</p>
<P CLASS="para">
Synonym for <CODE CLASS="literal">
root directory</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] root dir = pathname</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: Unix pathname</p>
<P CLASS="para">
Synonym for <CODE CLASS="literal">
root directory</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] root directory = pathname</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: Unix pathname</p>
<P CLASS="para">
Specifies a directory to <CODE CLASS="literal">
chroot()</code> to before starting daemons. Prevents any access below that directory tree. See also the <CODE CLASS="literal">
wide links</code> configuration option.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>root postexec = /absolute_ path/command</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: fully-qualified Unix shell command</p>
<P CLASS="para">
Sets a command to run as root after disconnecting from the share. See also <CODE CLASS="literal">
preexec</code>, <CODE CLASS="literal">
postexec</code>, and <CODE CLASS="literal">
root</code> <CODE CLASS="literal">
preexec</code> configuration options. Runs after the user's <CODE CLASS="literal">
postexec</code> command. Use with caution.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>root preexec = /absolute_ path/command</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: fully-qualified Unix shell command</p>
<P CLASS="para">
Sets a command to run as root before connecting to the share. See also <CODE CLASS="literal">
preexec</code>, <CODE CLASS="literal">
postexec</code>, and <CODE CLASS="literal">
root</code> <CODE CLASS="literal">
postexec</code> configuration options. Runs before the user's <CODE CLASS="literal">
preexec</code> command. Use with caution.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] security = value</i></b>
<P CLASS="refpurpose">Default: share in Samba 1.0, user in 2.0</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: share, user, server, domain</p>
<P CLASS="para">
Sets password-security policy. If <CODE CLASS="literal">
security</code> <CODE CLASS="literal">
=</code> <CODE CLASS="literal">
share</code>, services have a shared password, available to everyone. If <CODE CLASS="literal">
security</code> <CODE CLASS="literal">
=</code> <CODE CLASS="literal">
user</code>, users have (Unix) accounts and passwords. If <CODE CLASS="literal">
security</code> <CODE CLASS="literal">
=</code> <CODE CLASS="literal">
server</code>, users have accounts and passwords and a separate machine authenticates them for Samba. If <CODE CLASS="literal">
security</code> <CODE CLASS="literal">
=</code> <CODE CLASS="literal">
domain</code>, full NT-domain authentication is done. See also the <CODE CLASS="literal">
password server</code> and <CODE CLASS="literal">
encrypted passwords</code> configuration options. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] server string = text</i></b>
<P CLASS="refpurpose">Default: Samba <CODE CLASS="literal">
%v</code> in 2.0</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: string</p>
<P CLASS="para">
Sets the name that appears beside a server in browse lists. Honors the <CODE CLASS="literal">
%v</code> (Samba version number) and <CODE CLASS="literal">
%h</code> (hostname) variables.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>set directory = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Allows DEC Pathworks client to use the <EM CLASS="emphasis">
set dir</em> command.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] shared file entries = number</i></b>
<P CLASS="refpurpose">Default: 113</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number</p>
<P CLASS="para">
Obsolete; do not use.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>shared mem size = bytes</i></b>
<P CLASS="refpurpose">Default: 102400</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: size in bytes</p>
<P CLASS="para">
If compiled with FAST_SHARE_MODES (mmap), sets the shared memory size in bytes. Avoid changing.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] smb passwd file = path</i></b>
<P CLASS="refpurpose">Default: <I CLASS="filename">
/usr/local/samba/private/smbpasswd</i></p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: Unix pathname</p>
<P CLASS="para">
Overrides compiled-in path to password file if <CODE CLASS="literal">
encrypted passwords</code> <CODE CLASS="literal">
=</code> <CODE CLASS="literal">
yes</code>. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] smbrun = /absolute_ path/command</i></b>
<P CLASS="refpurpose">Default: compiled-in value</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: smbrun command</p>
<P CLASS="para">
Overrides compiled-in path to <I CLASS="filename">
smbrun</i> binary. Avoid changing.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>share modes = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to YES, this option supports Windows-style whole-file (deny mode) locks.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>short preserve case = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to YES, leaves mangled 8.3-style filenames in the case sent by client. If no, it forces the case to that specified by the <CODE CLASS="literal">
default case</code> option. See also <CODE CLASS="literal">
preserve case</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] socket address = IP address</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: IP address</p>
<P CLASS="para">
Sets address on which to listen for connections. Default is to listen to all addresses. Used to support multiple virtual interfaces on one server. Highly discouraged. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] socket options = socket option list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: list</p>
<P CLASS="para">
Sets OS-specific socket options. <CODE CLASS="literal">
SO_KEEPALIVE</code> has TCP check clients every 4 hours to see if they are still accessible. <CODE CLASS="literal">
TCP_NODELAY</code> sends even tiny packets to keep delay low. Recommended wherever the operating system supports them. See <a href="appb_01.html"><b>Appendix B, <CITE CLASS="appendix">Samba Performance Tuning</cite></b></a>, for more information.</p>
</div>
</blockquote>
</div>
<p> </p>
<!-- 2.0.7, davecb -->
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] source environment = string</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: pathname</p>
<P CLASS="para">
This pathname parameter causes Samba to read a list of environment
variables from a named file on startup. This can be useful in setting
up Samba in a clustered environment. This is new in 2.0.7.</p>
<p> The file must be owned by root and not be world writable,
and if the filename begins with a "|" (pipe) character, it must point to
a command which is neither world writable nor resides
in a world writable directory.</p>
<p> The data should be in the form of lines such as
<CODE CLASS="literal">SAMBA_NETBIOS_NAME=myhostname</CODE>.
This variable will then be available in the smb.conf files as $%SAMBA_NETBIOS_NAME.</p>
</div>
</blockquote>
</div>
<p> </p>
<!-- end of 2.0.7 -->
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] status = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, logs connections to a file (or shared memory) accessible to <I CLASS="filename">
smbstatus</i>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>strict sync = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to YES, Samba will synchronize to disk whenever the client sets the sync bit in a packet. If set to NO, Samba flushes data to disk whenever buffers fill. Defaults to NO because Windows 98 Explorer sets the bit (incorrectly) in all packets. Introduced in Samba 1.9.18p10.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>strict locking = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to YES, Samba checks locks on every access, not just on demand and at open time. Not recommended.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] strip dot = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Removes trailing dots from filenames. Use <CODE CLASS="literal">
mangled map</code> instead.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] syslog = number</i></b>
<P CLASS="refpurpose">Default: 1</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number</p>
<P CLASS="para">
Sets number of Samba log messages to send to <I CLASS="filename">
syslog</i>. Higher is more verbose. The <I CLASS="filename">
syslog.conf</i> file must have suitable logging enabled.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] syslog only = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to YES, log only to <EM CLASS="emphasis">
syslog, </em>not standard Samba log files.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>sync always = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to YES, Samba calls<EM CLASS="emphasis">
fsync</em>(3) after every write. Avoid except for debugging crashing servers.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] time offset = minutes</i></b>
<P CLASS="refpurpose">Default: 0</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: minutes</p>
<P CLASS="para">
Sets number of minutes to add to system time zone calculation. Provided to fix a client daylight-savings bug; not recommended.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] time server = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If YES, <EM CLASS="emphasis">
nmbd</em> will provide time service to its clients.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>unix password sync = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set, will attempt to change the user's Unix password whenever the user changes his or her SMB password. Used to ease synchronization of Unix and Microsoft password databases. Added in Samba 1.9.18p4. See also <CODE CLASS="literal">
passwd chat</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>unix realname = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set, will provide the GCOS field of <I CLASS="filename">
/etc/passwd</i> to the client as the user's full name.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>update encrypted = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Updates the Microsoft-format password file when a user logs in with unencrypted passwords. Provided to ease conversion to encryped passwords for Windows 95/98 and NT. Added in Samba 1.9.18p5.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>user = comma-separated list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: comma-separated list of user names</p>
<P CLASS="para">
Synonym for <CODE CLASS="literal">
username</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>username = comma-separated list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: comma-separated list of user names</p>
<P CLASS="para">
Sets a list of users to try to log in as for a share or shares with share-level security. Synonyms are <CODE CLASS="literal">
user</code> and <CODE CLASS="literal">
users</code>. Discouraged. Use <CODE CLASS="literal">
NET USE \\</code><CODE CLASS="replaceable"><I>server</i></code><CODE CLASS="literal">\</code><CODE CLASS="replaceable"><I>share </i></code><CODE CLASS="literal">%</code><CODE CLASS="replaceable"><I>user</i></code> from the client instead.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>username level = number</i></b>
<P CLASS="refpurpose">Default: 0</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: number</p>
<P CLASS="para">
Number of uppercase letter permutations allowed to match Unix usernames. Workaround for Windows feature (single-case usernames). Use is discouraged.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] username map = pathname</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: pathname</p>
<P CLASS="para">
Names a file of Unix-to-Windows name pairs; used to map different spellings of account names and those Windows usernames longer than eight characters.</p>
</div>
</blockquote>
</div>
<p> </p>
<!-- 2.0.7 -->
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] utmp = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
This is available if Samba has been configured with the option
<CODE CLASS="literal"> --with-utmp</CODE>.
If set, Samba will add utmp/utmpx records whenever a
connection is made to a Samba server. New in 2.0.7, sites may use this
to record the user connecting to a Samba share.
</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] utmp directory = string</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: pathname</p>
<P CLASS="para">
This is available if Samba has been configured with the option
<CODE CLASS="literal">--with-utmp</CODE>. If it and <CODE CLASS="literal">
utmp </CODE> are set, Samba will look in the specified directory
insteqad of the default system directory for utmp/utmpx files.
New in 2.0.7, also called <CODE CLASS="literal"> utmp dir</CODE>.
</p>
</div>
</blockquote>
</div>
<p> </p>
<!-- end of 2.0.7 ->
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>valid chars = list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: list of numeric values</p>
<P CLASS="para">
Semi-obsolete. Adds national characters to a character set map. Overridden by <CODE CLASS="literal">
client code page</code>. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>valid users = user list</i></b>
<P CLASS="refpurpose">Default: NULL (everyone)</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: list of users</p>
<P CLASS="para">
List of users that can log in to a share. </p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>veto files = slash-list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: slash-separated list of filenames</p>
<P CLASS="para">
List of files not to allow the client to see when listing a directory's contents. See also <CODE CLASS="literal">
delete veto files</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>veto oplock files = slash-list</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: slash-separated list of filenames</p>
<P CLASS="para">
List of files not to oplock (and cache on clients). See also <CODE CLASS="literal">
oplocks</code> and <CODE CLASS="literal">
fake oplocks</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>volume = share name</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: string</p>
<P CLASS="para">
Sets the volume label of a disk share, notably a CD-ROM.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>wide links = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to YES, Samba will follow symlinks out of the current disk share(s). See also the <CODE CLASS="literal">
root dir</code> and <CODE CLASS="literal">
follow symlinks</code> options.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] wins proxy = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to YES, <EM CLASS="emphasis">
nmbd</em> will proxy resolution requests to WINS servers on behalf of old clients, which use broadcasts. WINS server is typically on another subnet.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] wins server = host</i></b>
<P CLASS="refpurpose">Default: NULL</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: hostname</p>
<P CLASS="para">
Sets the DNS name or IP address of the WINS server.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] wins support = boolean</i></b>
<P CLASS="refpurpose">Default: NO</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
If set to YES, Samba activates WINS service. The <CODE CLASS="literal">
wins server</code> option must not be set if <CODE CLASS="literal">
wins support = yes</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] workgroup = name</i></b>
<P CLASS="refpurpose">Default: compiled-in</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: workgroup name</p>
<P CLASS="para">
Sets the workgroup to which things will be served. Overrides compiled-in value. Choosing a name other than <CODE CLASS="literal">
WORKGROUP</code> is strongly recommended.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>writable = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Antonym for <CODE CLASS="literal">
read only</code>; synonym of <CODE CLASS="literal">
write ok</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>write list = comma-separated list</i></b>
<P CLASS="refpurpose">Default: NULL (everyone)</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: comma-separated list of users</p>
<P CLASS="para">
List of users that are given read-write access to a read-only share. See also <CODE CLASS="literal">
read list</code>.</p>
</div>
</blockquote>
</div>
<p> </p>
<!-- 2.0.7 addendum, davecb -->
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>write cache size = decimal number</i></b>
<P CLASS="refpurpose">Default: 0 (Disabled)</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: decimal number of bytes</p>
<P CLASS="para">
Sets the size of a write buffer that Samba uses to pre-accumulate
write into, so as to write with a particular size that's optimal for
a given filesystem. Typically this is used with RAID drives, which
have a preferred write size, systems with large memory and slow disks, etc.</p>
<p> As of Samba 2.0.7, this applies to the first 10 oplocked files,
which are also found in shares where this option is set.
</p>
</div>
</blockquote>
</div>
<p> </p>
<!-- end of 2.0.7 addendum -->
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>write ok = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Synonym of the <CODE CLASS="literal">
writable</code> configuration option.</p>
</div>
</blockquote>
</div>
<p> </p>
<DIV CLASS="refentry">
<DIV CLASS="refnamediv"><b><i>[global] write raw = boolean</i></b>
<P CLASS="refpurpose">Default: YES</p></div><BLOCKQUOTE>
<DIV CLASS="refsynopsisdiv">
<P CLASS="para">Allowable values: YES, NO</p>
<P CLASS="para">
Allows fast streaming writes over TCP, using 64KB buffers. Recommended.</p>
</div>
</blockquote>
<DIV CLASS="refsect1"><h2>Glossary of Configuration Values</h2>
<DL CLASS="variablelist">
<DT CLASS="term">Address list</dt><DD CLASS="listitem">
<P CLASS="para">
A space-separated list of IP addresses in ###.###.###.### format.</p></dd><DT CLASS="term">
Comma-separated list</dt><DD CLASS="listitem">
<P CLASS="para">
A list of items separated by commas.</p></dd><DT CLASS="term">
Command</dt><DD CLASS="listitem">
<P CLASS="para">
A Unix command, with full path and parameters.</p></dd><DT CLASS="term">
Host list</dt><DD CLASS="listitem">
<P CLASS="para">
A space-separated list of hosts. Allows IP addresses, address masks, domain names, ALL, and EXCEPT</p></dd><DT CLASS="term">
Interface list</dt><DD CLASS="listitem">
<P CLASS="para">
A space-separated list of interfaces, in either address/netmask or address/n-bits format. For example, 192.168.2.10/24 or 192.168.2.10/255.255.255.0</p></dd><DT CLASS="term">
Map list</dt><DD CLASS="listitem">
<P CLASS="para">
A space-separated list of file-remapping strings such as <CODE CLASS="literal">
(*.html</code> <CODE CLASS="literal">
*.htm)</code>.</p></dd><DT CLASS="term">
Remote list</dt><DD CLASS="listitem">
<P CLASS="para">
A space-separated list of subnet-broadcast-address/workgroup pairs. For example, 192.168.2.255/SERVERS 192.168.4.255/STAFF.</p></dd><DT CLASS="term">
Service (share) list</dt><DD CLASS="listitem">
<P CLASS="para">
A space-separated list of share names, without the enclosing square brackets.</p></dd><DT CLASS="term">
Slash-list</dt><DD CLASS="listitem">
<P CLASS="para">
A list of filenames, separated by "/" characters to allow embedded spaces. For example, <CODE CLASS="literal">
/.*/fred</code> <CODE CLASS="literal">
flintstone/*.frk/</code>.</p></dd><DT CLASS="term">
Text</dt><DD CLASS="listitem">
<P CLASS="para">
One line of text. </p></dd><DT CLASS="term">
User list</dt><DD CLASS="listitem">
<P CLASS="para">
A space-separated list of usernames. In Samba 1.9, <CODE CLASS="literal">
@group-name</code> will include everyone in Unix group <CODE CLASS="literal">
group-name</code>. In Samba 2.0, <CODE CLASS="literal">
@group-name</code> includes whomever is in the NIS netgroup <CODE CLASS="literal">
group_name</code> if one exists, otherwise whomever is in the Unix group <CODE CLASS="literal">
group_name</code>. In addition, +<CODE CLASS="literal">
group_name</code> is a Unix group, &<CODE CLASS="literal">
group_name</code> is an NIS netgroup, and &+ and +& cause an ordered search of both Unix and NIS groups.</p></dd></dl></div>
<DIV CLASS="refsect1">
<h2>Configuration File Variables</h2>
<P CLASS="para">
<A CLASS="xref" HREF="appc_01.html#appc-88529">
Table C.1</a> lists of Samba configuration file variables. </p><br>
<TABLE CLASS="table" BORDER="1" CELLPADDING="3">
<CAPTION CLASS="table">
<A CLASS="title" NAME="appc-88529">
Table C.1: Variables in Alphabetic Order </a></caption><THEAD CLASS="thead">
<TR CLASS="row" VALIGN="TOP">
<TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Name</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Meaning</p></th></tr></thead><TBODY CLASS="tbody">
<TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%a</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Client's architecture (one of Samba, WfWg, WinNT, Win95, or UNKNOWN)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%d</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Current server process's processID </p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%f</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Print-spool file as a relative path (printing only)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%f</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
User from which a message was sent (messages only)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%G</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Primary group name of <CODE CLASS="literal">
%U</code> (requested username) </p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%g</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Primary group name of <CODE CLASS="literal">
%u</code> (actual username)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%H</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Home directory of <CODE CLASS="literal">
%u</code> (actual username)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%h</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Samba server's (Internet) hostname</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%I</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Client's IP address </p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%j</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Print job number (printing only)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%L</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Samba server's NetBIOS name (virtual servers have multiple names)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%M</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Client's (Internet) hostname </p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%m</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Client's NetBIOS name </p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%n</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
New password (password change only)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%N</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Name of the NIS home directory server (without NIS, same as <CODE CLASS="literal">
%L</code>)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%o</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Old password (password change only)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%P</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Current share's root directory (actual)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%p</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Current share's root directory (in an NIS homedir map)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%p</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Print filename (printing only)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%R</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Protocol level in use (one of CORE, COREPLUS, LANMAN1, LANMAN2, or NT1)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%S</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Current share's name </p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%s</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Filename the message is in (messages only)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%s</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Print-spool file name (printing only)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%T</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Current date and time </p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%t</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Destination machine (messages only)</p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%u</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Current share's username </p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%U</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Requested username for current share </p></td></tr><TR CLASS="row" VALIGN="TOP">
<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
<CODE CLASS="literal">
%v</code></p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
<P CLASS="para">
Samba version</p></td></tr></tbody></table></div></blockquote></div></div></blockquote>
<div>
<center>
<hr noshade size=1><TABLE WIDTH="515" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="172">
<A CLASS="sect1" HREF="appb_03.html" TITLE="B.3 Sizing Samba Servers">
<IMG SRC="gifs/txtpreva.gif" ALT="Previous: B.3 Sizing Samba Servers" BORDER="0"></a></td><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="171">
<A CLASS="book" HREF="index.html" TITLE="">
<IMG SRC="gifs/txthome.gif" ALT="" BORDER="0"></a></td><TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="172">
<A CLASS="appendix" HREF="appd_01.html" TITLE="D. Summary of Samba Daemons and Commands">
<IMG SRC="gifs/txtnexta.gif" ALT="Next: D. Summary of Samba Daemons and Commands" BORDER="0"></a></td></tr><TR>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="172">
B.3 Sizing Samba Servers</td><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="171">
<A CLASS="index" HREF="inx.html" TITLE="Book Index">
<IMG SRC="gifs/index.gif" ALT="Book Index" BORDER="0"></a></td><TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="172">
D. Summary of Samba Daemons and Commands</td></tr></table><hr noshade size=1></center>
</div>
<!-- End of sample chapter -->
<CENTER>
<FONT SIZE="1" FACE="Verdana, Arial, Helvetica">
<A HREF="http://www.oreilly.com/">
<B>O'Reilly Home</B></A> <B> | </B>
<A HREF="http://www.oreilly.com/sales/bookstores">
<B>O'Reilly Bookstores</B></A> <B> | </B>
<A HREF="http://www.oreilly.com/order_new/">
<B>How to Order</B></A> <B> | </B>
<A HREF="http://www.oreilly.com/oreilly/contact.html">
<B>O'Reilly Contacts<BR></B></A>
<A HREF="http://www.oreilly.com/international/">
<B>International</B></A> <B> | </B>
<A HREF="http://www.oreilly.com/oreilly/about.html">
<B>About O'Reilly</B></A> <B> | </B>
<A HREF="http://www.oreilly.com/affiliates.html">
<B>Affiliated Companies</B></A><p>
<EM>© 1999, O'Reilly & Associates, Inc.</EM>
</FONT>
</CENTER>
</BODY>
</html>
|