From d1bb21b0d531ef8f40400716b3e1f6314c7c1e8a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 26 Aug 2010 22:08:22 +1000 Subject: 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 --- libgpo/gpo_sec.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libgpo/gpo_sec.c') diff --git a/libgpo/gpo_sec.c b/libgpo/gpo_sec.c index 6b5e77f20a..099dbaaa77 100644 --- a/libgpo/gpo_sec.c +++ b/libgpo/gpo_sec.c @@ -101,7 +101,7 @@ static bool gpo_sd_check_read_access_bits(uint32_t access_mask) ****************************************************************/ static NTSTATUS gpo_sd_check_ace_denied_object(const struct security_ace *ace, - const NT_USER_TOKEN *token) + const struct security_token *token) { char *sid_str; @@ -123,7 +123,7 @@ static NTSTATUS gpo_sd_check_ace_denied_object(const struct security_ace *ace, ****************************************************************/ static NTSTATUS gpo_sd_check_ace_allowed_object(const struct security_ace *ace, - const NT_USER_TOKEN *token) + const struct security_token *token) { char *sid_str; @@ -146,7 +146,7 @@ static NTSTATUS gpo_sd_check_ace_allowed_object(const struct security_ace *ace, ****************************************************************/ static NTSTATUS gpo_sd_check_ace(const struct security_ace *ace, - const NT_USER_TOKEN *token) + const struct security_token *token) { switch (ace->type) { case SEC_ACE_TYPE_ACCESS_DENIED_OBJECT: @@ -162,7 +162,7 @@ static NTSTATUS gpo_sd_check_ace(const struct security_ace *ace, ****************************************************************/ NTSTATUS gpo_apply_security_filtering(const struct GROUP_POLICY_OBJECT *gpo, - const NT_USER_TOKEN *token) + const struct security_token *token) { struct security_descriptor *sd = gpo->security_descriptor; struct security_acl *dacl = NULL; -- cgit