1
0
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:
Jelmer Vernooij
2007-12-13 22:46:17 +01:00
committed by Stefan Metzmacher
parent d37136b7ab
commit 1b947fe0e6
21 changed files with 72 additions and 50 deletions

View File

@@ -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;