On Thu, 23 Aug 2012 11:52:38 -0300, Federico Alberto Sayd wrote: > Anyone has tried to implement samba4 in Debian Wheezy? (.) > I am investigating this new version that provides Active Directory > functionality.
This tutorial exists for these OS versions. Debian 9 (Stretch). On this page. This tutorial explains the installation of a Samba fileserver on Debian 9 (Stretch) and how to configure it to share files over the SMB protocol as well as how to add users. Samba is configured as a standalone server, not as a domain controller.
In the resulting setup, every user has his own home directory accessible via the SMB protocol and all users have a shared directory with read-/write access. 1 Preliminary Note I'm using a Debian 9 system here with the hostname debian.example.com and the IP address 192.168.1.100.
I'll use this minimal Debian system as basis for this tutorial. I will use the nano editor in this tutorial to edit config files on the shell. Nano can be installed with the command: apt-get install nano If you have a different favorite shell editor like joe or vi, then use that instead.
To make the Linux server accessible by name from my Windows workstation, I will add a line to the hosts file on Windows. Run this command as Administrator user on Windows to edit the hosts file: notepad C: Windows System32 drivers etc hosts and add a line like this: 192.168.1.100 debian.example.com debian at the end of the file. Replace the IP address with the server IP and the hostname with the hostname that you have chosen for your server. Rename 'administrator' user, if exists My Debian 9 server has a user named 'administrator', this username may cause problems with Samba, so I rename it to 'howtoforge' here. Feel free to use a different name for your user, the name does not matter as long as it is not 'administrator'. Skip this step when your system has no user with the name 'administrator'. 1 — In Home Directories, why is “browsable = no”?
Is that because this is referring to anyone but the owner of the directory logged in? 2 — Where you talk about adding a user BUT not adding a password if you don’t want them to be able to login to the Linux machine as an actual user, does this change the next instruction ”smbpasswd -a tom”, or does that stay the same whether a password is set or not? ( it’s just confusing where the actual command appears to suggest a password involved in the process, given the name of the command “smbpasswd”.
3 — is cups installed alongside samba because the printer sharing uses ( dependencies ) from samba?