summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-01-25 10:01:10 +1100
committerAmitay Isaacs <amitay@samba.org>2012-01-25 01:36:02 +0100
commit4444612b86717bea95edd66ded5bdfc6bc5f7bc2 (patch)
tree822444711ddd78a29f97f2b08e19f136cc3a4407 /source4
parentdc4ef9b57b7e5f6f44ccf799a26b497c6025609b (diff)
downloadsamba-4444612b86717bea95edd66ded5bdfc6bc5f7bc2.tar.gz
samba-4444612b86717bea95edd66ded5bdfc6bc5f7bc2.tar.bz2
samba-4444612b86717bea95edd66ded5bdfc6bc5f7bc2.zip
s4-torture: For authenticated users, add AUTHENTICATED USERS sid
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Jan 25 01:36:02 CET 2012 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/remote_pac.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/rpc/remote_pac.c b/source4/torture/rpc/remote_pac.c
index caec1fda3e..625dfe7f9d 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,