NULL).
This showed up in a manual pre-TP3 test of the 'net samdump' code, and
shows the critical need for the windows testing infrustructure on the
build farm.
Andrew Bartlett
/* prepare connect to the LSA pipe of PDC */
if (r->in.level == LIBNET_JOINDOMAIN_AUTOMATIC) {
+ connect_with_info->in.binding = NULL;
connect_with_info->in.name = r->in.domain_name;
} else {
connect_with_info->in.binding = r->in.binding;
+ connect_with_info->in.name = NULL;
}
connect_with_info->level = LIBNET_RPC_CONNECT_DC_INFO;
c->level = LIBNET_RPC_CONNECT_DC_INFO;
if (r->in.binding_string) {
c->in.binding = r->in.binding_string;
-
+ c->in.name = NULL;
} else {
+ c->in.binding = NULL;
c->in.name = cli_credentials_get_domain(machine_account);
}