Searched refs:tkn_grps (Results 1 – 2 of 2) sorted by relevance
877 smb_ids_t tkn_grps; in smb_token_setup_wingrps() local885 tkn_grps.i_cnt = 1; in smb_token_setup_wingrps()886 if ((tkn_grps.i_ids = malloc(sizeof (smb_id_t))) == NULL) in smb_token_setup_wingrps()889 tkn_grps.i_ids->i_sid = smb_sid_dup(token->tkn_primary_grp.i_sid); in smb_token_setup_wingrps()890 tkn_grps.i_ids->i_attrs = token->tkn_primary_grp.i_attrs; in smb_token_setup_wingrps()891 if (tkn_grps.i_ids->i_sid == NULL) { in smb_token_setup_wingrps()892 smb_ids_free(&tkn_grps); in smb_token_setup_wingrps()896 status = smb_sam_usr_groups(token->tkn_user.i_sid, &tkn_grps); in smb_token_setup_wingrps()898 smb_ids_free(&tkn_grps); in smb_token_setup_wingrps()902 status = smb_wka_token_groups(token->tkn_flags, &tkn_grps); in smb_token_setup_wingrps()[all …]
726 smb_ids_t tkn_grps; in netr_setup_token_wingrps() local729 tkn_grps.i_cnt = 0; in netr_setup_token_wingrps()730 tkn_grps.i_ids = NULL; in netr_setup_token_wingrps()732 status = netr_setup_domain_groups(info3, &tkn_grps); in netr_setup_token_wingrps()734 smb_ids_free(&tkn_grps); in netr_setup_token_wingrps()738 status = smb_sam_usr_groups(token->tkn_user.i_sid, &tkn_grps); in netr_setup_token_wingrps()740 smb_ids_free(&tkn_grps); in netr_setup_token_wingrps()747 status = smb_wka_token_groups(token->tkn_flags, &tkn_grps); in netr_setup_token_wingrps()749 token->tkn_win_grps = tkn_grps; in netr_setup_token_wingrps()751 smb_ids_free(&tkn_grps); in netr_setup_token_wingrps()