Lines Matching defs:token
50 * access token.
53 smb_token_query_privilege(smb_token_t *token, int priv_id)
58 if ((token == NULL) || (token->tkn_privileges == NULL))
61 privset = token->tkn_privileges;
75 * Basic sanity check on a token.
78 smb_token_valid(smb_token_t *token)
80 if (token == NULL)
83 if ((token->tkn_user.i_sid == NULL) ||
84 (token->tkn_owner.i_sid == NULL) ||
85 (token->tkn_primary_grp.i_sid == NULL) ||
86 (token->tkn_account_name == NULL) ||
87 (token->tkn_domain_name == NULL) ||
88 (token->tkn_posix_grps == NULL))
91 if ((token->tkn_win_grps.i_cnt != 0) &&
92 (token->tkn_win_grps.i_ids == NULL))