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