From 9c6b637ce8a750fa2fef6a5d3a303bf9e6c4eea5 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 19 Apr 2010 15:51:57 +1000 Subject: s4:auth Change auth_generate_session_info to take flags This allows us to control what groups should be added in what use cases, and in particular to more carefully control the introduction of the 'authenticated' group. In particular, in the 'service_named_pipe' protocol, we do not have control over the addition of the authenticated users group, so we key of 'is this user the anonymous SID'. This also takes more care to allocate the right length ptoken->sids Andrew Bartlett --- source4/auth/session.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/auth/session.h') diff --git a/source4/auth/session.h b/source4/auth/session.h index 574b76946e1..8e22cc05766 100644 --- a/source4/auth/session.h +++ b/source4/auth/session.h @@ -50,6 +50,7 @@ NTSTATUS auth_anonymous_server_info(TALLOC_CTX *mem_ctx, NTSTATUS auth_generate_session_info(TALLOC_CTX *mem_ctx, struct auth_context *auth_context, struct auth_serversupplied_info *server_info, + uint32_t session_info_flags, struct auth_session_info **_session_info); NTSTATUS auth_anonymous_session_info(TALLOC_CTX *parent_ctx, -- cgit v1.2.1