[Samba] WINS Subnet browsing

Chris C. kildau-ml at gmx.de
Sun Mar 19 10:13:56 GMT 2006


Hi,

I'm trying to setup a Server only for Subnet Browsing.
The smb.conf on the server looks like:

[global]

   workgroup = some.work.group
   server string =
   hosts allow = 192.168.0.0/24 192.168.1.0/24 192.168.2.0/24 192.168.3.0/24 
192.168.3.0/24
   hosts deny  = 0.0.0.0/0
   interfaces = eth1 eth1:1 eth1:2 eth1:3 eth1:4
   bind interfaces only = yes
   wins support = yes
   domain master = yes
   local master = yes
   preferred master = yes
   os level = 65
   name resolve order = wins hosts
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
   security = user
   encrypt passwords = true
   smb passwd file = /etc/samba/smbpasswd
   passdb backend = tdbsam guest
   obey pam restrictions = yes
;   guest account = nobody
   invalid users = root
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n .

There are no dirctory-shares on this server.


Subnetbrwosing sometimes seems to work on my windows workstation. I can see 
one VMWare (running on the Windows PC), which is in another subnet than the 
Workstation.   wins server = 192.168.0.1

But every morning or maybe after a reboot, when I want to browse the 
workstation computer list, I just get "Cant access $workgroup. Maybe you dont 
have the permissions to access the networkressource". Then I have to restart 
the samba server and sometimes it works and sometimes not.
On a Linux WS using Konquerors smb:// it doesnt work at all: "Connection timed 
out SOME.WORK.GROUP"

Quering Windows WS from another WS in the same subnet:
mrkofee at daisy:~$ nmblookup donald
querying donald on 192.168.0.255
192.168.0.10 donald<00>

Quering fileserver in another subnet:
mrkofee at daisy:~$ nmblookup raptor
querying raptor on 192.168.0.255
name_query failed to find name raptor

On every "Samba Client/Server" I have  wins server = 192.168.0.1 resp. 
192.168.1.1.... depending on the subnet the server is located.
192.168.0.1-192.168.6.1 are all defined on the samba server above.

"Subnet-browsing-server":
eth1      Link encap:Ethernet  HWaddr 00:D0:B7:0B:97:6F
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2d0:b7ff:fe0b:976f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:53187101 errors:0 dropped:0 overruns:1 frame:1
          TX packets:60788918 errors:26 dropped:0 overruns:0 carrier:26
          collisions:0 txqueuelen:1000
          RX bytes:2951952896 (2.7 GiB)  TX bytes:3122055936 (2.9 GiB)

eth1:1    Link encap:Ethernet  HWaddr 00:D0:B7:0B:97:6F
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
[...]

I found this in the logfiles on the browsing server:
[2006/03/19 11:02:32, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(353)
  find_domain_master_name_query_fail:
  Unable to find the Domain Master Browser name SOME.WORK.GROUP<1b> for the 
workgroup SOME.WORK.GROUP.
  Unable to sync browse lists in this workgroup.

any suggestions?

Greetings Chris



More information about the samba mailing list