Lines Matching refs:smb_sid
399 struct dom_sid *smb_sid = NULL;
406 err = sss_idmap_dom_sid_to_smb_sid(ctx, dom_sid, &smb_sid);
411 *_smb_sid = smb_sid;
417 ctx->free_func(smb_sid, ctx->alloc_pvt);
424 struct dom_sid *smb_sid,
431 err = sss_idmap_smb_sid_to_dom_sid(ctx, smb_sid, &dom_sid);
457 struct dom_sid *smb_sid;
460 smb_sid = ctx->alloc_func(sizeof(struct dom_sid), ctx->alloc_pvt);
461 if (smb_sid == NULL) {
464 memset(smb_sid, 0, sizeof(struct dom_sid));
466 smb_sid->sid_rev_num = dom_sid->sid_rev_num;
467 smb_sid->num_auths = dom_sid->num_auths;
469 smb_sid->id_auth[c] = dom_sid->id_auth[c];
472 smb_sid->sub_auths[c] = dom_sid->sub_auths[c];
475 *_smb_sid = smb_sid;
481 struct dom_sid *smb_sid,
493 dom_sid->sid_rev_num = smb_sid->sid_rev_num;
494 dom_sid->num_auths = smb_sid->num_auths;
496 dom_sid->id_auth[c] = smb_sid->id_auth[c];
499 dom_sid->sub_auths[c] = smb_sid->sub_auths[c];
514 struct dom_sid *smb_sid = NULL;
521 err = sss_idmap_dom_sid_to_smb_sid(ctx, dom_sid, &smb_sid);
526 *_smb_sid = smb_sid;
532 ctx->free_func(smb_sid, ctx->alloc_pvt);
539 struct dom_sid *smb_sid,
548 err = sss_idmap_smb_sid_to_dom_sid(ctx, smb_sid, &dom_sid);