Web hosting ecommerce - Chapter 27 . Running a File Servers 737
Chapter 27 . Running a File Servers 737 . Passwd program Indicates which password program to use to change Linux user passwords. By default, /usr/bin/passwd is used, with the current username (%u) inserted. . Passwd chat Sets the chat that goes on between the Samba daemon (smbd) and the Linux password program (/usr/bin/passwd by default) when smbd tries to synchronize SMB passwords with Linux user passwords. . Username map Sets the file used to map Samba usernames. By default, this file is /etc/samba/smbusers. . UNIX password sync With this on (Yes), Samba tries to update a user s Linux user password with his or her SMB password when the SMB password is changed. To do this, SMB runs the passwd command as the root user. This is on by default. . Guest account Specifies the username for the guest account. When a service is specified as Guest OK, the name entered here is used to access that service. The account is usually the nobody username. Make sure that the guest account is a valid user. (The default of nobody should already be set up to work.) With an invalid user as the guest account, the IPC$ connection that lists the shared resources fails. . Hosts allow Contains a list of one or more hosts that are allowed to use your computer s Samba services. By default, users from any computer can connect to the Samba server (of course, they still have to provide valid usernames and passwords). Generally, you use this option to allow connections from specific computers (such as 10.0.0.1) or computer networks (such as 10.0.0.) that are excluded by the hosts deny option. . Hosts deny Contains a list of one or more hosts from which users are not allowed to use your computer s Samba services. You can make this option fairly restrictive, and then add the specific hosts and networks you want to use the Samba server. By default, no hosts are denied. Logging Options The following options help define how logging is done on your Samba server: . Log level Sets the debug level used when logging Samba activity. Raise the level from the default (0) to log more Samba activity. . Log file Defines the location of the Samba smb log file. By default, Samba log files are contained in /var/log/samba (with file names log.nmbd, log.smbd, and smb.log). In this option, the %m is replaced by smb to set the smb log file as /var/log/samba/smb.log. . Max log size Sets the maximum amount of space, in kilobytes, that the log files can consume. By default, the value is set to 0 (no limit). Tip
In case you need affordable webhost to host your website, our recommendation is ecommerce web host services.