diff options
author | Michael Adam <obnox@samba.org> | 2013-04-25 20:24:36 +0200 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2013-05-06 16:33:40 +0200 |
commit | 9c6594dadbdd800470d4b217f1351fbba87989ba (patch) | |
tree | 214e5981e9ce341bad446e503e612529d149d022 /source3/libsmb | |
parent | 7b9a567b8943e0c3d0b6fa97bea72f1b89aea4ab (diff) | |
download | samba-9c6594dadbdd800470d4b217f1351fbba87989ba.tar.gz samba-9c6594dadbdd800470d4b217f1351fbba87989ba.tar.bz2 samba-9c6594dadbdd800470d4b217f1351fbba87989ba.zip |
s3:idmap:autorid: simplify the id->sid calculation
To make it more intutive.
rid = reduced_rid + domain_range_index * range_size
where
reduced_rid = (id - id_low) % range_size
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Christian Ambach <ambi@samba.org>
Diffstat (limited to 'source3/libsmb')
0 files changed, 0 insertions, 0 deletions