Comments on Samba Server installation on Ubuntu 15.10
This guide explains the installation and configuration of a Samba server on Ubuntu 15.10 with anonymous and secured Samba shares. Samba is an Open Source/Free Software suite that provides seamless file and print services to SMB/CIFS clients. Samba is freely available, unlike other SMB/CIFS implementations, and allows for interoperability between Linux/Unix servers and Windows-based clients.
11 Comment(s)
Comments
Thank you, this tutorial works perfectly enabling a Windows 7 user to share files with a Ubuntu 14.04 - 15.10 user.
On Ubuntu, sudo use is required. Did I miss the sudo -s or sudo -i to gain root?
sudoedit is a safer way to edit config files for a number of reasons, though sudo nano probably isn't dangerous.
Some Win10 systems need a few settings changed for browsing to work: https://social.technet.microsoft.com/Forums/en-US/26e5fd75-f3ab-4ffe-ace4-ed4ba96f82e5/not-discovering-ubuntu-server-on-network?forum=win10itpronet
There should be a standard warning about using any non-LTS Ubuntu server. Is 9 months of support for a server? Usually, "no" is the answer. Stay LTS, stay supported.
Thank you - seriously...
I was not able to get the anonymous share working but the user/password access shares work fine. I figured that it might be because there were no instructions for creating the user 'nobody'. I created that user, with no password, but still no luck. Will have to go off and do some more reading!
Thanks for the Tutorial! I had an old samba server set up until about a year ago, running on an old P4, and I had to dismantle it, and delete the files from it.. Slowly rebuilding a new server where I live now, and using the new UBUNTU 15.10.
I followed your guide to a T. When I go to enter my network credentials on my Windows 10 machine I get "Access is denied." after entering my password. Does anyone know why this is happening?
I'm having the exact same problem. I tried to set up Samba with a different tutorial, then i deleted the wrong partition. So i started from scratch and installed Ubuntu 15 then went through this tutorial.
I solved my issue and probably stphn's. I edited the config under [secured] to say valid users = josh instead of valid users = @smbgrp. Then closed and did service smbd restart
and i authenticated with josh's password and then after that i could log in with josh in Windows
Most likely your user josh was not a member of the group smbgroub then. To add a user "josh" that is part of the smbgrup, use this command:
useradd josh -G smbgrp
Thank you, this tutorial is perfect ! :)
I just want to use it in my private (in home) network, so what should I put instead of "server1.example.com" in windows host list?
192.168.1.100 server1.example.com server1