Multiple IPs for PDC?

Ken Cross kcross at nssolutions.com
Mon Nov 25 13:00:00 GMT 2002


G'Day:

In the get_pdc_ip routine in libsmb/namequery.c in -current, there's an
assertion:

  SMB_ASSERT(count == 1);

which bombs out if the PDC has multiple IP addresses.  I have a PDC with
3 network interfaces, so it isn't too happy.

If I disable this assertion, I get:

 net lookup dc test1
 10.0.3.1
 10.0.2.100
 10.0.1.8

which seems OK to me.  Is there a reason for the assertion?

Thanks,
Ken Cross




More information about the samba-technical mailing list