Bug 117656 - SAMBA Printers and shares are not visible from other networked Windows & SuSE 9.3 machines
Summary: SAMBA Printers and shares are not visible from other networked Windows & SuSE...
Status: RESOLVED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Network (show other bugs)
Version: RC 1
Hardware: i686 All
: P5 - None : Normal
Target Milestone: ---
Assignee: Lars Müller
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-17 22:09 UTC by Rod Schaffter
Modified: 2006-04-15 22:00 UTC (History)
1 user (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rod Schaffter 2005-09-17 22:09:13 UTC
Cannot see RC1 machine when browsing network from SUSE 9.3 & windows 2000
machines.  

Can access shared directories from networked SUSE 9.3 machines by manually
typing in smb://[netbios name] into Konquerer address box.  On a Suse 9.3
machine on network, printer on RC1 box can be set up as SMB printer network
printer only if the IP address of the RC1 box is used-the netbios name doesn't
work. 

In SWAT, smbd is reported as not running, but shows up on process table. 
Choosing restart appears to restart it, but it still shows as not running in SWAT.

Firewall is diasbled.  

smb.conf:
-------------------------------
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2005/09/17 16:06:16

[global]
	workgroup = MYGROUP
	netbios name = CARILLON
	map to guest = Bad User
	printcap name = cups
	add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s
/bin/false %m$
	logon path = \\%L\profiles\.msprofile
	logon drive = P:
	logon home = \\%L\%U\.9xprofile
	domain master = No
	cups options = raw
	include = /etc/samba/dhcp.conf

[homes]
	comment = Home Directories
	valid users = %S
	read only = No
	inherit acls = Yes
	browseable = No

[profiles]
	comment = Network Profiles Service
	path = %H
	read only = No
	create mask = 0600
	directory mask = 0700
	store dos attributes = Yes

[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
	create mask = 0600
	printable = Yes
	browseable = No

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @ntadmin, root
	force group = ntadmin
	create mask = 0664
	directory mask = 0775

[shared]
	path = /data2/data/rod/share
	read only = No
	guest ok = Yes

[shareddocs]
	path = /data2/rod/shared documents
	read only = No
	guest ok = Yes
	case sensitive = No

[deskjet882c]
	comment = HEWLETT-PACKARD DESKJET 882C
	path = /var/tmp
	read only = No
	create mask = 0600
	guest ok = Yes
	printable = Yes
	printer name = deskjet882c
	oplocks = No
	share modes = No

[shareme]
	path = /data2/data/rod/downloads
	read only = No
	guest ok = Yes
-------------------------------------------
Comment 1 Axel Braun 2005-11-12 15:42:17 UTC
I made a similar experience in 10.0 final: I copied a working (!) smb.conf from a 9.1 machine to the 10.0. I could also not browse the resources, but connect directly. After adding

	hosts allow = 192.168.0.0/8

in the [globa] section it worked.....
Comment 2 Chuck Taylor 2005-12-02 16:28:26 UTC
In the Windows Network, you must have something "shared" in order for the machine to be seen. The problem in 10.1 alpha-3 is nmbd not getting started. Running VMware 5.5/Win2k and could see all the Network except my Linux box. After starting nmbd I could then see the Linux box ... after a short wait. /dev/dsp falls into this, in that sometimes I have permissions and sometimes I don't. In order to get sound in the VMware/Win2k I have had to put o+rw on dsp. BUT I also had it work one time after I started nmbd. Somehow they are both connected. I'm not experienced enough with the internals to take over this bug but I will continue to investigate and test.
Comment 3 Lars Müller 2006-03-15 13:31:07 UTC
With our default config I get the shares listed with konqueror while browsing smb:/ -> select the workgroup and then select the host.

While testing I had configured the 'wins server' by DHCP.  See /etc/ssamba/dhcp.conf which is included in the main smb.conf.

The browsing system and the destionation had been in the same local network without any router inbetween.

An explicit host allow is _not_ required in the global section.

Rod: Is your /etc/samba/dhcp.conf empty or set by the DHCP client hook?
Comment 4 Rod Schaffter 2006-04-15 21:35:13 UTC
Hi Lars,

I no longer have the problem-Adding the hosts allow line took care of it.  

dhcp.conf contains the following:

# This file is created by /etc/sysconfig/network/scripts/dhcpcd-hook-samba. 
# It's possible to disable dynamic changes by setting DHCLIENT_MODIFY_SMB_CONF
# of /etc/sysconfig/network/dhcp to 'no'. 


Cheers,
Rod
Comment 5 Lars Müller 2006-04-15 22:00:27 UTC
As I do not see any defect in Samba I close this bug.  Please reopen if there is any issue I missed.