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