|
NAMEnsmb.conf —
configuration file for SMB requests
DESCRIPTIONThensmb.conf file contains information about the
computers, users, and shares or mount points for the SMB network protocol.
The configuration files are loaded in the following order:
As a result, /etc/nsmb.conf settings override those in ~/.nsmbrc. The configuration hierarchy is made up of several sections, each section containing a few or several lines of parameters and their assigned values. Each of these sections must begin with a section name enclosed within square brackets, similar to: [section_name]
The end of each section is marked by either the start of a new section, or by the abrupt ending of the file, commonly referred to as the EOF. Each section may contain zero or more parameters such as: [section_name]
key=value
where key represents a parameter name, and value would be the parameter's assigned value. The SMB library uses the following information for section names: Possible keywords may include:
FILES
EXAMPLESWhat follows is a sample configuration file which may, or may not match your environment:# Configuration file for example.com [default] workgroup=SALES # The 'FSERVER' is an NT server. [FSERVER] charsets=koi8-r:cp866 addr=fserv.example.com # User specific data for FSERVER [FSERVER:MYUSER] password=$$16144562c293a0314e6e1 All lines which begin with the
‘ smbutil crypt SEE ALSOsmbutil(1), mount_smbfs(8)AUTHORSThis manual page was written by Sergey Osokin <osa@FreeBSD.org> and Tom Rhodes <trhodes@FreeBSD.org>.
Visit the GSP FreeBSD Man Page Interface. |