summaryrefslogtreecommitdiff
path: root/source3/auth/token_util.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-15 20:52:17 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-15 20:52:17 +0200
commitd0b946e328c25b8e2bdfef58e11bc3badad97f1c (patch)
treeca63d963f6db36f935aa591500db9741db4d58b8 /source3/auth/token_util.c
parent28fd4f6fcb101fc0274c43611a59d22072fb7891 (diff)
parentb64be89a6ddd1b9c62df98801f34f4d9116a06bf (diff)
downloadsamba-d0b946e328c25b8e2bdfef58e11bc3badad97f1c.tar.gz
samba-d0b946e328c25b8e2bdfef58e11bc3badad97f1c.tar.bz2
samba-d0b946e328c25b8e2bdfef58e11bc3badad97f1c.zip
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into 3-2-nopipeindex
(This used to be commit 9028f9e065536594df901ae4aac900102f2d85f6)
Diffstat (limited to 'source3/auth/token_util.c')
-rw-r--r--source3/auth/token_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/auth/token_util.c b/source3/auth/token_util.c
index fc93060fc6..6720a2cbd8 100644
--- a/source3/auth/token_util.c
+++ b/source3/auth/token_util.c
@@ -105,6 +105,8 @@ NT_USER_TOKEN *get_root_nt_token( void )
token = create_local_nt_token(NULL, &u_sid, False,
1, &global_sid_Builtin_Administrators);
+ token->privileges = se_disk_operators;
+
memcache_add_talloc(
NULL, SINGLETON_CACHE_TALLOC,
data_blob_string_const("root_nt_token"), token);