Skip to Main Content
Using Samba
book

Using Samba

by Robert Eckstein, David Collier-Brown, Peter Kelly
November 1999
Beginner to intermediate content levelBeginner to intermediate
413 pages
16h 7m
English
O'Reilly Media, Inc.
Content preview from Using Samba

Configuration File Options

Samba has well over 200 configuration options at its disposal. So let’s start off easy by introducing some of the options you can use to modify the configuration file itself.

As we hinted earlier in the chapter, configuration files are by no means static. You can instruct Samba to include or even replace configuration options as it is processing them. The options to do this are summarized in Table 4.2.

Table 4-2. Configuration File Options

Option

Parameters

Function

Default

Scope

config file

string (fully-qualified name)

Sets the location of a configuration file to use instead of the current one.

None

Global

include

string (fully-qualified name)

Specifies an additional segment of configuration options to be included at this point in the configuration file.

None

Global

copy

string (name of share)

Allows you to clone the configuration options of another share in the current share.

None

Share

config file

The global config file option specifies a replacement configuration file that will be loaded when the option is encountered. If the target file exists, the remainder of the current configuration file, as well as the options encounter so far, will be discarded; Samba will configure itself entirely with the options in the new file. The config file option takes advantage of the variables above, which is useful in the event that you want load a special configuration file based on the machine name or user of the client that it connecting. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Using Samba, Second Edition

Using Samba, Second Edition

Jay Ts, Robert Eckstein, David Collier-Brown
Linux: Powerful Server Administration

Linux: Powerful Server Administration

Uday Sawant, Oliver Pelz, Jonathan Hobson, William Leemans

Publisher Resources

ISBN: 1565924495Supplemental ContentCatalog PageErrata