Glossary of Configuration Value Types

boolean

One of two values, either YES or NO.

character

A single ASCII character.

command

A Unix script or compiled program, with an absolute path specified for the executable and parameters.

directory

An absolute path specification to a directory. For example:

/usr/local/samba/lib
filename

An absolute path specification to a file. For example:

/etc/printcap
host list

A list of hosts. Allows IP addresses, address masks, domain names, ALL, and EXCEPT.

interface list

A list of interfaces, in either address/netmask or address/n-bits format. For example:

192.168.2.10/255.255.255.0, 192.168.2.10/24
map list

A list of filename remapping strings such as (*.html *.htm).

name

A single name of a type of object, as specified in the option’s description.

number

A positive integer.

numeric range

Two numbers separated by a dash, specifying a minimum and a maximum value. For example:

100-250
remote list

A list of subnet-broadcast-address/workgroup pairs. For example:

192.168.2.255/SERVERS 192.168.4.255/STAFF
service (share) list

A list of service (share) names, without the enclosing parentheses.

slash-separated list

A list of filenames, separated by “/” characters to allow embedded spaces. For example:

/.*/My Documents/*.doc/
string

One line of arbitrary text.

user list

A list of usernames and/or group names. @ group_name includes whomever is in the NIS netgroup group_name, if one exists, or otherwise whomever is in the Unix group group_name. In addition, + group_name is a Unix group, & group_name ...

Get Using Samba, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.