mirror of
https://github.com/samba-team/samba.git
synced 2025-10-22 07:33:16 +03:00
r26430: require explicit specification of loadparm context.
This commit is contained in:
committed by
Stefan Metzmacher
parent
d37136b7ab
commit
1b947fe0e6
@@ -397,7 +397,7 @@ static void ldapsrv_accept(struct stream_connection *c)
|
||||
}
|
||||
|
||||
cli_credentials_set_conf(server_credentials, conn->lp_ctx);
|
||||
status = cli_credentials_set_machine_account(server_credentials);
|
||||
status = cli_credentials_set_machine_account(server_credentials, conn->lp_ctx);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
stream_terminate_connection(c, talloc_asprintf(conn, "Failed to obtain server credentials, perhaps a standalone server?: %s\n", nt_errstr(status)));
|
||||
return;
|
||||
|
Reference in New Issue
Block a user