Configuring Samba

Samba has hundreds of configuration options. This chapter discusses those options most likely to be useful.

Note

Andrew Tridgell has written an excellent diagnostic procedure, called DIAGNOSIS.txt, for Samba. On the Red Hat 7 distribution it's available at /usr/share/doc/samba-2.0.7/docs/textdocs/DIAGNOSIS.txt.

It's excellent for troubleshooting tough Samba problems.

The [global] Section

The [global] section controls parameters for the entire SMB server. It also provides default values for the other sections:

[global]

# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = MYGROUP

Workgroup= specifies the workgroup. Try to keep it all uppercase, fewer than nine characters, and without spaces.

 # server string is the equivalent ...

Get Red Hat® Linux® 7 Unleashed 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.