Chapter 8. Additional Samba Information
This chapter wraps up our coverage of the smb.conf configuration file with some miscellaneous options that can perform a variety of tasks. We will talk briefly about options for supporting programmers, internationalization, messages, and common Windows bugs. For the most part, you will use these options only in isolated circumstances. We also cover performing automated backups with the smbtar command at the end of this chapter. So without further ado, let’s jump into our first subject: options to help programmers.
Supporting Programmers
If you have programmers accessing your Samba server, you’ll want to be aware of the special options listed in Table 8.1.
Table 8-1. Programming Configuration Options
|
Option |
Parameters |
Function |
Default |
Scope |
|---|---|---|---|---|
|
|
boolean |
If |
|
Global |
|
|
numerical (number of minutes) |
Adds a specified number of minutes to the reported time. |
|
Global |
|
|
boolean |
Allows non-owners of a file to change its time if they can write to it. |
|
Share |
|
|
boolean |
Causes file times to be rounded to the next even second. |
|
Share |
|
|
boolean |
Sets directory times to avoid a MS nmake bug. |
|
Share |
Time Synchronization
Time synchronization can be very important to programmers. Consider the following options:
time service = yes dos filetimes = yes fake directory ...
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.
Read now
Unlock full access