Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-15-2009, 07:40 AM   #1
LQ Newbie
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Question Samba in Ubuntu

I am a newcomer to Linux and recently installed myself Uuntu as a guest using VMware on my Intel iMac. I got so far as getting internet to work. However, I have great trouble using Samba. I tried to configure it using SWAT but got hopelessly stuck. Can somebody give me a simple guide on how to configure Samba. My situation is: Intel iMac with Ubuntu installed using VMware together with an XP Windows PC connected to the iMac using cable net work. Objective: I want to communicate between the 3 computers.

Thanks in advance.
Old 01-15-2009, 08:21 AM   #2
Registered: May 2007
Posts: 55

Rep: Reputation: 16
No help here, but I am interested in following this thread. I also would like to share files between a Windows computer (actually, two of them) and a Linux (dual-boot with Windows) computer. I also need to work on getting the Windows network to work for file sharing but that's not for this forum. It's more of an intellectual exercise since I can share files with a USB drive. What I don't want to do is to cause a security problem on my always connected Internet connection.
Old 01-15-2009, 10:19 AM   #3
Registered: Feb 2004
Location: Chaska, MN
Distribution: Fedora
Posts: 195

Rep: Reputation: 31
Samba is pretty difficult to configure, I agree. First off, connections made from the Linux won't use "samba" to connect to another computer's share. Make sure you have the smbfs package installed, and you should be able to...

mount -t cifs //servername/share /mnt/share

where servername is the hostname or IP address of the other server, and then its share name - just like windows - and then /mnt/share is wherever you want to mount it. In linux, there are no network drives. You mount drives in folders withing the filesystem. Just make sure the folder that you are trying to mount the share to exists. As far as sharing files from your Linux box, you'll need to configure samba for that. SWAT is a great program, you should be able to figure that out Just make sure you add your linux username to samba. Not sure how SWAT does it, but you can use the following command:

smbpasswd -a myusername

and that will prompt for a password for the new samba user. Creating a share in SWAT should do the trick, just post back if you have issues. Let me know!



samba, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Samba for networking on Ubuntu ELECTRONICSFREAK Linux - Newbie 2 10-10-2008 10:34 PM
ubuntu 8.04 desktop - samba?? pdelcast Linux - Newbie 2 05-12-2008 03:43 AM
SAMBA+ACL in Ubuntu SBN Ubuntu 0 10-24-2007 09:54 PM
Ubuntu server help/Samba MSCTC Linux - Server 6 07-30-2007 04:03 AM
Setting up Samba on Ubuntu tanu221984 Linux - Software 1 05-04-2007 02:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration