Handle hostnames with upper-case letters
[webmin.git] / samba / opts.pl.dev
1 # opts.pl
2 # Defines which smb.conf options are available in which samba versions
3
4 # default_options(&array, version)
5 # Fills in the given associative array with the default value for all
6 # supported options, based on the given samba version
7 sub default_options
8 {
9 @op = ( [ "admin users",                "",             1.905,  1 ],
10         [ "announce as",                "NT",           ???,    0 ],
11         [ "announce version",           "4.2",          ???,    0 ],
12         [ "auto services",              "",             0,      0 ],
13         [ "=preload" ],
14         [ "allow hosts",                "",             0,      0 ],
15         [ "=hosts allow" ],
16         [ "alternate permissions",      "no",           1.916,  1 ],
17         [ "available",                  "yes",          1.513,  1 ],
18         [ "bind interfaces only",       "false",        1.918,  0 ],
19         [ "browseable",                 "yes",          0,      1 ],
20         [ "browse list",                "yes",          0,      0 ],
21         [ "case sensitive",             "no",           0,      0 ],
22         [ "=case sig names" ],
23         [ "character set",              "",             0,      0 ],
24         [ "client code page",           "850",          1.917,  0 ],
25         [ "comment",                    "",             0,      1 ],
26         [ "copy",                       "",             0,      1 ],
27         [ "create mode",                "0744",         0,      1 ],
28         [ "=create mask" ],
29         [ "dead time",                  0,              0,      0 ],
30         [ "debug level",                "",             1.900,  0 ],
31         [ "=log level" ],
32         [ "default case",               "lower",        1.800,  1 ],
33         [ "default service",            "",             1.700,  0 ],
34         [ "=default" ],
35         [ "delete readonly",            "no",           0,      1 ],
36         [ "deny hosts",                 "",             1.525,  1 ],
37         [ "=hosts deny" ],
38         [ "delete veto files",          "false",        ???,    1 ],
39         [ "dfree command",              "",             1.541,  0 ],
40         [ "directory mask",             "0755",         ???,    1 ],
41         [ "=directory mode" ],
42         [ "dns proxy",                  "yes",          ???,    0 ],
43         [ "domain controller",          "no",           1.916,  0 ],
44         [ "domain logons",              "no",           1.916,  0 ],
45         [ "domain master",              "no",           1.916,  0 ],
46         [ "dont descend",               "",             1.522,  1 ],
47         [ "dos filetimes",              "false",        ???,    1 ],
48         [ "encrypt passwords",          "false",        0,      0 ],
49         [ "fake oplocks",               "no",           0,      1 ],
50         [ "follow symlinks",            "yes",          0,      1 ],
51         [ "force create mode",          "0000",         ???,    1 ],
52         [ "force directory mode",       "0000",         ???,    1 ],
53         [ "force group",                "",             1.802,  1 ],
54         [ "group" ],
55         [ "force user",                 "",             1.913,  1 ],
56         [ "getwd cache",                "no",           1.703,  0 ],
57         [ "guest account",              "nobody",       1.900,  1 ],
58         [ "guest only",                 "no",           1.604,  1 ],
59         [ "=only guest" ],
60         [ "hide dot files",             "yes",          1.802,  1 ],
61         [ "hide files",                 "",             ???,    1 ],
62         [ "homedir map",                "",             ???,    0 ],
63         [ "hosts equiv",                "",             1.800,  0 ],
64         [ "interfaces",                 "",             ???,    0 ],
65         [ "invalid users",              "",             1.800,  1 ],
66         [ "keep alive",                 0,              0,      0 ],
67         [ "lm announce",                "auto",         ???,    0 ],
68         [ "lm interval",                60,             ???,    0 ],
69         [ "load printers",              "yes",          1.802,  0 ],
70         [ "local master",               "yes",          ???,    0 ],
71         [ "lock directory",             "",             1.705,  0 ],
72         [ "=lock dir" ],
73         [ "locking",                    "yes",          1.609,  1 ],
74         [ "log file",                   "",             1.900,  0 ],
75         [ "logon drive",                "",             ???,    0 ],
76         [ "logon home",                 "",             ???,    0 ],
77         [ "logon path",                 "",             ???,    0 ],
78         [ "logon script",               "",             ???,    0 ],
79         [ "lppause command",            "",             0,      0 ],
80         [ "lpq cache time",             10,             1.914,  0 ],
81         [ "lpq command",                "",             ???,    1 ],
82         [ "lpresume command",           "",             ???,    1 ],
83         [ "lprm command",               "",             ???,    1 ],
84         [ "magic output",               "",             1.700,  1 ],
85         [ "magic script",               "",             1.700,  1 ],
86         [ "mangle case",                "no",           0,      1 ],
87         [ "mangled map",                "",             1.802,  1 ],
88         [ "mangled names",              "yes",          1.800,  1 ],
89         [ "mangling char",              "~",            1.800,  1 ],
90         [ "mangled stack",              50,             1.700,  0 ],
91         [ "map archive",                "yes",          1.913,  1 ],
92         [ "map hidden",                 "no",           0,      1 ],
93         [ "map system",                 "no",           0,      1 ],
94         [ "max connections",            0,              1.705,  1 ],
95         [ "max disk size",              0,              ???,    0 ],
96         [ "max log size",               5000,           1.900,  0 ],
97         [ "max mux",                    50,             1.802,  0 ],
98         [ "max ttl",                    14400,          1.915,  0 ],
99         [ "max wins ttl",               259200,         ???,    0 ],
100         [ "max xmit",                   65535,          1.525,  0 ],
101         [ "message command",            "",             1.901,  0 ],
102         [ "min print space",            0,              1.914,  1 ],
103         [ "min wins ttl",               21600,          ???,    0 ],
104         [ "netbios aliases",            "",             ???,    0 ],
105         [ "netbios name",               "",             ???,    0 ],
106         [ "nis homedir",                "false",        ???,    0 ],
107         [ "null passwords",             "no",           1.803,  0 ],
108         [ "only user",                  "false",        1.703,  1 ],
109         [ "oplocks",                    "true",         1.918,  1 ],
110         [ "os level",                   ???,            ???,    0 ],
111         [ "passwd chat",                "",             1.914,  0 ],
112         [ "passwd program",             "/bin/passwd",  0 ],
113         [ "password level",             0,              1.700,  0 ],
114         [ "password server",            "",             1.900,  0 ], # multiple
115         [ "path",                       "",             0,      1 ],
116         [ "=directory" ],
117         [ "postexec",                   "",             1.906,  1 ],
118         [ "postscript",                 "false",        1.801,  1 ],
119         [ "preexec",                    "",             0,      1 ],
120         [ "=exec" ],
121         [ "preferred master",           "no",           ???,    0 ],
122         [ "preserve case",              "no",           0,      1 ],
123         [ "print command",              "",             1.518,  1 ],
124         [ "printable",                  "no",           0,      1 ],
125         [ "=print ok" ],
126         [ "printcap name",              "",             1.513,  0 ],
127         [ "printer",                    "",             0,      1 ],
128         [ "=printer name" ],
129         [ "printer driver",             "",             0,      1 ],
130         [ "printer driver file",        "",             ???,    0 ],
131         [ "printer driver location",    "",             ???,    1 ],
132         [ "printing",                   "",             1.918,  1 ],
133         [ "printing",                   "",             0,      0 ],
134         [ "protocol",                   "NT1",          1.603,  0 ],
135         [ "public",                     "no",           0,      1 ],
136         [ "=guest ok" ],
137         [ "read list",                  "",             1.802,  1 ],
138         [ "read prediction",            "false",        1.705,  0 ],
139         [ "read raw",                   "yes",          1.700,  0 ],
140         [ "read size",                  2048,           1.900,  0 ],
141         [ "remote announce",            "",             ???,    0 ],
142         [ "remote browse sync",         "",             ???,    0 ],
143         [ "revalidate",                 "false",        1.902,  1 ],
144         [ "root directory",             "/",            1.522,  0 ],
145         [ "=root" ],
146         [ "=root dir" ],
147         [ "root preexec",               "",             1.9.11, 1 ],
148         [ "root postexec",              "",             1.9.11, 1 ],
149         [ "security",                   "SHARE",        1.609,  0 ],
150         [ "server string",              "",             1.800,  0 ],
151         [ "shared file entries",        113,            ???,    0 ],
152         [ "shared mem size",            102400,         ???,    0 ],
153         [ "smb passwd file",            "",             1.914,  0 ],
154         [ "smbrun",                     "",             1.911,  0 ],
155         [ "share modes",                "yes",          1.913,  1 ],
156         [ "short preserve case",        "no",           1.914,  1 ],
157         [ "socket address",             "",             ???,    0 ],
158         [ "socket options",             "",             1.903,  0 ],
159         [ "status",                     "yes",          1.803,  0 ],
160         [ "strict locking",             "no",           1.900,  1 ],
161         [ "strip dot",                  "no",           1.900,  1 ],
162         [ "syslog",                     1,              ???,    0 ],
163         [ "syslog only",                "no",           ???,    0 ],
164         [ "sync always",                "no",           1.914,  1 ],
165         [ "time offset",                0,              ???,    0 ],
166         [ "time server",                "false",        ???,    0 ],
167         [ "unix realname",              "no",           ???,    0 ],
168         [ "user",                       "",             1.502,  1 ],
169         [ "=username" ],
170         [ "username level",             0,              ???,    0 ],
171         [ "username map",               "",             1.913,  0 ],
172         [ "valid chars",                "",             1.912,  1 ],
173         [ "valid users",                "",             1.800,  1 ],
174         [ "veto files",                 "",             ???,    1 ],
175         [ "veto oplock files",          "",             ???,    1 ],
176         [ "volume",                     "",             0,      1 ],
177         [ "wide links",                 "yes",          0,      1 ],
178         [ "wins proxy",                 "no",           ???,    0 ],
179         [ "wins server",                "",             ???,    0 ],
180         [ "wins support",               "no",           ???,    0 ],
181         [ "workgroup",                  "",             1.913,  0 ],
182         [ "writable",                   "no",           1.513,  1 ],
183         [ "=write ok" ],
184         [ "write list",                 "",             1.802,  1 ],
185         [ "write raw",                  "yes",          1.913,  0 ],
186
187         [ "exec" ],
188         [ "max packet" ]
189         );
190 }
191