search for: range_params

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

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
...in an environment. Think of the case of MS AD domain with multiple Samba file servers (some with SSSD for domain join and some with 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 - r...