[Samba] WINS Subnet browsing

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


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


   workgroup = some.work.group
   server string =
   hosts allow =
   hosts deny  =
   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 =

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 

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

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

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

eth1      Link encap:Ethernet  HWaddr 00:D0:B7:0B:97:6F
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::2d0:b7ff:fe0b:976f/64 Scope:Link
          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:  Bcast:  Mask:

I found this in the logfiles on the browsing server:
[2006/03/19 11:02:32, 0] 
  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