Searched refs:tkn_grps (Results 1 – 2 of 2) sorted by relevance
638 smb_ids_t tkn_grps; in netr_setup_token_wingrps() local641 tkn_grps.i_cnt = 0; in netr_setup_token_wingrps()642 tkn_grps.i_ids = NULL; in netr_setup_token_wingrps()644 status = netr_setup_domain_groups(info3, &tkn_grps); in netr_setup_token_wingrps()646 smb_ids_free(&tkn_grps); in netr_setup_token_wingrps()650 status = smb_sam_usr_groups(token->tkn_user.i_sid, &tkn_grps); in netr_setup_token_wingrps()652 smb_ids_free(&tkn_grps); in netr_setup_token_wingrps()659 status = smb_wka_token_groups(token->tkn_flags, &tkn_grps); in netr_setup_token_wingrps()661 token->tkn_win_grps = tkn_grps; in netr_setup_token_wingrps()663 smb_ids_free(&tkn_grps); in netr_setup_token_wingrps()
865 smb_ids_t tkn_grps; in smb_token_setup_wingrps() local873 tkn_grps.i_cnt = 1; in smb_token_setup_wingrps()874 if ((tkn_grps.i_ids = malloc(sizeof (smb_id_t))) == NULL) in smb_token_setup_wingrps()877 tkn_grps.i_ids->i_sid = smb_sid_dup(token->tkn_primary_grp.i_sid); in smb_token_setup_wingrps()878 tkn_grps.i_ids->i_attrs = token->tkn_primary_grp.i_attrs; in smb_token_setup_wingrps()879 if (tkn_grps.i_ids->i_sid == NULL) { in smb_token_setup_wingrps()880 smb_ids_free(&tkn_grps); in smb_token_setup_wingrps()884 status = smb_sam_usr_groups(token->tkn_user.i_sid, &tkn_grps); in smb_token_setup_wingrps()886 smb_ids_free(&tkn_grps); in smb_token_setup_wingrps()890 status = smb_wka_token_groups(token->tkn_flags, &tkn_grps); in smb_token_setup_wingrps()[all …]