[275e2f]: conf / smbnetfs.conf  Maximize  Restore  History

Download this file

317 lines (286 with data), 12.4 kB

#################################
#                               #
#  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 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: 3
#---------------------------------------------------------------------
#max_retry_count	3

#---------------------------------------------------------------------
# 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.
# WARNING: libsmbclient <= 3.0 does not support block_size >= 64Kb.
#
# Default: 48Kb (libsmbclient-3.0), 128Kb (libsmbclient-3.2 or above)
#---------------------------------------------------------------------
#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)
#
# 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"

#---------------------------------------------------------------------
# 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_gnome_keyring disabled, SMBNetFS will not search auth
# information for samba network resource in gnome-keyring.
# This information is typically used/filled by nautilus when
# you access Microsoft Windows Network resources.
#
# SMBNetFS uses predefined GNOME_KEYRING_NETWORK_PASSWORD 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_gnome_keyring	"true"

#---------------------------------------------------------------------
# gnome-keyring 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 gnome-keyring.
# If timeout expired the gnome-keyring query immediately fail.
# Possible value: gnome_keyring_timeout > 0
#
# Default: 500 milliseconds
#---------------------------------------------------------------------
#gnome_keyring_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"