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  192.168.138.1   is in /etc/lmhosts on Network B
- GROUP_B  192.168.139.1   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 192.168.138.1

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 192.168.139.100(137) header: id=178 opcode=Query(0)
response=
      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]
nmbd/nmbd_winsserver.c:packet_is_for_wins_server(63)
  packet_is_for_wins_server: failing WINS test #1.

[1999/02/07 21:16:02, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(466)
  process_name_query_request: Name query from 192.168.139.100 on subnet
192.168.139.1

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

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


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

        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