diff options
author | Amitay Isaacs <amitay@gmail.com> | 2012-01-25 10:00:31 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2012-01-25 10:01:45 +1100 |
commit | dc4ef9b57b7e5f6f44ccf799a26b497c6025609b (patch) | |
tree | cba63595287bc4d110dd3d0d655b7df05be1011c /source4/dns_server | |
parent | 7722e637b8d0c0ad5ff6bc76a5018c3253eda55d (diff) | |
download | samba-dc4ef9b57b7e5f6f44ccf799a26b497c6025609b.tar.gz samba-dc4ef9b57b7e5f6f44ccf799a26b497c6025609b.tar.bz2 samba-dc4ef9b57b7e5f6f44ccf799a26b497c6025609b.zip |
dlz_bind9: for authenticated user, set the AUTHENTICATED USERS sid in token
Diffstat (limited to 'source4/dns_server')
-rw-r--r-- | source4/dns_server/dlz_bind9.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/dns_server/dlz_bind9.c b/source4/dns_server/dlz_bind9.c index 549ae0df55..6f6b1da32e 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)) { |