Error registering DOMAINNAME<1b> with 1.9.18p4 WINS server
Gerald W. Carter
cartegw at Eng.Auburn.EDU
Wed Sep 9 16:02:56 GMT 1998
Gerald W. Carter wrote:
>
> I am noticing from the netmon trace that the 2.0.0 server that won't
> register the <1b> record, registers all else by broadcast rather than
> unicast directly to the WINS server.
Hmmm...the things you learn with netmon and gdb :)
I was mistaken. the problem PDC does not recieve an answer to the
DOMAINNAME<1b> query.
-----------------------------
696 if(initiate_name_query_packet( p ) == False)
(gdb) print *p
$8 = {next = 0x0, prev = 0x0, locked = 0, ip = {S_un = {S_un_b = {s_b1 =
131
'\203', s_b2 = 204 'Ì', s_b3 = 12 '\f', s_b4 = 43 '+'}, S_un_w =
{s_w1 = 33740, s_w2 = 3115}, S_addr = 2211187755}}, port = 137, fd
= 5,
timestamp = 905356469, packet_type = NMB_PACKET, packet = {nmb =
{header = {name_trn_id = 3682, opcode = 0, response = 0, nm_flags =
{bcast = 0, recursion_available = 0, recursion_desired = 0, trunc =
0,
authoritative = 0}, rcode = 0, qdcount = 1, ancount = 0, nscount =
0,
arcount = 0}, question = {question_name = {
name = "ENG-NT\000\000\000\000\000\000\000\000\000\000",
scope = '\000' <repeats 63 times>, name_type = 27}, question_type =
32,
question_class = 1}, answers = 0x0, nsrecs = 0x0, additional =
0x0},
dgram = {header = { msg_type = 3682, flags = {node_type = B_NODE,
first = 0, more = 0}, dgm_id = 0, source_ip = {S_un = {S_un_b =
{s_b1 = 0 '\000', s_b2 = 0 '\000', s_b3 = 0 '\000', s_b4 = 0
'\000'},
S_un_w = {s_w1 = 0, s_w2 = 0}, S_addr = 0}}, source_port = 0,
dgm_length = 0, packet_offset = 0}, source_name = {
name = "\000\000\000\001", '\000' <repeats 12 times>, "E",
scope = "NG-NT", '\000' <repeats 58 times>, name_type = 0},
dest_name = {
name = '\000' <repeats 15 times>, "\e",
scope = "\000\000 \000\000\000\001", '\000' <repeats 56 times>,
name_type = 0}, datasize = 0, data = '\000' <repeats 575 times>}}}
-------------------------------
This is a general question. This is a queued netbios packet to be sent
from the problem PDC to the WINS server. Why is the bcast flag set to
0 but the node_type = B_NODE?
Thanks again,
j-
________________________________________________________________________
Gerald ( Jerry ) Carter
Engineering Network Services Auburn University
jerry at eng.auburn.edu http://www.eng.auburn.edu/users/cartegw
"...a hundred billion castaways looking for a home."
- Sting "Message in a Bottle" ( 1979 )
More information about the samba-technical
mailing list