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