![]() ![]() The first option to consider is Samba’s security level. It’s a good idea to add your own comments preceded by one of these characters so that you will remember the logic behind your configuration the next time you load smb.conf. To activate the line, remove the semicolon or hash. Remember that any line in the configuration file preceded by a semicolon ( ) or hash mark (#) is a comment and will not be recognized as an active setting. ![]() If you want to know more about any line, consult man smb.conf. You will have to trust that your distribution supplied you with a reasonably sound default configuration and focus on changing just a few lines in smb.conf to make sure they are appropriate for the purposes of a home network. Samba is a very mature and complex package, so its configuration file can be long and complicated. Begin by using your distribution’s package manager to make sure it is installed. Samba will run on nearly any Unix-like system and can be found in the repositories of just about every Linux distribution. Note that you will need to be root to edit these, or use sudo. ![]() The configuration file is commonly found at /etc/samba/smb.conf or /usr/local/samba/lib/smb.conf. ![]() You can choose from several Samba configuration GUIs, but we’ll go the old-fashioned route and point our text editors to smb.conf. We’ll focus on configuring and using Samba for file and print-sharing in a typical home network with Linux and Windows machines. GNOME and KDE offer Samba client functionality built in to their default file managers, Nautilus and Konqueror, respectively. Windows machines and Macs come with the functionality to work with with Samba out of the box, and you should only need to install a single Samba package for Linux machines. Several cross-platform file and print-sharing solutions exist, but Samba and the SMB/CIFS protocol may be the easiest to implement in a home networking environment. For all the devices in this familiar family setup, or even a scenario with thousands of users, the Samba suite is an ideal solution for file and print sharing. Your home network might have a few Windows machines on the ground floor, a Mac in an upstairs bedroom, a PocketPC on a nightstand, and a Linux box or two in the basement, all networked with a generic router. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |