path = /home/user/shareĬhoose whether you want to be able to browse to the share or need to manually mount it directly. Next, set the path equal to the absolute path to the share. On the next line, tab in four spaces, and write a brief comment describing the share. ![]() There are a ton of options that you can pick from for your Samba share, but this guide will cover the most common ones.įirst, name your share, and place that name in brackets. Actually, there’s already a print directory being shared. They allow you to share the home folders of any user on the system and your printers. There are already a few shares set up for you. You won’t need to change them to get your shares running, but feel free to have a look around and tweak anything you like. The rest of the general settings are set to fairly solid defaults. Just specify IP addresses or ranges after. If you’re not a fan of that method, you can always add the hosts allow option to limit who can connect too. If you want to limit which computers can connect to your share, uncomment the interfaces option, and specify an IP or range of IPs and an interface they can connect on. Next, you may want to limit access to your server. If you’re configured something different, change it here too. The default value is WORKGROUP because that’s also the default value on Windows. This determines the name of the Windows workgroup that your server will be a part of. The first setting that you’ll find near the top of your general settings is the workgroup. Debian is usually good about providing intelligent default configurations that work immediately, but it can’t hurt to take a look at the provided settings, and make changes where necessary. That file contains both the global configuration for Samba itself and your shares. ![]() Samba’s configuration can all be found in /etc/samba/smb.conf. $ sudo apt install samba Change Samba’s Global Settings It’s a single package, so go ahead and install it. On Debian, you can install the Samba server right from the default Debian repositories. On Debian, that configuration is mostly set up for you, making configuring a Samba server on Debian a smooth experience. Samba allows you to share your files over a local network to computers running any operating system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |