1 |
# $MidnightBSD$ |
2 |
# $FreeBSD: src/etc/nsmb.conf,v 1.4 2002/04/22 16:18:36 sheldonh 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 (please note that the section |
23 |
# name should be in upper case when it refers to server, user or share): |
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] |
48 |
#workgroup=SALES |
49 |
|
50 |
# The 'FSERVER' is an NT server. |
51 |
#[FSERVER] |
52 |
#charsets=koi8-r:cp866 |
53 |
#addr=fserv.coolcorp.com |
54 |
|
55 |
#[FSERVER:JOE] |
56 |
# use persistent password cache for user 'joe' |
57 |
#password=$$1767877DF |