r26430: require explicit specification of loadparm context.
[samba.git] / source4 / winbind / wb_init_domain.c
index cee7e5c3e7837c7a2d998f11730399ebf3728a59..fc35f11db629ab3f7a29963ef45075bd5b65c055 100644 (file)
@@ -157,7 +157,7 @@ struct composite_context *wb_init_domain_send(TALLOC_CTX *mem_ctx,
 
        /* Connect the machine account to the credentials */
        state->ctx->status =
-               cli_credentials_set_machine_account(state->domain->libnet_ctx->cred);
+               cli_credentials_set_machine_account(state->domain->libnet_ctx->cred, state->domain->libnet_ctx->lp_ctx);
        if (!NT_STATUS_IS_OK(state->ctx->status)) goto failed;
 
        state->domain->netlogon_binding = init_domain_binding(state, &ndr_table_netlogon);