Posted by: Joey on: December 13, 2006
Here is an Ubuntu 6.10 Samba setup guide blatantly ripped from this blog. If you have more than one computer and a mixture of Linux and Windows, Samba is essential for sharing files and printers. Enjoy!
sudo apt-get install samba smbfs
System > Administration > Users and Groups > Add User
Enter the username as samba
Enter the password
In the "User Priviliges" tab, deselect all.
In the "Advanced" tab, choose "/bin/false" as shell, and "users" as the Main Group.
sudo smbpasswd -a samba
Enter the password desire
*This is the username and password that will be require when you are connecting to your ubuntu guest through windows box.
gksudo gedit /etc/samba/smbusers
Enter this in the file
samba = "network username"
Save the file and exit gedit
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.default
gksudo gedit /etc/samba/smb.conf
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = YOUR_WORKGROUP_NAME
; security = user
Change into
security = user
username map = /etc/samba/smbusers
System > Administration > Shared Folders
Enter information for your desired shared
sudo testparm
sudo /etc/init.d/samba restartThat’s it!
September 28, 2009 at 7:02 am UTC
Hi, Just like to tell you that this piece of info is one quick to the point, no nonsense, workable and effective way to have directories shared in Linux as fast as possible. It worked for me and thank you for the effort. Keep up the good work.