return False;
}
- /* Each subnet entry, except for the remote_announce_broadcast subnet
- and the wins_server_subnet has the magic Samba names. */
+ /* Each subnet entry, except for the wins_server_subnet has the magic Samba names. */
add_samba_names_to_subnet(subrec);
/* Register all our names including aliases. */
}
}
+ /*
+ * We need to add the Samba names to the remote broadcast subnet,
+ * as NT 4.x does directed broadcast requests to the *<0x0> name.
+ */
+ add_samba_names_to_subnet(remote_broadcast_subnet);
+
return True;
}
*/
if(!is_refresh_already_queued( subrec, namerec))
refresh_name(subrec, namerec, NULL, NULL, NULL);
- namerec->death_time += lp_max_ttl();
- namerec->refresh_time += lp_max_ttl();
+ namerec->death_time += lp_max_ttl();
+ namerec->refresh_time += lp_max_ttl();
}
}
}
/* These names are added permanently (ttl of zero) and will NOT be
refreshed. */
- if((subrec == unicast_subnet) || (subrec == wins_server_subnet))
+ if((subrec == unicast_subnet) || (subrec == wins_server_subnet) ||
+ (subrec == remote_broadcast_subnet) )
{
struct subnet_record *bcast_subrecs;
int i;