/etc/smbnetfs.conf is in smbnetfs 0.6.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | #################################
# #
# SMBNetFS sample config file #
# #
#################################
#---------------------------------------------------------------------
# SMBNetFS debug level. Most of people should not use debug level
# greater then 6.
# Possible values: 0 <= smbnetfs_debug <= 10
#
# Default: 0
#---------------------------------------------------------------------
#smbnetfs_debug 0
#---------------------------------------------------------------------
# File to store SMBNetFS debug messages
#
# Default: print to stderr
#---------------------------------------------------------------------
#log_file "/tmp/smbnetfs.log"
#---------------------------------------------------------------------
# Child process inactivity timeout. Child process will be finished
# after timeout expiration.
# Possible values: listen_timeout >= 30
#
# Default: 300
#---------------------------------------------------------------------
#listen_timeout 300
#---------------------------------------------------------------------
# Samba reply timeout. Request fails after this number of milliseconds.
# Possible values: smb_timeout >= 1000
#
# Default: 20000 milliseconds
#---------------------------------------------------------------------
#smb_timeout 20000
#---------------------------------------------------------------------
# Samba debug level (man smb.conf for details)
# Possible values: 0 <= smb_debug_level <= 10
#
# Default: 0
#---------------------------------------------------------------------
#smb_debug_level 0
#---------------------------------------------------------------------
# Local charset
#
# Default: autodetected
#---------------------------------------------------------------------
#local_charset "koi8-r"
#---------------------------------------------------------------------
# Charset used by samba
#
# Default: utf-8
#---------------------------------------------------------------------
#samba_charset "utf-8"
#---------------------------------------------------------------------
# Number of retries before reporting error.
# Possible values: max_retry_count >= 0
#
# Default: 2
#---------------------------------------------------------------------
#max_retry_count 2
#---------------------------------------------------------------------
# Maximum number of password queries to prevent infinite loop.
# Possible values: max_passwd_query_count >= 3
#
# Default: 10
#---------------------------------------------------------------------
#max_passwd_query_count 10
#---------------------------------------------------------------------
# Child process reply timeout. Child process will be assumed dead
# (and killed) if timeout expired.
# Possible values: reply_timeout >= 10
#
# Default: 30
#---------------------------------------------------------------------
#reply_timeout 30
#---------------------------------------------------------------------
# The maximum size of read/write block in Kb. This option can not be
# changed after SMBNetFS start.
#
# Default: 128Kb
#---------------------------------------------------------------------
#max_rw_block_size 128
#---------------------------------------------------------------------
# The maximum number of samba context (forked processes). Reduse it if
# SMBNetFS eat a lot of memory
#
# Default: 15
#---------------------------------------------------------------------
#max_ctx_count 15
#---------------------------------------------------------------------
# time_step is a sleep interval between checking for scheduled events.
# Increase it if SMBNetFS eat to much cpu without loading.
#
# Default: 10 sec
#---------------------------------------------------------------------
#time_step 10
#---------------------------------------------------------------------
# The time between scanning samba network tree for changes
#
# Default: 300 sec
#---------------------------------------------------------------------
#smb_tree_scan_period 300
#---------------------------------------------------------------------
# The time to live of founded computer/workgroup in a network tree
#
# Default: 900 sec
#---------------------------------------------------------------------
#smb_tree_elements_ttl 900
#---------------------------------------------------------------------
# An interval between configuration update (rereading of config files).
# Use zero value to disable periodic config rereading.
#
# Default: 300 sec
#---------------------------------------------------------------------
#config_update_period 300
#---------------------------------------------------------------------
# If smb_query_browsers disabled, then SMBNetFS will show only static
# host/group/link.
# Possible value: true, false, yes, no
#
# Default: true
#---------------------------------------------------------------------
#smb_query_browsers "true"
#---------------------------------------------------------------------
# This option define the free space size reported by SMBNetFS. This is
# mostly required for Nautilus (Gnome project), as it check the amount
# of free space before any write attempt.
# WARNING!!! Actual free space size is equal to free_space_size * 4Kb
#
# Default: 0
#---------------------------------------------------------------------
#free_space_size 0
#---------------------------------------------------------------------
# If quiet_flag enabled, then chown/chgroup will return succcess, else
# chmod/chown will always fail.
# Possible value: true, false, yes, no
#
# Default: true
#---------------------------------------------------------------------
#quiet_flag "true"
#---------------------------------------------------------------------
# If show_$_shares disabled, then SMBNetFS will not show shares with $
# at the end.
# Possible value: true, false, yes, no
#
# Default: false
#---------------------------------------------------------------------
#show_$_shares "false"
#---------------------------------------------------------------------
# If show_hidden_hosts enabled, then SMBNetFS will show all scanned
# host in a network tree.
# Possible value: true, false, yes, no
#
# Default: false
#---------------------------------------------------------------------
#show_hidden_hosts "false"
#---------------------------------------------------------------------
# Enable/Disable negative cache usage. This cache may greatly speedup
# your network browsing in the situation where some hosts are
# inaccessible.
# Possible value: true, false, yes, no
#
# Default: true
#---------------------------------------------------------------------
#neg_cache "true"
#---------------------------------------------------------------------
# Negative cache records expiration time.
# Possible values: neg_cache_timeout > 0
#
# Default: 3000 milliseconds
#---------------------------------------------------------------------
#neg_cache_timeout 3000
#---------------------------------------------------------------------
# konqueror search for '.directory' subdir in any directory and its
# subdirectories. There are similar issues with gnome terminal and
# wine also. This behavior may slow down a network browsing.
#
# The option enable scanning stat() arguments for the following
# list of patterns
# '.directory' [case_sensitive: true] (konqueror)
# '.git' [case_sensitive: true] (gnome terminal)
# 'HEAD' [case_sensitive: true] (gnome terminal)
# 'Desktop.ini' [case_sensitive: false] (wine)
# If one of the patterns was found, then stat() return ENOENT.
#
# Possible value: true, false, yes, no
#
# Default: "true"
#---------------------------------------------------------------------
#stat_workaround_enable_default_entries "true"
#---------------------------------------------------------------------
# konqueror search for '.directory' subdir in any directory and its
# subdirectories. There are similar issues with gnome terminal and
# wine also. This behavior may slow down a network browsing (see
# the description of 'stat_workaround_enable_default_entries').
#
# The value below specify the number of path component checked by default:
# -1 check all path component
# 0 do not check path component
# 1 check computer/group names only
# 2 check computer/group names and share names only
# 3 check computer/group names, share names and the
# names of first directory after the share name.
# ...
#
# Set stat_workaround_depth to 3 or above if you browse SMBNetFS with
# konqueror, wine applications or use gnome terminal. Other people can
# safely use 0.
# Possible value: -1, 0, 1, 2, ...
#
# Default: "3"
#---------------------------------------------------------------------
#stat_workaround_depth "3"
#---------------------------------------------------------------------
# konqueror search for '.directory' subdir in any directory and its
# subdirectories. There are similar issues with gnome terminal and
# wine also. This behavior may slow down a network browsing (see
# the description of 'stat_workaround_enable_default_entries',
# 'stat_workaround_depth' and 'stat_workaround_name').
#
# The workaround declared in 'stat_workaround_enable_default_entries'
# option maybe unwanted or not enougth in some situations.
# This option define additional rules for stat() workaround.
#
# Syntax:
# stat_workaround_name "name" [case_sensitive=true|false] [depth=n]
#---------------------------------------------------------------------
#stat_workaround_name "name1" case_sensitive=false depth=3
#stat_workaround_name "name2" case_sensitive=false
#stat_workaround_name "name3" depth=3
#---------------------------------------------------------------------
# konqueror search for '.directory' subdir in any directory and its
# subdirectories. There are similar issues with gnome terminal and
# wine also. This behavior may slow down a network browsing (see
# the description of 'stat_workaround_enable_default_entries',
# 'stat_workaround_depth' and 'stat_workaround_name').
#
# The workaround declared in 'stat_workaround_enable_default_entries'
# and 'stat_workaround_name' options maybe unwanted in some situations.
# This option define an exception to specified rules.
#
# Syntax:
# stat_workaround_exception "full_path_to_exception"
#---------------------------------------------------------------------
#stat_workaround_exception "/path/name1"
#stat_workaround_exception "/path/name2"
#stat_workaround_exception "/path/name3"
#---------------------------------------------------------------------
# If use_libsecret disabled, SMBNetFS will not search auth
# information for samba network resource in libsecret.
# This information is typically used/filled by nautilus when
# you access Microsoft Windows Network resources.
#
# SMBNetFS uses predefined SECRET_SCHEMA_COMPAT_NETWORK scheme.
# Only the following attributes are used:
# protocol = should be "smb"
# server = server name you want to access,
# if not set --- any server suit
# object = network resource name (share name) you want to access,
# if not set --- any share suit
# domain = windows login domain name (may be empty)
# user = user login name (should be non-empty)
# password = user password (may be empty)
#
# Possible value: true, false, yes, no
#
# Default: true
#---------------------------------------------------------------------
#use_libsecret "true"
#---------------------------------------------------------------------
# libsecret can wait for user password to unlock keyring database.
# This may produce inacceptable long delays, so this parameter set a
# timeout (in milliceconds) for auth retrieving from libsecret.
# If timeout expired the libsecret query immediately fail.
# Possible value: libsecret_timeout > 0
#
# Default: 500 milliseconds
#---------------------------------------------------------------------
#libsecret_timeout "500"
#---------------------------------------------------------------------
# Set auth information for samba network resource. If share name is
# omited then the auth data applied to all computer "computer" shares.
# Omit "computer/share" to specify default auth patameters.
#
# PS: You can use "cd mountpoint/domain:user:password@computer"
# command to enter to remote computer as domain/workgroup
# "domain_or_workgroup" user "user" with password "password".
#
# Syntax:
# auth [computer[/share]] [domain_or_workgroup/]user password
# auth [workgroup] [domain_or_workgroup/]user password
#
# Default:
# auth "user_login_name" ""
#
#---------------------------------------------------------------------
#auth "guest" ""
# read auth data from ~/.smb/smbnetfs.auth
include "smbnetfs.auth"
#---------------------------------------------------------------------
# This section describe a static host/group/link.
#
# host computer_name [parent_group=group_name] [visible=true|false]
# group group_name
# link link_name link_contents
# link group/link_name [link_contents]
#---------------------------------------------------------------------
# read host/group/link from ~/.smb/smbnetfs.host
include "smbnetfs.host"
|