On Mon, Oct 07, 2002 at 05:35:35PM -0400, Kevin Stefanik wrote:
> from log.nmbd:
> process_node_status_request: status request for name U_MTPPI<1c> from IP 
> 192.168.92.56 on subnet UNICAST_SUBNET.

I had the same problem, and patched nmbd a bit. I'm not sure it's
the right fix, but here it is. Whoever is currently feeling authoritative
of nmbd, feel free to commit it :-)

Volker

diff -u -r1.11 nmbd_logonnames.c
--- nmbd/nmbd_logonnames.c      30 Jan 2002 06:08:22 -0000      1.11
+++ nmbd/nmbd_logonnames.c      6 Oct 2002 09:58:09 -0000
@@ -139,6 +139,7 @@
 void add_logon_names(void)
 {
   struct subnet_record *subrec;
+  struct nmb_name nmbname;
 
   for (subrec = FIRST_SUBNET; subrec; subrec = NEXT_SUBNET_INCLUDING_UNICAST(subrec))
   {
@@ -146,7 +147,6 @@
 
     if (work && (work->log_state == LOGON_NONE))
     {
-      struct nmb_name nmbname;
       make_nmb_name(&nmbname,global_myworkgroup,0x1c);
 
       if (find_name_on_subnet(subrec, &nmbname, FIND_SELF_NAME) == NULL)
@@ -162,4 +162,6 @@
       }
     }
   }
+  make_nmb_name(&nmbname,global_myworkgroup,0x1c);
+  insert_permanent_name_into_unicast(FIRST_SUBNET, &nmbname, 0x1c);
 }

Attachment: msg03575/pgp00000.pgp
Description: PGP signature

Reply via email to