dot.nsmbrc revision 95267
195267Ssheldonh# $Id: dot.nsmbrc,v 1.7 2002/04/10 04:21:11 bp Exp $ 287866Ssheldonh# 387866Ssheldonh# Example for .nsmbrc file 487866Ssheldonh# 587866Ssheldonh# smbfs lookups configuration files in next order: 687866Ssheldonh# 1. ~/.nsmbrc 787866Ssheldonh# 2. /usr/local/etc/nsmb.conf - if this file found it will 887866Ssheldonh# override values with same keys from user files. 987866Ssheldonh# 1087866Ssheldonh# 1187866Ssheldonh# This file consist from a set of sections. Each section started by section name 1287866Ssheldonh# surrounded with square brackets: 1387866Ssheldonh# [section_name] 1487866Ssheldonh# 1587866Ssheldonh# End of the section marked either by new section or by the end of file. 1687866Ssheldonh# Each section can contain zero or more parameters: 1787866Ssheldonh# [section_name] 1887866Ssheldonh# key=value 1987866Ssheldonh# 2087866Ssheldonh# where 'key' represents parameter name and 'value' a value assigned 2187866Ssheldonh# to this parameter. 2287866Ssheldonh# 2395267Ssheldonh# SMB library uses next forms of section names (please note that the section 2495267Ssheldonh# name should be in upper case when it refers to server, user or share): 2587866Ssheldonh# A) [default] 2687866Ssheldonh# B) [SERVER] 2787866Ssheldonh# C) [SERVER:USER] 2887866Ssheldonh# D) [SERVER:USER:SHARE] 2987866Ssheldonh# 3087866Ssheldonh# Here is the map of possible keywords: 3187866Ssheldonh# 3287866Ssheldonh# keyword/section A B C D Comment 3387866Ssheldonh# 3487866Ssheldonh# addr - + - - IP or IPX address of SMB server 3595267Ssheldonh# charsets + + + + local:remote charset pair 3687866Ssheldonh# nbns + + - - address of NetBIOS name server (WINS) 3787866Ssheldonh# nbscope + + - - NetBIOS scope 3887866Ssheldonh# nbtimeout + + - - timeout for NetBIOS name servers 3987866Ssheldonh# password - - + + a plain text password used to access to the given share 4087866Ssheldonh# retry_count + + - - number of retries before connection marked as broken 4187866Ssheldonh# timeout + + - - SMB request timeout 4287866Ssheldonh# workgroup + + + + name of workgroup 4387866Ssheldonh# 4487866Ssheldonh 4587866Ssheldonh# A simple configuration example: 4687866Ssheldonh 4787866Ssheldonh# First, define a workgroup. 4887866Ssheldonh[default] 4987866Ssheldonhworkgroup=SALES 5087866Ssheldonh 5187866Ssheldonh# The 'FSERVER' is an NT server. 5287866Ssheldonh[FSERVER] 5387866Ssheldonhcharsets=koi8-r:cp866 5487866Ssheldonhaddr=fserv.coolcorp.com 5587866Ssheldonh 5687866Ssheldonh[FSERVER:JOE] 5787866Ssheldonh# use persistent password cache for user 'joe' 5887866Ssheldonhpassword=$$1767877DF 59