From the course: Ubuntu Linux: Providing Services

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

SMB server settings

SMB server settings

- [Instructor] Using the defaults for a Samba share is fine for most people, but there are additional options that we can use to tweak the behavior if need be. As we can find in the man pages, there are a few special sections of the smb.conf file. These are global, homes, and printers. Global contains options that apply to all shares and homes acts as a placeholder share for home directories for users connecting to the server. On the server, when we define shares, we need to specify at minimum a share name and a path to a folder that will be shared under that name. In addition to those parameters, we can also add a few others. We can set whether a share is read only or whether guest access is allowed. Guests don't have to use a username and password to connect to a share and see its contents, which can be useful but be sure to use it carefully. We can also set a create mask, which changes the permissions of files that a user creates on a share. We might need to change this depending…

Contents