diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-08-26 22:08:22 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-11 18:46:06 +1000 |
commit | d1bb21b0d531ef8f40400716b3e1f6314c7c1e8a (patch) | |
tree | 8e42569543c2a7a591d206794542290c64a7cebe /source3/lib/util_nttoken.c | |
parent | 4bfc8d3b1a6f6deacb8845c5d81b4897cc292cfb (diff) | |
download | samba-d1bb21b0d531ef8f40400716b3e1f6314c7c1e8a.tar.gz |
s3:auth Remove NT_USER_TOKEN
The all UPPER case typedef is no longer the preferred Samba style
and this makes it easier to see that this is the IDL-derivied structure
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/lib/util_nttoken.c')
-rw-r--r-- | source3/lib/util_nttoken.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/util_nttoken.c b/source3/lib/util_nttoken.c index 3be5634a061..8efebaf9eb6 100644 --- a/source3/lib/util_nttoken.c +++ b/source3/lib/util_nttoken.c @@ -31,14 +31,14 @@ Duplicate a SID token. ****************************************************************************/ -NT_USER_TOKEN *dup_nt_token(TALLOC_CTX *mem_ctx, const NT_USER_TOKEN *ptoken) +struct security_token *dup_nt_token(TALLOC_CTX *mem_ctx, const struct security_token *ptoken) { - NT_USER_TOKEN *token; + struct security_token *token; if (!ptoken) return NULL; - token = TALLOC_ZERO_P(mem_ctx, NT_USER_TOKEN); + token = TALLOC_ZERO_P(mem_ctx, struct security_token); if (token == NULL) { DEBUG(0, ("talloc failed\n")); return NULL; @@ -120,7 +120,7 @@ NTSTATUS merge_nt_token(TALLOC_CTX *mem_ctx, Check if this struct security_ace has a SID in common with the token. ********************************************************************/ -bool token_sid_in_ace(const NT_USER_TOKEN *token, const struct security_ace *ace) +bool token_sid_in_ace(const struct security_token *token, const struct security_ace *ace) { size_t i; |