Basic Samba Settings Close
Use buttons above to get extra information

File Name:
File Size: Bytes
Tags:
Description:

De http://linuxgazette.net/157/prestia.html

Common Global Options:

Basic

Directive Expected Setting Comment
workgroup workgroup name Maps to the Windows workgroup.
realm kerberos realm Specifies the Kerberos realm to use.
netbios name netbios name The NetBIOS name that the Sambe server is known by.
netbios aliases netbios alias Additional NetBIOS names that nmbd will map to the server.
server string server description This shows up in browse lists, next to the machine name.
interfaces eth0 ip/netmask Network interfaces to listen on.

 

Security

Directive Expected Setting Comment
security user / share If you have Linux users, then you want user; if using guest shares without passwords, then you would want share.
auth methods guest / sam / winbind Guest is anonymous, sam looks in local accounts, and winbind relays requests for remote users.
encrypt passwords yes / no Use encrypted passwords: this defaults to "yes".
client schannel auto / yes / no Controls client offering or requesting use of netlogon schannel.
server schannel auto / yes / no Controls server offering or requesting use of netlogon schannel.
passdb backend smbpasswd / tdbsam / ldapsam Specify which passwd backend to authenticate with.
guest account nobody / ftp Specify system account for guest user accesses and permissions.
invalid users username / groupname List of users to be denied login: \'@\' indicates a NIS group, \'+\' and group name searches the Linux group database.
valid users username List of users allowed login, if left empty then anyone can login.
admin users username Users to assume role of superuser.
read list username Users to be granted read-only access.
write list username Users to be granted write permissions.
printer admin username Users given printer administrative access.
hosts allow IP, hostname, or IP/mask Hosts to be granted access; may be tab-, space-, or comma-delimited lists. See hosts_access (5) man page for details.
hosts deny IP, hostname, or IP/mask hosts to be denied access; may be tab-, space-, or comma-delimited lists. See hosts_access (5) man page for details.

 

Common Share Options

Directive Expected Setting Comment
comment text comment A description of the share.
path absolute Linux path This is the Linux path - not the Windows path - to the share.
invalid users username / groupname List of users to be denied login: @ indicates a NIS group, \'+\' and group name searches the Linux group database.
valid users username List of users allowed login, if left empty then anyone can login.
admin users username Users to assume role of superuser.
read list username Users to be granted read-only access.
write list username Users to be granted write permissions.
read only username Users that cannot create or modify files; this will default to \'yes\'.
guest ok yes / no If "yes", then no password is required and privileges of guest account apply (defaults to "no".)
guest only yes / no This allows only guest connections (default to \'no\'.)
hosts allow IP, hostname, or IP/mask Hosts to be granted access; may be tab-, space-, or comma-delimited lists. See hosts_access (5) man page for details.
hosts deny IP, hostname, or IP/mask hosts to be denied access; may be tab-, space-, or comma-delimited lists. See hosts_access (5) man page for details.
browseable yes / no This setting governs whether the share is visible in the list of shares to browse (defaults to "yes".)