Okay, then.  I'm attaching what I'm using... I just moved your registration 
line into the _success function so it gets called for each subnet (basically 
subnet->ip) on which the server successfully registers 0x1c.  I'll just hope 
that 2.2.6 will have this fixed one way or another and I can go back to 
(nearly) stock sambas.

Thanks again,
Kevin

On Tuesday 08 October 2002 11:12 am, [EMAIL PROTECTED] wrote:
> > I do have one question, though.  If a samba PDC has multiple interfaces,
> > would you want the PDC role registered with the PDC's ip on each
> > interface?  I think that would be accomplished if your
> > insert_permanent_name_into_unicast were moved inside the subnet list
> > loop, and called for each subnet instead of FIRST_SUBNET.   Or maybe I
> > don't understand how the unicast subnet works?
>
> Jerry and Jeremy will take care of that problem. I don't really understand
> nmbd well enough.
>
> Volker
--- ../samba-2.2.6pre2/source/nmbd/nmbd_logonnames.c	Thu May  2 21:03:18 2002
+++ source/nmbd/nmbd_logonnames.c	Tue Oct  8 11:32:18 2002
@@ -107,6 +107,9 @@
    */
   servrec->serv.type |= SV_TYPE_DOMAIN_CTRL;
 
+  /* register on unicast as well */
+  insert_permanent_name_into_unicast(subrec, registered_name, 0x1c);
+
   /* Tell the namelist writer to write out a change. */
   subrec->work_changed = True;
 

Reply via email to