LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-02-2005, 09:42 AM   #1
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Rep: Reputation: 30
Setting up Samba under 5.0.4


I'm a beginner with Linux and am trying Ubuntu 5.04 after giving Fedora a go. My problem is always the same; trying to get Samba to work. The only time I ever succeeded was with Fedora Core 1 then never again.

Anyway, I used synaptic to install Samba on Ubuntu and it said the installation was successful. I then re-booted (Windows habits die hard!) but I can't get the Linux box to see the Windows boxes or vice versa.

All of the users have the same names and respective passwords on the different machines and they are all under Workgroup.

I think I may be missing something in the configuration steps, maybe not using the correct syntax to name a machine or something in trying to set up the Samba shares on the Linux machine.

Can anyone help me on this? At this point, I'm just thrashing around.

Thanks.
 
Old 07-03-2005, 08:59 PM   #2
dickohead
Member
 
Registered: Feb 2003
Location: Melbourne, VIC, Australia
Distribution: Ubuntu 6.06
Posts: 101

Rep: Reputation: 15
I find that the best way to use SAMBA between Linux - Linux or Linux - Windows is to use IP Addresses rather than names, unless you have a good domain system set up?

Before you can use Samba, you need firstly to start the Samba service when you want it, or at boot time.

These (may not be exact..?):
Code:
/etc/init.d/smbfs start
Code:
/etc/init.d/samba start
Code:
/etc/init.d/samba-server start
will start certain parts of SAMBA for you.

Once started, any changes you make to /etc/samba/smb.conf, need to be put in place by restarting the service - just swap the word "start" with "restart" above.

If you are having more specific trouble, ie - with your smb.conf file, perhaps you could post it here? Or search the forum for more specific details. But generally as long as you and your windows machines are in the same workgroup, same subnet, and can ping one another - samba should work.
 
Old 07-03-2005, 11:37 PM   #3
jiyuu0
LQ Newbie
 
Registered: Nov 2004
Location: Malaysia
Posts: 5

Rep: Reputation: 0
there's a section on samba here:
http://ubuntuguide.org/#sambaserver

If you have prob seeing windows machine from linux, try this method:
http://ubuntuguide.org/#accessnetworkfolderswihoutmount

above that, make sure you have configured your network correctly. try ping the network/windows machine
 
  


Reply



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
setting up samba true_atlantis Linux - Newbie 1 05-28-2004 06:53 AM
Help setting up Samba? snakeo2 Linux - Newbie 17 03-25-2004 06:32 AM
Setting up Samba Inexactitude Linux - Networking 1 10-29-2003 10:08 PM
Setting up Samba fettouhi Linux - Newbie 14 08-05-2003 07:43 AM
Setting UP samba ??? chienchie Linux - Networking 3 07-23-2003 09:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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

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
Open Source Consulting | Domain Registration