svn commit: r358953 - in stable/12: contrib/smbfs/mount_smbfs contrib/smbfs/smbutil share/man/man5

Mateusz Piotrowski 0mp at FreeBSD.org
Fri Mar 13 10:29:33 UTC 2020


Author: 0mp (doc,ports committer)
Date: Fri Mar 13 10:29:31 2020
New Revision: 358953
URL: https://svnweb.freebsd.org/changeset/base/358953

Log:
  MFC r340031, r340032, r340048: Improve SMB documentation
  
  Approved by:	bcr (mentor)
  Differential Revision:	https://reviews.freebsd.org/D24057
  
  smbutil(1): Reference nsmb.conf(5) and mount_smbfs(8)
  
  Reviewed by:	bcr
  Approved by:    krion (mentor, implicit), mat (mentor, implicit)
  Differential Revision:	https://reviews.freebsd.org/D17809
  
  mount_smbfs(8): Mention /etc/nsmb.conf, smbutil(1) and nsmb.conf(5)
  
  Reviewed by:	bcr
  Approved by:	krion (mentor, implicit), mat (mentor, implicit)
  Differential Revision:	https://reviews.freebsd.org/D17808
  
  nsmb.conf(5): Document the order of configuration loading
  
  Based on the comments in /etc/nsmb.conf.
  
  Reviewed by:	bcr
  Approved by:	krion (mentor, implicit), mat (mentor, implicit)
  Differential Revision:	https://reviews.freebsd.org/D17810

Modified:
  stable/12/contrib/smbfs/mount_smbfs/mount_smbfs.8
  stable/12/contrib/smbfs/smbutil/smbutil.1
  stable/12/share/man/man5/nsmb.conf.5
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/contrib/smbfs/mount_smbfs/mount_smbfs.8
==============================================================================
--- stable/12/contrib/smbfs/mount_smbfs/mount_smbfs.8	Fri Mar 13 10:04:54 2020	(r358952)
+++ stable/12/contrib/smbfs/mount_smbfs/mount_smbfs.8	Fri Mar 13 10:29:31 2020	(r358953)
@@ -136,12 +136,14 @@ are 137.
 Path to mount point.
 .El
 .Sh FILES
-.Bl -tag -width ".Pa ~/.nsmbrc" -compact
+.Bl -tag -width ".Pa /etc/nsmb.conf" -compact
 .It Pa ~/.nsmbrc
-Keeps static parameters for connections and other information.
+Keeps user-specific static parameters for connections and other information.
 See
 .Pa /usr/share/examples/smbfs/dot.nsmbrc
 for details.
+.It Pa /etc/nsmb.conf
+Keeps system-wide static parameters for connections and other information.
 .El
 .Sh EXAMPLES
 The following example illustrates how to connect to SMB server
@@ -163,7 +165,11 @@ for smbfs mounts (the example below does not prompt fo
 .Pp
 .Dl "//guest at samba/public    /smb/public     smbfs  rw,noauto,-N 0   0"
 .Sh SEE ALSO
-.Bl -dash
+.Xr smbutil 1 ,
+.Xr nsmb.conf 5
+.Pp
+Other resources:
+.Bl -dash -compact
 .It
 Chapter dedicated to Samba configuration in the
 .Fx

Modified: stable/12/contrib/smbfs/smbutil/smbutil.1
==============================================================================
--- stable/12/contrib/smbfs/smbutil/smbutil.1	Fri Mar 13 10:04:54 2020	(r358952)
+++ stable/12/contrib/smbfs/smbutil/smbutil.1	Fri Mar 13 10:29:31 2020	(r358953)
@@ -1,5 +1,5 @@
 .\" $Id: smbutil.1,v 1.5 2002/04/16 02:48:16 bp Exp $
-.Dd February 14, 2000
+.Dd November 1, 2018
 .Dt SMBUTIL 1
 .Os
 .Sh NAME
@@ -127,6 +127,9 @@ See
 .Pa ./examples/dot.nsmbrc
 for details.
 .El
+.Sh SEE ALSO
+.Xr nsmb.conf 5 ,
+.Xr mount_smbfs 8
 .Sh AUTHORS
 .An Boris Popov Aq bp at butya.kz ,
 .Aq bp at FreeBSD.org

Modified: stable/12/share/man/man5/nsmb.conf.5
==============================================================================
--- stable/12/share/man/man5/nsmb.conf.5	Fri Mar 13 10:04:54 2020	(r358952)
+++ stable/12/share/man/man5/nsmb.conf.5	Fri Mar 13 10:29:31 2020	(r358953)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd November 24, 2016
+.Dd November 2, 2018
 .Dt NSMB.CONF 5
 .Os
 .Sh NAME
@@ -40,6 +40,21 @@ file contains information about the computers, users, 
 or mount points for the
 .Tn SMB
 network protocol.
+.Pp
+The configuration files are loaded in the following order:
+.Pp
+.Bl -enum -offset indent -width "" -compact
+.It
+.Pa ~/.nsmbrc
+.It
+.Pa /etc/nsmb.conf
+.El
+.Pp
+As a result,
+.Pa /etc/nsmb.conf
+settings
+override those in
+.Pa ~/.nsmbrc .
 .Pp
 The configuration hierarchy is made up of several sections,
 each section containing a few or several lines of parameters


More information about the svn-src-stable mailing list