summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2001-12-14 11:41:22 +0000
committersheldonh <sheldonh@FreeBSD.org>2001-12-14 11:41:22 +0000
commit551d694f64492d4841014ae147153c9ca632408c (patch)
treea6563e2409fea18ff81d15c248055df33169e326 /etc
parente19de1ca7045af9c082151e6054a81cbed69548f (diff)
downloadFreeBSD-src-551d694f64492d4841014ae147153c9ca632408c.zip
FreeBSD-src-551d694f64492d4841014ae147153c9ca632408c.tar.gz
Add bmake glue for src/contrib/smbfs and connect userland smbfs
support to the build. The MFC reminder below is subject to <re@FreeBSD.org> approval prior to 4.5-RELEASE. Reviewed by: bp, fjoe MFC: 1 week
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile2
-rw-r--r--etc/nsmb.conf55
2 files changed, 56 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile
index c693a1a..6787fd9 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -10,7 +10,7 @@ BIN1= amd.map apmd.conf auth.conf \
dhclient.conf dm.conf fbtab ftpusers gettytab group \
hosts hosts.allow hosts.equiv hosts.lpd \
inetd.conf login.access login.conf \
- motd modems netconfig networks newsyslog.conf \
+ motd modems netconfig networks newsyslog.conf nsmb.conf \
phones printcap profile protocols \
rc rc.atm rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 \
rc.network rc.network6 rc.pccard rc.serial rc.shutdown \
diff --git a/etc/nsmb.conf b/etc/nsmb.conf
new file mode 100644
index 0000000..9bf26f3
--- /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
OpenPOWER on IntegriCloud