Bugzilla – Bug 117656
SAMBA Printers and shares are not visible from other networked Windows & SuSE 9.3 machines
Last modified: 2006-04-15 22:00:27 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 -------------------------------------------
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.....
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.
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?
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
As I do not see any defect in Samba I close this bug. Please reopen if there is any issue I missed.