1# $FreeBSD$ 2# 3# smbfs lookups configuration files in next order: 4# 1. ~/.nsmbrc 5# 2. /etc/nsmb.conf - if this file found it will 6# override values with same keys from user files. 7# 8# 9# This file consist from a set of sections. Each section started by section name 10# surrounded with square brackets: 11# [section_name] 12# 13# End of the section marked either by new section or by the end of file. 14# Each section can contain zero or more parameters: 15# [section_name] 16# key=value 17# 18# where 'key' represents parameter name and 'value' a value assigned 19# to this parameter. 20# 21# SMB library uses next forms of section names (please note that the section 22# name should be in upper case when it refers to server, user or share): 23# A) [default] 24# B) [SERVER] 25# C) [SERVER:USER] 26# D) [SERVER:USER:SHARE] 27# 28# Here is the map of possible keywords: 29# 30# keyword/section A B C D Comment 31# 32# addr - + - - IP address of SMB server 33# charsets + + + + local:remote charset pair 34# nbns + + - - address of NetBIOS name server (WINS) 35# nbscope + + - - NetBIOS scope 36# nbtimeout + + - - timeout for NetBIOS name servers 37# password - - + + a plain text password used to access to the given share 38# retry_count + + - - number of retries before connection marked as broken 39# timeout + + - - SMB request timeout 40# workgroup + + + + name of workgroup 41# 42 43# A simple configuration example: 44 45# First, define a workgroup. 46#[default] 47#workgroup=SALES 48 49# The 'FSERVER' is an NT server. 50#[FSERVER] 51#charsets=koi8-r:cp866 52#addr=fserv.coolcorp.com 53 54#[FSERVER:JOE] 55# use persistent password cache for user 'joe' 56#password=$$1767877DF 57