diff options
author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2001-12-14 11:41:22 +0000 |
---|---|---|
committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2001-12-14 11:41:22 +0000 |
commit | 85519b003ada2a5da1e30e333332b15afadcb563 (patch) | |
tree | a6563e2409fea18ff81d15c248055df33169e326 /etc/nsmb.conf | |
parent | e578c6f17ca7a0f3ab1bc7e8f06249187bcec067 (diff) | |
download | src-test2-85519b003ada2a5da1e30e333332b15afadcb563.tar.gz src-test2-85519b003ada2a5da1e30e333332b15afadcb563.zip |
Notes
Diffstat (limited to 'etc/nsmb.conf')
-rw-r--r-- | etc/nsmb.conf | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/etc/nsmb.conf b/etc/nsmb.conf new file mode 100644 index 000000000000..9bf26f383aba --- /dev/null +++ b/etc/nsmb.conf @@ -0,0 +1,55 @@ +# $FreeBSD$ +# +# smbfs lookups configuration files in next order: +# 1. ~/.nsmbrc +# 2. /usr/local/etc/nsmb.conf - if this file found it will +# override values with same keys from user files. +# +# +# This file consist from a set of sections. Each section started by section name +# surrounded with square brackets: +# [section_name] +# +# End of the section marked either by new section or by the end of file. +# Each section can contain zero or more parameters: +# [section_name] +# key=value +# +# where 'key' represents parameter name and 'value' a value assigned +# to this parameter. +# +# SMB library uses next forms of section names: +# A) [default] +# B) [SERVER] +# C) [SERVER:USER] +# D) [SERVER:USER:SHARE] +# +# Here is the map of possible keywords: +# +# keyword/section A B C D Comment +# +# addr - + - - IP or IPX address of SMB server +# charsets - + + + local:remote charset pair +# nbns + + - - address of NetBIOS name server (WINS) +# nbscope + + - - NetBIOS scope +# nbtimeout + + - - timeout for NetBIOS name servers +# password - - + + a plain text password used to access to the given share +# retry_count + + - - number of retries before connection marked as broken +# timeout + + - - SMB request timeout +# workgroup + + + + name of workgroup +# + +# A simple configuration example: + +# First, define a workgroup. +#[default] +#workgroup=SALES + +# The 'FSERVER' is an NT server. +#[FSERVER] +#charsets=koi8-r:cp866 +#addr=fserv.coolcorp.com + +[FSERVER:JOE] +# use persistent password cache for user 'joe' +#password=$$1767877DF |