[HLUG] Howto make Samba work on Suse10.1

Andrew Hodgson andrew.hodgson at allpay.net
Mon Oct 9 14:48:43 BST 2006


Hi,

The thing is that you enabled the Samba server to listen for incoming
requests, which opened the firewall.  However, the program used to make
connections to other machines is different and requires outgoing connections
through the firewall on port 135-139 and port 445 (I never know which ports
are used, and XP seems to request connections on various of these ports).

Also, I hope your LAN range isn't 192.170.0.0/24, as this is not an RFC
private address, and subsequently if you are using publicly accessible
services, other clients on that range will be able to use your services (eg
mail relaying).  For info here is the Whois output:

OrgName:    Hewlett-Packard Company 
OrgID:      HP 
Address:    3000 Hanover Street
City:       Palo Alto
StateProv:  CA
PostalCode: 94304
Country:    US 
NetRange:   192.170.0.0 - 192.170.128.255

Andrew.

-----Original Message-----
From: herefordshire-bounces at mailman.lug.org.uk
[mailto:herefordshire-bounces at mailman.lug.org.uk] On Behalf Of Emon
Sent: 09 October 2006 14:43
To: Herefordshire
Subject: [HLUG] Howto make Samba work on Suse10.1

Hi all

I am a novice user & I have just switched over to Suse10.1 from
Slackware10.2
(been running Slackware since Slackware9.1)

I have 4 PC connected to a home LAN. 1 running Linux, & others are
running WinXP

1)
I have (somewhat) setup samba using Yast, but the thing is, if the
firewall turned off, then I am able to access the LAN from my Suse box,
otherwise it says "Unable to find any workgroups in your local network.
This might be caused by an enabled firewall."  But as far as I can
recall there was an option during samba configuration to "Open Firewall
ports"... which I did... so what could be going wrong??

The XP boxes are able to access my samba server without any problem though.

I am also pasting my /etc/samba/smb.conf

Thanks in advance :-)
Emon

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2006-05-02
[global]
	workgroup = LANLINK
	bind interfaces only = true	
	interfaces = eth0 192.170.0.1	
	hosts allow = 192.170.0.0/255.255.255.0 127.0.0.1
	log level = 1
	log file = /var/log/samba/log.%m
	max log size = 1024
	printing = cups
	printcap name = cups
	printcap cache time = 750
	cups options = raw
	map to guest = Bad User
	include = /etc/samba/dhcp.conf
	logon path = \\%L\profiles\.msprofile
	logon home = \\%L\%U\.9xprofile
	logon drive = P:
	add machine script = /usr/sbin/useradd  -c Machine -d
/var/lib/nobody
-s /bin/false %m$
	domain logons = No
	domain master = No
	netbios name = magicbox
	security = user
[homes]
	comment = Home Directories
	valid users = %S, %D%w%S
	browseable = No
	read only = No
	inherit acls = Yes
[profiles]
	comment = Network Profiles Service
	path = %H
	read only = No
	store dos attributes = Yes
	create mask = 0600
	directory mask = 0700
[users]
	comment = All users
	path = /home
	read only = No
	inherit acls = Yes
	veto files = /aquota.user/groups/shares/
[groups]
	comment = All groups
	path = /home/groups
	read only = No
	inherit acls = Yes
[printers]
	comment = All Printers
	path = /var/tmp
	printable = Yes
	create mask = 0600
	browseable = No
[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @ntadmin root
	force group = ntadmin
	create mask = 0664
	directory mask = 0775
[share]
	inherit acls = Yes
	path = /media/hd/MAGICSTORE/share/
	read only = No
	create mask = 0775
	browseable = Yes
	public = yes





_______________________________________________
Herefordshire mailing list
Herefordshire at mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/herefordshire


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

allpay.net Limited, Fortis et Fides, Whitestone Business Park, Whitestone, Hereford, HR1 3SE. Telephone: 0870 243 3434, Fax: 0870 243 6041. Website: www.allpay.net Email: enquiries at allpay.net
**********************************************************************




More information about the Herefordshire mailing list