Comments on Samba Standalone Server Installation on Debian 9 (Stretch)

This tutorial explains the installation of a Samba fileserver on Debian 9 and shows you how to configure Samba to share files over the SMB/CIFS the protocol. Samba is configured as a standalone server, not as a domain controller. In the resulting setup, every user has his own home directory, all users have a shared group directory with read-/write access and optionally an anonymous share is added.

6 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: thctlo

Nice, simpel and clean, but one suggestion, change the subject to :Samba "Standalone" server. 

By: Paul

hello, 

thanks for tutorial, its, nice.

but i dont how do I change settings with 2 lan conection and server as a domain controller? ;)

 

thanks

By: rkbry

This part confuses me:

At the end of the file /etc/samba/smb.conf add the following lines:

nano /etc/samba/smb.conf

By: m0ntassar

it is not necessary to install cups and libcups unless you are going to share printers

By: GalacticPrez

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?

By: Rainer

Thx - best doku....is easy ;-)