search for: first_rid

Displaying 2 results from an estimated 2 matches for "first_rid".

Did you mean: first_gid
2020 Sep 03
2
SID mapping: Samba and SSSD
On 03/09/2020 20:01, Andrew Walker wrote: > Whoops, fumbled my response a bit. slice size by default is 200,000, > and to clarify the SID passed into murmur3() is the domain SID, not > SID?of individual user. Though, manpage for sssd-ad should be > consulted for precise details. My understanding though is as long as > everything fits in one slice, then you can just use RID. If
2020 Sep 03
0
SID mapping: Samba and SSSD
...winbind). src/lib/idmap/sss_idmap.c indicates that ids are calculated based on the RIDs that are covered by a particular slice: ``` static bool comp_id(struct idmap_range_params *range_params, long long rid, uint32_t *_id) { uint32_t id; if (rid >= range_params->first_rid && ((UINT32_MAX - range_params->min_id) > (rid - range_params->first_rid))) { id = range_params->min_id + (rid - range_params->first_rid); if (id <= range_params->max_id) { *_id = id; return true;...