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/privileges_basic.c | |
parent | 4bfc8d3b1a6f6deacb8845c5d81b4897cc292cfb (diff) | |
download | samba-d1bb21b0d531ef8f40400716b3e1f6314c7c1e8a.tar.gz samba-d1bb21b0d531ef8f40400716b3e1f6314c7c1e8a.tar.xz 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/privileges_basic.c')
-rw-r--r-- | source3/lib/privileges_basic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/privileges_basic.c b/source3/lib/privileges_basic.c index 4922435a95..c6705c5f55 100644 --- a/source3/lib/privileges_basic.c +++ b/source3/lib/privileges_basic.c @@ -281,7 +281,7 @@ const char* get_privilege_dispname( const char *name ) at a time here. *****************************************************************************/ -bool user_has_privileges(const NT_USER_TOKEN *token, const uint64_t *privilege) +bool user_has_privileges(const struct security_token *token, const uint64_t *privilege) { if ( !token ) return False; @@ -294,7 +294,7 @@ bool user_has_privileges(const NT_USER_TOKEN *token, const uint64_t *privilege) at a time here. *****************************************************************************/ -bool user_has_any_privilege(NT_USER_TOKEN *token, const uint64_t *privilege) +bool user_has_any_privilege(struct security_token *token, const uint64_t *privilege) { if ( !token ) return False; |