################################# # # # 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 6 #--------------------------------------------------------------------- # 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 "true" #--------------------------------------------------------------------- # If show_hidden_hosts enabled, then SMBNetFS will show all scanned # host in a network tree. # at the end. # Possible value: true, false, yes, no # # Default: false #--------------------------------------------------------------------- show_hidden_hosts "true" #--------------------------------------------------------------------- # konqueror search for '.directory' subdir in any directory and its # subdirectories. There is a similar issue with gnome terminal also. # This behavior may slow down a network browsing. The value below # specify the number of path component checked for: # '.directory' (konqueror) # '.git' (gnome terminal) # 'HEAD' (gnome terminal) # Use the value of -1 to check all path component. # # Set stat_workaround_depth to 3 or above if you browse SMBNetFS with # konqueror or use gnome terminal. Other people can safely use 0. # Possible value: -1, 0, 1, 2, ... # # Default: "3" #--------------------------------------------------------------------- stat_workaround_depth "0" #--------------------------------------------------------------------- # 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 BUKKAKE "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"