Web hosting colocation - 686 Part V . Running Servers [homes] comment

686 Part V . Running Servers [homes] comment = Home Directories browseable = no writable = yes valid users = %S create mode = 0664 directory mode = 0775 [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes We won t go through every line of this example, but here are some observations. In the [global] section, the workgroup is set to ESTREET, the server is identified as the Samba Server on Maple, and only computers that are on the local network (192.168.0.) are allowed access to the Samba service. You must change the local network to match your network. Definitions for the local printers that will be shared are taken from the /etc/ printcap file, the printers are loaded (yes), and the CUPS printing service is used. Separate log files for each host trying to use the service are created in /var/log/ samba/%m.log (with %m automatically replaced with each host name). There is no limit to log file size (0). This example uses the user-level security (security = user), which allows a user to log in once and then easily access the printers and the user s home directory on the Linux system. Password encryption is on (encrypt passwords = yes) because most Windows systems have password encryption on by default. Passwords are stored in the /etc/samba/smbpasswd file on your Linux system. The dns proxy = no option prevents Linux from looking up system names on the DNS server (used for TCP/IP lookups). The [homes] section enables each user to access his or her Linux home directory from a Windows system on the LAN. The user will be able to write to the home directory. However, other users will not be able see or share this directory. The [printers] section enables all users to print to any printer that is configured on the local Linux system. Adding Samba Users Performing user-style Samba security means assigning a Linux user account to each person using the Linux file systems and printers from his or her Windows workstation. (You could assign users to a guest account instead, but in this example, all
Searching for affordable and reliable webhost to host and run your web applications? Go to our java web server services and you will be pleased.

Leave a Reply