ptrdiff_t extra_len;
bool within_forest = false;
NTSTATUS status;
+ bool ok;
/*
* Only when we enumerate our primary domain
return;
}
+ ok = set_routing_domain(domain, find_default_route_domain());
+ if (!ok) {
+ DBG_ERR("set_routing_domain failed\n");
+ return;
+ }
+
p = q + strlen(q) + 1;
}
size_t num_trusts = 0;
int i;
NTSTATUS status;
+ bool ok;
/* The only transitive trusts supported by Windows 2003 AD are
(a) Parent-Child, (b) Tree-Root, and (c) Forest. The
nt_errstr(status));
return;
}
+ ok = set_routing_domain(d, find_default_route_domain());
+ if (!ok) {
+ DBG_ERR("set_routing_domain failed\n");
+ return;
+ }
}
if (d == NULL) {
continue;
size_t num_trusts = 0;
int i;
NTSTATUS status;
+ bool ok;
/* The only transitive trusts supported by Windows 2003 AD are
(a) Parent-Child, (b) Tree-Root, and (c) Forest. The
nt_errstr(status));
return;
}
+ ok = set_routing_domain(
+ d, find_default_route_domain());
+ if (!ok) {
+ DBG_ERR("set_routing_domain failed\n");
+ return;
+ }
}
if (d == NULL) {
struct winbindd_domain *d = NULL;
uint32_t trust_flags = 0;
NTSTATUS status;
+ bool ok;
DEBUG(5, ("wb_imsg_new_trusted_domain\n"));
TALLOC_FREE(frame);
return;
}
+ ok = set_routing_domain(d, find_default_route_domain());
+ if (!ok) {
+ TALLOC_FREE(frame);
+ return;
+ }
TALLOC_FREE(frame);
}