search for: net_find_pdc

Displaying 1 result from an estimated 1 matches for "net_find_pdc".

2006 Sep 05
0
Question about inter-domain trusts
...c/ is unable to find a domain controller. On closer inspection I find that "net rpc trustdom establish" goes looking for a Domain Master Browser for the target domain. But with nmblookup and nbtstat I find there is no local DMB for the domain I want to trust. Modifying utils/net.c:net_find_pdc() so that it looks for Domain Controllers (type #1e) instead of DMBs (type #1b) seems to fix the resolution problem. But is this modification semantically correct? Or must there be a local DMB for that domain? Curiously, there are a few error cases in net_rpc.c:rpc_trustdom_establish() wher...