smb.conf The smb.conf file is a configuration file for the
Samba suite. smb.conf contains runtime configuration information
for the Samba programs. The smb.conf file is designed to be
configured and administered by the swat (8)
program. The complete description of the file format and possible
parameters held within are here for reference purposes.
The file consists of sections and parameters. A section begins with
the name of the section in square brackets and continues until the
next section begins. Sections contain parameters of the form
'name = value'
The file is line-based - that is, each newline-terminated line
represents either a comment, a section name or a parameter.
Section and parameter names are not case sensitive.
Only the first equals sign in a parameter is significant. Whitespace
before or after the first equals sign is discarded. Leading, trailing
and internal whitespace in section and parameter names is
irrelevant. Leading and trailing whitespace in a parameter value is
discarded. Internal whitespace within a parameter value is retained
verbatim.
Any line beginning with a semicolon (';') or a hash ('#') character is
ignored, as are lines containing only whitespace.
Any line ending in a '\' is "continued" on the next line in the
customary UNIX fashion.
The values following the equals sign in parameters are all either a
string (no quotes needed) or a boolean, which may be given as yes/no,
0/1 or true/false. Case is not significant in boolean values, but is
preserved in string values. Some items such as create modes are
numeric.
Each section in the configuration file (except for the
[global] section) describes a shared resource (known
as a "share"). The section name is the name of the shared resource
and the parameters within the section define the shares attributes.
There are three special sections, [global],
[homes] and [printers], which are
described under 'special sections'. The
is
preserup is to
send the query to the broadcast address of the primary network
interface as either auto-detected or defined in the
interfaces parameter of the
smb.conf (5) file.
"unicast address". This option (along with the
-R option) is needed to query a WINS server.
The default value if this parameter is not specified is zero.
The higher this value, the more detail will be logged about the
activities of nmblookup. At level 0, only critical errors and
serious warnings will be logged.
Levels above 1 will generate considerable amounts of log data, and
should only be used when investigating a problem. Levels above 3 are
designed for use only by developers and generate HUGE amounts of
data, most of which is extremely cryptic.
Note that specifying this parameter here will override the log
level parameter in the smb.conf
(5) file.
"IP address NetBIOS name" pair that is the normal
output.
#<type> to the name. This name may also be "*",
which will return all registered names within a broadcast area.
nmblookup can be used to query a WINS server (in the same way
nslookup is used to query DNS servers). To query a WINS server,
nmblookup must be called like this:
nmblookup -U server -R 'name'
For example, running :
nmblookup -U samba.org -R IRIX#1B'
would query the WINS server samba.org for the domain master
browser (1B name type) for the IRIX workgroup.
This man page is correct for version 2.0 of the Samba suite.
samba (7), nmbd (8),
smb.conf (5)
The original Samba software and related utilities were created by
Andrew Tridgell samba-bugs@samba.org. Samba is now developed
by the Samba Team as an Open Source project similar to the way the
Linux kernel is developed.
The original Samba man pages were written by Karl Auer. The man page
sources were converted to YODL format (another excellent piece of Open
Source software, available at
ftp://ftp.icce.rug.nl/pub/unix/)
and updated for the Samba2.0 release by Jeremy Allison.
samba-bugs@samba.org.
See samba (7) to find out how to get a full
list of contributors and details on how to submit bug reports,
comments etc.