NMBD can handle only ONE workgroup !!!

Steffen Einsle steffen at shark.mayn.de
Sun Feb 7 19:57:26 GMT 1999

Hi there,

as it seems NMBD can handle only ONE workgroup at a time.
Here is my config:

- 2 Networks (each a samba server as pdc)
- each network has one workgroup (thus 2 groups together)
- (on-demand) dial-up connection between both networks
- win95/98 as clients.
- ip works excellent, i use use numeric addresses.
- GROUP_A   is in /etc/lmhosts on Network B
- GROUP_B   is in /etc/lmhosts on Network A

thus any WINS request for GROUP_A on network B should be answered
by WINS-Server on Network B with

here is an excerpt from my log.nmbd on SERVER_B

[1999/02/07 21:16:02, 4] libsmb/nmblib.c:debug_nmb_packet(109)
  nmb packet from header: id=178 opcode=Query(0)
      header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
      header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
      question: q_name=GROUP_A<1e> q_type=32 q_class=1

[1999/02/07 21:16:02, 10]
  packet_is_for_wins_server: failing WINS test #1.

[1999/02/07 21:16:02, 3]
  process_name_query_request: Name query from on subnet

[1999/02/07 21:16:02, 10] nmbd/nmbd_subnetdb.c:namelist_entry_compare(92)

[1999/02/07 21:16:02, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(137)
  find_name_on_subnet: on subnet - name GROUP_A<1e> NOT FOUND

and here is the relevant part of smb.conf on SERVER_B (

        workgroup = GROUP_B
        encrypt passwords = Yes
        domain logons = Yes
        os level = 33
        preferred master = Yes
        domain master = Yes
        wins proxy = Yes
        wins support = Yes

dumping WINS.DAT shows no entry for GROUP_B at all...
so either the WINS/LMHOSTS part is broken or NMBD can really serve
only a single workgroup ...

More information about the samba mailing list