/usr/share/doc/samba*/docs/ directory for information on security. The (Web host music) procedure

/usr/share/doc/samba*/docs/ directory for information on security. The procedure in this section steps you through an example of a Red Hat Linux system configured as a Samba server. In this example, the Linux Samba server uses user security to share home directories and printers with users from Windows workstations on the local LAN. The procedure consists of three basic steps: 1. Editing the smb.conf file. 2. Adding Samba users. 3. Starting the Samba service. Editing the smb.conf file Using either SWAT (described in the “Configuring Samba with SWAT” section) or a regular text editor (as root user), create an /etc/samba/smb.conf file. Here is an example of an smb.conf file (with comment lines removed) that can be used to share printers and directories with several Windows systems on a single LAN: [global] workgroup = ESTREET netbios name = MAPLE server string = Samba Server on Maple hosts allow = 192.168.0. printcap name = /etc/printcap load printers = yes printing = lprng log file = /var/log/samba/%m.log max log size = 0 security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = no [homes] comment = Home Directories browseable = no writable = yes [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no printable = yes 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. Definitions for the local printers that will be shared are taken from the /etc/printcap file, the printers are loaded (yes), and the lprng printing service (which is the default print service used by Red Hat Linux) is used. Separate log files for each host that tries 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 the size of each log file (0). In this case, we are using user-level security (security = user). This allows a user to log in once and then easily access the printers and the user s home directory on the Red Hat Linux system. Password encryption is on (encrypt passwords = yes) because Windows 95, Windows 98, and other Windows systems have password
Looking for affordable and reliable webhost to host and run your business application? Then look no more and go to servlet web hosting services.

Leave a Reply