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_seaccess.c | |
parent | 4bfc8d3b1a6f6deacb8845c5d81b4897cc292cfb (diff) | |
download | samba-d1bb21b0d531ef8f40400716b3e1f6314c7c1e8a.tar.gz samba-d1bb21b0d531ef8f40400716b3e1f6314c7c1e8a.tar.bz2 samba-d1bb21b0d531ef8f40400716b3e1f6314c7c1e8a.zip |
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_seaccess.c')
-rw-r--r-- | source3/lib/util_seaccess.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/util_seaccess.c b/source3/lib/util_seaccess.c index b81db43d03..3bedec6865 100644 --- a/source3/lib/util_seaccess.c +++ b/source3/lib/util_seaccess.c @@ -22,7 +22,7 @@ #include "includes.h" -extern NT_USER_TOKEN anonymous_token; +extern struct security_token anonymous_token; /* Map generic access rights to object specific rights. This technique is used to give meaning to assigning read, write, execute and all access to @@ -106,7 +106,7 @@ void se_map_standard(uint32 *access_mask, const struct standard_mapping *mapping perform a SEC_FLAG_MAXIMUM_ALLOWED access check */ static uint32_t access_check_max_allowed(const struct security_descriptor *sd, - const NT_USER_TOKEN *token) + const struct security_token *token) { uint32_t denied = 0, granted = 0; unsigned i; @@ -154,7 +154,7 @@ static uint32_t access_check_max_allowed(const struct security_descriptor *sd, to by the access_granted pointer. */ NTSTATUS se_access_check(const struct security_descriptor *sd, - const NT_USER_TOKEN *token, + const struct security_token *token, uint32_t access_desired, uint32_t *access_granted) { |