LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-06-2008, 05:39 AM   #1
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 713

Rep: Reputation: 30
Connecting to SAMBA (Suse 11.0) from Windows XP thru Firewall


Hi guys
Hate to ask essentially a Windoze question on a 'nix forum but I guess loads of people have had this problem so excuse me for asking it.

I can only seem to get access to SAMBA shares from my Windoze machines if I turn the (Windoze) firewall off.

Windoze version is Windows XP Pro on all the workstations.

The SUSE firewall is fine as you can allow SAMBA connections through it.

I don't really want to do this long term although it's ok if working at home.

This is essentially a Local SUSE server serving maybe 4 or 5 locally (usually wirelessly) attached workstations.

I've read somewhere that I should set up a WINS SERVER but apart from the fact I haven't a clue about this, I would imagine this is rather overkill for what is a purely LOCAL network where all Internet connections go through a single home router.

Any help gladly appreciated.

Cheers

-K

Last edited by 1kyle; 07-06-2008 at 06:03 AM.
 
Old 07-06-2008, 11:01 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
I have found that it helps a lot if you put the names of the machines on your network in the hosts and lmhosts machines on all of the computers on your LAN. Here is an example. One XP machine named xp01 and one Samba server named samba01.
Subnet: 192.168.1.0
Domain suffix: my.place
xp01 address: 192.168.1.3
samba01 address: 192.168.1.10

XP machine
\windows\system32\drivers\etc\hosts
Code:
192.168.1.10 samba01.my.place samba
\windows\system32\drivers\etc\lmhosts
Code:
192.168.1.10 samba01 #PRE
Samba server
/etc/hosts
Code:
192.168.1.3  xp01.my.place xp01
/etc/samba/lmhosts
Code:
192.168.1.3 xp01 #PRE
That solved a lot of problems for me. Also, I found that I have to restart the Windows machines after I restart Samba.

On the Windows machines make sure that the firewall is set to allow file sharing ports through.
 
Old 07-06-2008, 11:35 AM   #3
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 713

Original Poster
Rep: Reputation: 30
Thanks --that seemed to have fixed the problem.

Cheers

-K
 
  


Reply

Tags
samba


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to Samba from outside the LAN with Windows XP joelkillspeople Linux - Networking 3 02-16-2007 05:10 PM
Connecting Windows XP to SUSE SAMBA cthomas Linux - Networking 1 02-21-2006 09:59 AM
connecting to Samba with Windows XP Cheechi Linux - Networking 2 01-23-2006 01:38 PM
Samba connecting to windows share gfem Linux - Software 4 12-09-2005 12:16 PM
connecting to windows workgroup using samba? linoob Linux - Newbie 7 10-23-2002 08:17 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration