summaryrefslogtreecommitdiff
path: root/source4/auth/system_session.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-12-21 10:19:53 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-12-21 15:10:38 +1100
commit1961d7a4119200b8a4ad7b0207e0cdcf2e10d3f8 (patch)
tree3a481279183723fdbc3a33977d7bf43196d1b80b /source4/auth/system_session.c
parent94a59b781ccc5a552a9141484740255977db4637 (diff)
downloadsamba-1961d7a4119200b8a4ad7b0207e0cdcf2e10d3f8.tar.gz
s4-auth rework session_info handling not to require an auth context
This reverts a previous move to have this based around the auth subsystem, which just spread auth deps all over unrelated code. Andrew Bartlett
Diffstat (limited to 'source4/auth/system_session.c')
-rw-r--r--source4/auth/system_session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/system_session.c b/source4/auth/system_session.c
index bec22c16005..6e0cd7be5a5 100644
--- a/source4/auth/system_session.c
+++ b/source4/auth/system_session.c
@@ -194,7 +194,7 @@ NTSTATUS auth_system_session_info(TALLOC_CTX *parent_ctx,
}
/* references the server_info into the session_info */
- nt_status = auth_generate_session_info(parent_ctx, NULL, server_info, 0, &session_info);
+ nt_status = auth_generate_session_info(parent_ctx, lp_ctx, NULL, server_info, 0, &session_info);
talloc_free(mem_ctx);
NT_STATUS_NOT_OK_RETURN(nt_status);
@@ -445,7 +445,7 @@ _PUBLIC_ NTSTATUS auth_anonymous_session_info(TALLOC_CTX *parent_ctx,
}
/* references the server_info into the session_info */
- nt_status = auth_generate_session_info(parent_ctx, NULL, server_info, 0, &session_info);
+ nt_status = auth_generate_session_info(parent_ctx, lp_ctx, NULL, server_info, 0, &session_info);
talloc_free(mem_ctx);
NT_STATUS_NOT_OK_RETURN(nt_status);