"Fossies" - the Fresh Open Source Software Archive 
Member "smbnetfs-0.6.3/conf/smbnetfs.conf" (2 Mar 2019, 13605 Bytes) of package /linux/misc/smbnetfs-0.6.3.tar.bz2:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the last
Fossies "Diffs" side-by-side code changes report for "smbnetfs.conf":
0.6.1_vs_0.6.2.
1 #################################
2 # #
3 # SMBNetFS sample config file #
4 # #
5 #################################
6
7 #---------------------------------------------------------------------
8 # SMBNetFS debug level. Most of people should not use debug level
9 # greater then 6.
10 # Possible values: 0 <= smbnetfs_debug <= 10
11 #
12 # Default: 0
13 #---------------------------------------------------------------------
14 #smbnetfs_debug 0
15
16 #---------------------------------------------------------------------
17 # File to store SMBNetFS debug messages
18 #
19 # Default: print to stderr
20 #---------------------------------------------------------------------
21 #log_file "/tmp/smbnetfs.log"
22
23 #---------------------------------------------------------------------
24 # Child process inactivity timeout. Child process will be finished
25 # after timeout expiration.
26 # Possible values: listen_timeout >= 30
27 #
28 # Default: 300
29 #---------------------------------------------------------------------
30 #listen_timeout 300
31
32 #---------------------------------------------------------------------
33 # Samba reply timeout. Request fails after this number of milliseconds.
34 # Possible values: smb_timeout >= 1000
35 #
36 # Default: 20000 milliseconds
37 #---------------------------------------------------------------------
38 #smb_timeout 20000
39
40 #---------------------------------------------------------------------
41 # Samba debug level (man smb.conf for details)
42 # Possible values: 0 <= smb_debug_level <= 10
43 #
44 # Default: 0
45 #---------------------------------------------------------------------
46 #smb_debug_level 0
47
48 #---------------------------------------------------------------------
49 # Local charset
50 #
51 # Default: autodetected
52 #---------------------------------------------------------------------
53 #local_charset "koi8-r"
54
55 #---------------------------------------------------------------------
56 # Charset used by samba
57 #
58 # Default: utf-8
59 #---------------------------------------------------------------------
60 #samba_charset "utf-8"
61
62 #---------------------------------------------------------------------
63 # Number of retries before reporting error.
64 # Possible values: max_retry_count >= 0
65 #
66 # Default: 2
67 #---------------------------------------------------------------------
68 #max_retry_count 2
69
70 #---------------------------------------------------------------------
71 # Maximum number of password queries to prevent infinite loop.
72 # Possible values: max_passwd_query_count >= 3
73 #
74 # Default: 10
75 #---------------------------------------------------------------------
76 #max_passwd_query_count 10
77
78 #---------------------------------------------------------------------
79 # Child process reply timeout. Child process will be assumed dead
80 # (and killed) if timeout expired.
81 # Possible values: reply_timeout >= 10
82 #
83 # Default: 30
84 #---------------------------------------------------------------------
85 #reply_timeout 30
86
87 #---------------------------------------------------------------------
88 # The maximum size of read/write block in Kb. This option can not be
89 # changed after SMBNetFS start.
90 #
91 # Default: 128Kb
92 #---------------------------------------------------------------------
93 #max_rw_block_size 128
94
95 #---------------------------------------------------------------------
96 # The maximum number of samba context (forked processes). Reduse it if
97 # SMBNetFS eat a lot of memory
98 #
99 # Default: 15
100 #---------------------------------------------------------------------
101 #max_ctx_count 15
102
103 #---------------------------------------------------------------------
104 # time_step is a sleep interval between checking for scheduled events.
105 # Increase it if SMBNetFS eat to much cpu without loading.
106 #
107 # Default: 10 sec
108 #---------------------------------------------------------------------
109 #time_step 10
110
111 #---------------------------------------------------------------------
112 # The time between scanning samba network tree for changes
113 #
114 # Default: 300 sec
115 #---------------------------------------------------------------------
116 #smb_tree_scan_period 300
117
118 #---------------------------------------------------------------------
119 # The time to live of founded computer/workgroup in a network tree
120 #
121 # Default: 900 sec
122 #---------------------------------------------------------------------
123 #smb_tree_elements_ttl 900
124
125 #---------------------------------------------------------------------
126 # An interval between configuration update (rereading of config files).
127 # Use zero value to disable periodic config rereading.
128 #
129 # Default: 300 sec
130 #---------------------------------------------------------------------
131 #config_update_period 300
132
133 #---------------------------------------------------------------------
134 # If smb_query_browsers disabled, then SMBNetFS will show only static
135 # host/group/link.
136 # Possible value: true, false, yes, no
137 #
138 # Default: true
139 #---------------------------------------------------------------------
140 #smb_query_browsers "true"
141
142 #---------------------------------------------------------------------
143 # This option define the free space size reported by SMBNetFS. This is
144 # mostly required for Nautilus (Gnome project), as it check the amount
145 # of free space before any write attempt.
146 # WARNING!!! Actual free space size is equal to free_space_size * 4Kb
147 #
148 # Default: 0
149 #---------------------------------------------------------------------
150 #free_space_size 0
151
152 #---------------------------------------------------------------------
153 # If quiet_flag enabled, then chown/chgroup will return succcess, else
154 # chmod/chown will always fail.
155 # Possible value: true, false, yes, no
156 #
157 # Default: true
158 #---------------------------------------------------------------------
159 #quiet_flag "true"
160
161 #---------------------------------------------------------------------
162 # If show_$_shares disabled, then SMBNetFS will not show shares with $
163 # at the end.
164 # Possible value: true, false, yes, no
165 #
166 # Default: false
167 #---------------------------------------------------------------------
168 #show_$_shares "false"
169
170 #---------------------------------------------------------------------
171 # If show_hidden_hosts enabled, then SMBNetFS will show all scanned
172 # host in a network tree.
173 # Possible value: true, false, yes, no
174 #
175 # Default: false
176 #---------------------------------------------------------------------
177 #show_hidden_hosts "false"
178
179 #---------------------------------------------------------------------
180 # If noexec_attr enabled, then SMBNetFS will remove executable bit
181 # from regular files.
182 # Possible value: true, false, yes, no
183 #
184 # Default: false
185 #---------------------------------------------------------------------
186 #noexec_attr "false"
187
188 #---------------------------------------------------------------------
189 # Enable/Disable negative cache usage. This cache may greatly speedup
190 # your network browsing in the situation where some hosts are
191 # inaccessible.
192 # Possible value: true, false, yes, no
193 #
194 # Default: true
195 #---------------------------------------------------------------------
196 #neg_cache "true"
197
198 #---------------------------------------------------------------------
199 # Negative cache records expiration time.
200 # Possible values: neg_cache_timeout > 0
201 #
202 # Default: 3000 milliseconds
203 #---------------------------------------------------------------------
204 #neg_cache_timeout 3000
205
206 #---------------------------------------------------------------------
207 # konqueror search for '.directory' subdir in any directory and its
208 # subdirectories. There are similar issues with gnome terminal and
209 # wine also. This behavior may slow down a network browsing.
210 #
211 # The option enable scanning stat() arguments for the following
212 # list of patterns
213 # '.directory' [case_sensitive: true] (konqueror)
214 # '.git' [case_sensitive: true] (gnome terminal)
215 # 'HEAD' [case_sensitive: true] (gnome terminal)
216 # 'Desktop.ini' [case_sensitive: false] (wine)
217 # If one of the patterns was found, then stat() return ENOENT.
218 #
219 # Possible value: true, false, yes, no
220 #
221 # Default: "true"
222 #---------------------------------------------------------------------
223 #stat_workaround_enable_default_entries "true"
224
225 #---------------------------------------------------------------------
226 # konqueror search for '.directory' subdir in any directory and its
227 # subdirectories. There are similar issues with gnome terminal and
228 # wine also. This behavior may slow down a network browsing (see
229 # the description of 'stat_workaround_enable_default_entries').
230 #
231 # The value below specify the number of path component checked by default:
232 # -1 check all path component
233 # 0 do not check path component
234 # 1 check computer/group names only
235 # 2 check computer/group names and share names only
236 # 3 check computer/group names, share names and the
237 # names of first directory after the share name.
238 # ...
239 #
240 # Set stat_workaround_depth to 3 or above if you browse SMBNetFS with
241 # konqueror, wine applications or use gnome terminal. Other people can
242 # safely use 0.
243 # Possible value: -1, 0, 1, 2, ...
244 #
245 # Default: "3"
246 #---------------------------------------------------------------------
247 #stat_workaround_depth "3"
248
249 #---------------------------------------------------------------------
250 # konqueror search for '.directory' subdir in any directory and its
251 # subdirectories. There are similar issues with gnome terminal and
252 # wine also. This behavior may slow down a network browsing (see
253 # the description of 'stat_workaround_enable_default_entries',
254 # 'stat_workaround_depth' and 'stat_workaround_name').
255 #
256 # The workaround declared in 'stat_workaround_enable_default_entries'
257 # option maybe unwanted or not enougth in some situations.
258 # This option define additional rules for stat() workaround.
259 #
260 # Syntax:
261 # stat_workaround_name "name" [case_sensitive=true|false] [depth=n]
262 #---------------------------------------------------------------------
263 #stat_workaround_name "name1" case_sensitive=false depth=3
264 #stat_workaround_name "name2" case_sensitive=false
265 #stat_workaround_name "name3" depth=3
266
267 #---------------------------------------------------------------------
268 # konqueror search for '.directory' subdir in any directory and its
269 # subdirectories. There are similar issues with gnome terminal and
270 # wine also. This behavior may slow down a network browsing (see
271 # the description of 'stat_workaround_enable_default_entries',
272 # 'stat_workaround_depth' and 'stat_workaround_name').
273 #
274 # The workaround declared in 'stat_workaround_enable_default_entries'
275 # and 'stat_workaround_name' options maybe unwanted in some situations.
276 # This option define an exception to specified rules.
277 #
278 # Syntax:
279 # stat_workaround_exception "full_path_to_exception"
280 #---------------------------------------------------------------------
281 #stat_workaround_exception "/path/name1"
282 #stat_workaround_exception "/path/name2"
283 #stat_workaround_exception "/path/name3"
284
285 #---------------------------------------------------------------------
286 # If use_libsecret disabled, SMBNetFS will not search auth
287 # information for samba network resource in libsecret.
288 # This information is typically used/filled by nautilus when
289 # you access Microsoft Windows Network resources.
290 #
291 # SMBNetFS uses predefined SECRET_SCHEMA_COMPAT_NETWORK scheme.
292 # Only the following attributes are used:
293 # protocol = should be "smb"
294 # server = server name you want to access,
295 # if not set --- any server suit
296 # object = network resource name (share name) you want to access,
297 # if not set --- any share suit
298 # domain = windows login domain name (may be empty)
299 # user = user login name (should be non-empty)
300 # password = user password (may be empty)
301 #
302 # Possible value: true, false, yes, no
303 #
304 # Default: true
305 #---------------------------------------------------------------------
306 #use_libsecret "true"
307
308 #---------------------------------------------------------------------
309 # libsecret can wait for user password to unlock keyring database.
310 # This may produce inacceptable long delays, so this parameter set a
311 # timeout (in milliceconds) for auth retrieving from libsecret.
312 # If timeout expired the libsecret query immediately fail.
313 # Possible value: libsecret_timeout > 0
314 #
315 # Default: 500 milliseconds
316 #---------------------------------------------------------------------
317 #libsecret_timeout "500"
318
319 #---------------------------------------------------------------------
320 # Set auth information for samba network resource. If share name is
321 # omited then the auth data applied to all computer "computer" shares.
322 # Omit "computer/share" to specify default auth patameters.
323 #
324 # PS: You can use "cd mountpoint/domain:user:password@computer"
325 # command to enter to remote computer as domain/workgroup
326 # "domain_or_workgroup" user "user" with password "password".
327 #
328 # Syntax:
329 # auth [computer[/share]] [domain_or_workgroup/]user password
330 # auth [workgroup] [domain_or_workgroup/]user password
331 #
332 # Default:
333 # auth "user_login_name" ""
334 #
335 #---------------------------------------------------------------------
336 #auth "guest" ""
337
338 # read auth data from ~/.smb/smbnetfs.auth
339 include "smbnetfs.auth"
340
341 #---------------------------------------------------------------------
342 # This section describe a static host/group/link.
343 #
344 # host computer_name [parent_group=group_name] [visible=true|false]
345 # group group_name
346 # link link_name link_contents
347 # link group/link_name [link_contents]
348 #---------------------------------------------------------------------
349
350 # read host/group/link from ~/.smb/smbnetfs.host
351 include "smbnetfs.host"