1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-26 23:33:15 +03:00

r2629: convert gensec to the new talloc model

by making our gensec structures a talloc child of the open connection
we can be sure that it will be destroyed when the connection is
dropped.
This commit is contained in:
Andrew Tridgell
2004-09-25 12:08:57 +00:00
committed by Gerald (Jerry) Carter
parent 26da45a801
commit f12ee2f241
13 changed files with 40 additions and 45 deletions

View File

@@ -48,7 +48,7 @@ NTSTATUS dcesrv_crypto_select_type(struct dcesrv_connection *dce_conn,
*/
}
status = gensec_server_start(&auth->gensec_security);
status = gensec_server_start(dce_conn, &auth->gensec_security);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("Failed to start GENSEC server code: %s\n", nt_errstr(status)));
return status;