NMBD can handle only ONE workgroup !!!
steffen at shark.mayn.de
Sun Feb 7 19:57:26 GMT 1999
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)
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 192.168.139.100 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 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