mirror of
https://github.com/samba-team/samba.git
synced 2025-10-23 11:33:16 +03:00
r26328: remove more uses of global_loadparm.
This commit is contained in:
committed by
Stefan Metzmacher
parent
eeb2251d22
commit
40ae12c086
@@ -185,7 +185,7 @@ NTSTATUS libnet_SamSync_netlogon(struct libnet_context *ctx, TALLOC_CTX *mem_ctx
|
||||
talloc_free(samsync_ctx);
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
cli_credentials_set_conf(machine_account, global_loadparm);
|
||||
cli_credentials_set_conf(machine_account, ctx->lp_ctx);
|
||||
nt_status = cli_credentials_set_machine_account(machine_account);
|
||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||
r->out.error_string = talloc_strdup(mem_ctx, "Could not obtain machine account password - are we joined to the domain?");
|
||||
|
||||
Reference in New Issue
Block a user