LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-15-2009, 08:40 AM   #1
dagobert39
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, 09:21 AM   #2
t2000kw
Member
 
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, 11:19 AM   #3
Cottsay
Member
 
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!

--scott
 
  


Reply

Tags
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 11:34 PM
ubuntu 8.04 desktop - samba?? pdelcast Linux - Newbie 2 05-12-2008 04:43 AM
SAMBA+ACL in Ubuntu SBN Ubuntu 0 10-24-2007 10:54 PM
Ubuntu server help/Samba MSCTC Linux - Server 6 07-30-2007 05:03 AM
Setting up Samba on Ubuntu tanu221984 Linux - Software 1 05-04-2007 03:51 PM


All times are GMT -5. The time now is 07:06 AM.

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