The branch, master has been updated via 4444612 s4-torture: For authenticated users, add AUTHENTICATED USERS sid via dc4ef9b dlz_bind9: for authenticated user, set the AUTHENTICATED USERS sid in token from 7722e63 s3: Remove a typedef
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 4444612b86717bea95edd66ded5bdfc6bc5f7bc2 Author: Amitay Isaacs <ami...@gmail.com> Date: Wed Jan 25 10:01:10 2012 +1100 s4-torture: For authenticated users, add AUTHENTICATED USERS sid Autobuild-User: Amitay Isaacs <ami...@samba.org> Autobuild-Date: Wed Jan 25 01:36:02 CET 2012 on sn-devel-104 commit dc4ef9b57b7e5f6f44ccf799a26b497c6025609b Author: Amitay Isaacs <ami...@gmail.com> Date: Wed Jan 25 10:00:31 2012 +1100 dlz_bind9: for authenticated user, set the AUTHENTICATED USERS sid in token ----------------------------------------------------------------------- Summary of changes: source4/dns_server/dlz_bind9.c | 5 +++++ source4/torture/rpc/remote_pac.c | 4 ++++ 2 files changed, 9 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/dns_server/dlz_bind9.c b/source4/dns_server/dlz_bind9.c index 549ae0d..6f6b1da 100644 --- a/source4/dns_server/dlz_bind9.c +++ b/source4/dns_server/dlz_bind9.c @@ -494,7 +494,12 @@ static NTSTATUS b9_generate_session_info_pac(struct auth4_context *auth_context, return status; } + if (user_info_dc->info->authenticated) { + session_info_flags |= AUTH_SESSION_INFO_AUTHENTICATED; + } + session_info_flags |= AUTH_SESSION_INFO_SIMPLE_PRIVILEGES; + status = auth_generate_session_info(mem_ctx, NULL, NULL, user_info_dc, session_info_flags, session_info); if (!NT_STATUS_IS_OK(status)) { diff --git a/source4/torture/rpc/remote_pac.c b/source4/torture/rpc/remote_pac.c index caec1fd..625dfe7 100644 --- a/source4/torture/rpc/remote_pac.c +++ b/source4/torture/rpc/remote_pac.c @@ -85,6 +85,10 @@ static NTSTATUS test_generate_session_info_pac(struct auth4_context *auth_ctx, return nt_status; } + if (user_info_dc->info->authenticated) { + session_info_flags |= AUTH_SESSION_INFO_AUTHENTICATED; + } + session_info_flags |= AUTH_SESSION_INFO_SIMPLE_PRIVILEGES; nt_status = auth_generate_session_info(mem_ctx, NULL, -- Samba Shared Repository