Lines Matching defs:dom_sid
362 struct sss_dom_sid *dom_sid)
364 return sss_idmap_free_ptr(ctx, dom_sid);
368 struct dom_sid *smb_sid)
902 static bool is_sid_from_dom(const char *dom_sid, const char *sid,
907 if (dom_sid == NULL) {
911 dom_sid_len = strlen(dom_sid);
918 return strncmp(sid, dom_sid, dom_sid_len) == 0;
941 const char *dom_sid,
953 secondary_name = generate_sec_slice_name(ctx, dom_sid, first_rid);
1178 const char *dom_sid,
1186 len = snprintf(NULL, 0, SID_FMT, dom_sid, rid);
1196 ret = snprintf(sid, len + 1, SID_FMT, dom_sid, rid);
1268 struct sss_dom_sid *dom_sid,
1276 err = sss_idmap_dom_sid_to_sid(ctx, dom_sid, &sid);
1313 struct dom_sid *smb_sid,
1335 struct sss_dom_sid *dom_sid,
1343 err = sss_idmap_dom_sid_to_sid(ctx, dom_sid, &sid);
1380 struct dom_sid *smb_sid,
1406 struct sss_dom_sid *dom_sid = NULL;
1415 err = sss_idmap_sid_to_dom_sid(ctx, sid, &dom_sid);
1420 *_dom_sid = dom_sid;
1426 ctx->free_func(dom_sid, ctx->alloc_pvt);
1543 const char *dom_sid,
1550 if (dom_sid == NULL) {
1565 dom_sid_len = strlen(dom_sid);
1566 if (((dom_sid_len > len && dom_sid[len] == '-')
1568 && strncmp(dom_sid, idmap_domain_info->sid, len) == 0) {