[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-925-g6bb107b

Michael Adam obnox at samba.org
Tue Apr 15 18:44:06 GMT 2008


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 <obnox at samba.org>
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


More information about the samba-cvs mailing list