Lines Matching refs:sid
138 lsa_lookup_sid(smb_sid_t *sid, smb_account_t *info) in lsa_lookup_sid() argument
140 return (lsa_lookup_sid_int(sid, info, B_TRUE)); in lsa_lookup_sid()
145 lsa_lookup_lsid(smb_sid_t *sid, smb_account_t *info) in lsa_lookup_lsid() argument
147 return (lsa_lookup_sid_int(sid, info, B_FALSE)); in lsa_lookup_lsid()
151 lsa_lookup_sid_int(smb_sid_t *sid, smb_account_t *info, boolean_t try_ad) in lsa_lookup_sid_int() argument
155 if (!smb_sid_isvalid(sid)) in lsa_lookup_sid_int()
158 status = lsa_lookup_sid_builtin(sid, info); in lsa_lookup_sid_int()
160 status = smb_sam_lookup_sid(sid, info); in lsa_lookup_sid_int()
162 status = lsa_lookup_sid_domain(sid, info); in lsa_lookup_sid_int()
502 struct mslsa_sid *sid; in lsa_list_accounts() local
517 sid = accounts.info[i].sid; in lsa_list_accounts()
519 if (lsar_open_account(domain_handle, sid, in lsa_list_accounts()
526 free(accounts.info[i].sid); in lsa_list_accounts()
547 lsa_lookup_sid_builtin(smb_sid_t *sid, smb_account_t *ainfo) in lsa_lookup_sid_builtin() argument
554 if ((wka = smb_wka_lookup_sid(sid)) == NULL) in lsa_lookup_sid_builtin()
584 lsa_lookup_sid_domain(smb_sid_t *sid, smb_account_t *ainfo) in lsa_lookup_sid_domain() argument
601 status = lsar_lookup_sids(&domain_handle, sid, ainfo); in lsa_lookup_sid_domain()