How to get nmbd to work?

Nathan Neulinger nneul at umr.edu
Fri Dec 12 04:01:58 GMT 1997


I have NEVER been able to get nmbd to work in anything even remotely 
approximating a usable fashion.

All I want it to do is DNS lookups.

I can't even get it to do that reliably. It looks in some cases like it 
isn't even sending a response back to the querying clients.

When I do a request that fails, I get this:

---
nmb packet from 192.55.114.4(3175) header: id=8172 opcode=Query(0) 
response=No
    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=GAMMA(0) q_type=32 q_class=1
Name query from 192.55.114.4 for name GAMMA<0x0>
Found DNS cache entry GAMMA(0)
---

Nothing gets sent back.

When I query a name that works, I get this:

---
12/11/1997 21:59:27 received a packet of len 50 from (192.55.114.4) port 3309
nmb packet from 192.55.114.4(3309) header: id=8214 opcode=Query(0) 
response=No
    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=DELTA(0) q_type=32 q_class=1
Name query from 192.55.114.4 for name DELTA<0x0>
OK 192.55.114.3
replying netbios packet: nmb_query DELTA(0) 192.55.114.4
nmb packet from 192.55.114.4(3309) header: id=8214 opcode=Query(0) 
response=Yes
    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=DELTA(0) rr_type=32 rr_class=1 ttl=42840
    answers   0 char D..7r.   hex 4400C0377203
nmb packet from 192.55.114.4(3309) header: id=8214 opcode=Query(0) 
response=Yes
    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=DELTA(0) rr_type=32 rr_class=1 ttl=42840
    answers   0 char D..7r.   hex 4400C0377203
12/11/1997 21:59:27 sending a packet of len 62 to (192.55.114.4) on port 3309
---


Could someone explain how to get this working?

At the VERY LEAST I want people on Windows 95 boxes to be able to map a 
drive by typing in the name directly.

If that can be gotten to work, then showing up in browse lists would be nice.

------------

On a side note, what is the proper way to configure nmbd so that it will 
be as authoritative as possible, but is on a network that we don't 
necessarily have control over someone else starting up another nmbd with 
a completely arbitrary configuration?


-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul at umr.edu
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216


More information about the samba mailing list