Home
last modified time | relevance | path

Searched refs:i_sid (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_logon.c89 id->i_sid, SMB_IDMAP_USER); in smb_token_idmap()
98 id->i_sid, SMB_IDMAP_USER); in smb_token_idmap()
107 stat = smb_idmap_batch_getid(sib->sib_idmaph, sim++, id->i_sid, in smb_token_idmap()
118 id->i_sid, SMB_IDMAP_GROUP); in smb_token_idmap()
248 smb_sid_free(token->tkn_user.i_sid); in smb_token_destroy()
249 smb_sid_free(token->tkn_owner.i_sid); in smb_token_destroy()
250 smb_sid_free(token->tkn_primary_grp.i_sid); in smb_token_destroy()
278 owner_sid = token->tkn_user->i_sid; in smb_token_set_owner()
281 token->tkn_owner.i_sid = smb_sid_dup(owner_sid); in smb_token_set_owner()
283 token->tkn_owner.i_sid = smb_sid_dup(token->tkn_user.i_sid); in smb_token_set_owner()
[all …]
H A Dnetr_logon.c127 token->tkn_user.i_sid = smb_sid_splice(domsid, in netr_setup_token_info3()
129 if (token->tkn_user.i_sid == NULL) in netr_setup_token_info3()
132 token->tkn_primary_grp.i_sid = smb_sid_splice(domsid, in netr_setup_token_info3()
134 if (token->tkn_primary_grp.i_sid == NULL) in netr_setup_token_info3()
296 token->tkn_user.i_sid = smb_sid_splice(domsid, info3->UserId); in netr_setup_token()
297 if (token->tkn_user.i_sid == NULL) in netr_setup_token()
300 token->tkn_primary_grp.i_sid = smb_sid_splice(domsid, in netr_setup_token()
302 if (token->tkn_primary_grp.i_sid == NULL) in netr_setup_token()
738 status = smb_sam_usr_groups(token->tkn_user.i_sid, &tkn_grps); in netr_setup_token_wingrps()
781 ids->i_sid = smb_sid_splice(domain_sid, info3->GroupIds[i].rid); in netr_setup_domain_groups()
[all …]
/titanic_50/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_wksids.c264 id->i_sid = smb_sid_dup(smb_wka_get_sid("Network")); in smb_wka_token_groups()
266 if (id->i_sid == NULL) in smb_wka_token_groups()
273 id->i_sid = smb_sid_dup(smb_wka_get_sid("Guests")); in smb_wka_token_groups()
275 id->i_sid = in smb_wka_token_groups()
278 if (id->i_sid == NULL) in smb_wka_token_groups()
285 id->i_sid = smb_sid_dup(smb_wka_get_sid("Administrators")); in smb_wka_token_groups()
287 if (id->i_sid == NULL) in smb_wka_token_groups()
H A Dsmb_sam.c336 if (smb_lgrp_is_member(&lgrp, ids->i_sid)) { in smb_sam_usr_groups()
387 if (smb_lgrp_is_member(&lgrp, ids->i_sid)) { in smb_sam_usr_groups()
393 new_ids->i_sid = smb_sid_dup(lgrp.sg_id.gs_sid); in smb_sam_usr_groups()
394 if (new_ids->i_sid == NULL) { in smb_sam_usr_groups()
417 smb_sid_free(ids->i_sid); in smb_sam_usr_groups()
602 smb_sid_free(id->i_sid); in smb_ids_free()
/titanic_50/usr/src/common/smbsrv/
H A Dsmb_token.c83 if ((token->tkn_user.i_sid == NULL) || in smb_token_valid()
84 (token->tkn_owner.i_sid == NULL) || in smb_token_valid()
85 (token->tkn_primary_grp.i_sid == NULL) || in smb_token_valid()
H A Dsmb_token_xdr.c88 len = smb_sid_len(objp->i_sid); in smb_id_xdr()
96 if (!xdr_pointer(xdrs, (char **)&objp->i_sid, len, in smb_id_xdr()
/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_cred.c125 ASSERT(id->i_sid); in smb_cred_set_sid()
128 smb_sid_tostr(id->i_sid, sidstr); in smb_cred_set_sid()
/titanic_50/usr/src/uts/common/smbsrv/
H A Dsmb_sid.h265 smb_sid_t *i_sid; member
/titanic_50/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_logon.c125 smb_sid_tostr(token->tkn_user.i_sid, sidbuf); in smbd_user_auth_logon()