Changeset 228 for branches/samba-3.2.x/source/auth/token_util.c
- Timestamp:
- May 26, 2009, 9:44:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/auth/token_util.c
r136 r228 78 78 NT_USER_TOKEN *get_root_nt_token( void ) 79 79 { 80 struct nt_user_token *token = NULL;80 struct nt_user_token *token, *for_cache; 81 81 DOM_SID u_sid, g_sid; 82 82 struct passwd *pw; … … 108 108 token->privileges = se_disk_operators; 109 109 110 for_cache = token; 111 110 112 memcache_add_talloc( 111 113 NULL, SINGLETON_CACHE_TALLOC, 112 data_blob_string_const("root_nt_token"), token);114 data_blob_string_const("root_nt_token"), &for_cache); 113 115 114 116 return token;
Note:
See TracChangeset
for help on using the changeset viewer.