Error out if no volumes are specified instead of core-dumping.
[dragonfly.git] / contrib / smbfs / examples / dot.nsmbrc
blob052c718646f33af25f04eb24a55abf481065876d
1 # $Id: dot.nsmbrc,v 1.7 2002/04/10 04:21:11 bp Exp $
3 # Example for .nsmbrc file
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.
11 # This file consist from a set of sections. Each section started by section name
12 # surrounded with square brackets:
13 # [section_name]
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
20 # where 'key' represents parameter name and 'value' a value assigned
21 # to this parameter.
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]
30 # Here is the map of possible keywords:
32 # keyword/section       A  B  C  D      Comment
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
45 # A simple configuration example:
47 # First, define a workgroup.
48 [default]
49 workgroup=SALES
51 # The 'FSERVER' is an NT server.
52 [FSERVER]
53 charsets=koi8-r:cp866
54 addr=fserv.coolcorp.com
56 [FSERVER:JOE]
57 # use persistent password cache for user 'joe'
58 password=$$1767877DF