The branch, v3-2-test has been updated
       via  6bb107b17d557c27d035ca518ab61296814a3cea (commit)
      from  6c1181fda2f040d9555917b10a65bc0dfc1f0593 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 6bb107b17d557c27d035ca518ab61296814a3cea
Author: Michael Adam <[EMAIL PROTECTED]>
Date:   Tue Apr 15 20:41:14 2008 +0200

    auth: add SeDiskOperatorsPrivilege to get_root_nt_token to fix registry 
shares.
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 source/auth/token_util.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/auth/token_util.c b/source/auth/token_util.c
index fc93060..6720a2c 100644
--- a/source/auth/token_util.c
+++ b/source/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);


-- 
Samba Shared Repository

Reply via email to