Comments on Samba Server Installation on Debian 8 (Jessie)

This tutorial explains the installation of a Samba fileserver on Debian 8 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.

22 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Raphael

Perfect work here!!! tks a lot dude!!! 

=)

By: jwr

hi,

perfect setup for a tutorial. i would lile to suggest to use sudo apt-get install samba-common-bin enabeling passwords et cetera.

 

regards

By: Andrey

Good tutorial.

But whay you installed additional packages libcups2 and cups if you did't use printing ?

By: Ganesan

Thanks much for the tutorial.  Working fine.  Is there anyway to access samba shares from client web browsers.

By: Ivan Avery Frey

Isn't it redundant to add libcups2 and samba-common as arguments to the apt-get install command above? After all cups depends on libcups2 and samba depends on samba-common so they would installed automatically.

By: Shafee

wow its very helpfull thnks

By: Kyle

Great tutorial, helped me set up a public folder for my server, read/write works perfectly etc.

I have a problem with the allusers share, on windows it will ask for password, but accept neither my account and pass, nor root. i tried with both "\kyle" and "kyle" as user names (windows domain thing)

By: Marin

This worked perfectly for my virtual machines, unfortunately, I can't get an OS X to connect to the samba server :(

By: Royce

As Andrey said, why include cups if you don't use printing?

By: damien

Perfect basic tutorial.Simple, efficient and working great.Thank a lot

By: Jose Fazenda

Great !

I have very little experience with Linux and I got that working in about 2 hours (working very slowly to understand all the steps).

Thanks a lot !

 

By: Jose Fazenda

It all went very well and Samba was already working well until I may have made a mistake and spoilled everything.

Before I started the procedure in this tutorial I had created a directory "shares" in my home directory because I thought I would put the shared files there (bad influence from Win).

After I completed the installation and everything was working fine, I notoced that the anothe folder "shares" had been created in the root directory and saw a folder with the same name in my home directory, which I thought was not needed so i used root priveledges to remove it.

I suspect that was a bad mistake because after that I cannot access samba anymore. I guess that folder in my home directory was now some link to the share data folders allusers and anonymous in the root area.

How can I correct that, or delete evrything and do a new installation from scratch?

I will appreciate any help any one can give me.

By: Paul

I would like to setup samba on an AD domain. My network really doesnt have workgroups as described in the section refering to smb.conf

Any help here?

By: Speakeasys

Thank you a ton for this article. I read so many others but kept running into issues with the shares not being found when I tried to mount them on my mac. 

By: RallyJarnet

Excellent! 

By: Sandra

Good!! Thanks a lot :)

By: Javier

Very  good. Excellent !!!!!

Thanks

By: Tsungie

Thank you very much, finally worked after a looong struggle. Thanks to you.

By: fernando

Perfeito! Funcionou conforme tutorial ;) Thanks

By: Justin

lol writing english, but german screenshots XD

By: Tony

Hi!

My question is, why there is no SWAT 2:4.2.14+dfsg-0+deb8u6 ? The SWAT 2: 3.6.6-6 + deb7u13 does not install, with samba 2: 4.2.14 + dfsg-0 + deb8u6.......WHY?

Tony

By: DGabor

I read dozens of pages for sharing folder on Debian via samba and access it from windows 10. Now finally I found the best and the perfect (and clearly) solution. Thank you! Really!