1# $Id: dot.nsmbrc,v 1.6 2000/07/16 01:52:06 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: 24# A) [default] 25# B) [SERVER] 26# C) [SERVER:USER] 27# D) [SERVER:USER:SHARE] 28# 29# Here is the map of possible keywords: 30# 31# keyword/section A B C D Comment 32# 33# addr - + - - IP or IPX address of SMB server 34# charsets - + + + local:remote charset pair 35# nbns + + - - address of NetBIOS name server (WINS) 36# nbscope + + - - NetBIOS scope 37# nbtimeout + + - - timeout for NetBIOS name servers 38# password - - + + a plain text password used to access to the given share 39# retry_count + + - - number of retries before connection marked as broken 40# timeout + + - - SMB request timeout 41# workgroup + + + + name of workgroup 42# 43 44# A simple configuration example: 45 46# First, define a workgroup. 47[default] 48workgroup=SALES 49 50# The 'FSERVER' is an NT server. 51[FSERVER] 52charsets=koi8-r:cp866 53addr=fserv.coolcorp.com 54 55[FSERVER:JOE] 56# use persistent password cache for user 'joe' 57password=$$1767877DF 58