summaryrefslogtreecommitdiff
path: root/source3/libsmb/ntlmssp_wrap.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-04-25 20:24:36 +0200
committerChristian Ambach <ambi@samba.org>2013-05-06 16:33:40 +0200
commit9c6594dadbdd800470d4b217f1351fbba87989ba (patch)
tree214e5981e9ce341bad446e503e612529d149d022 /source3/libsmb/ntlmssp_wrap.c
parent7b9a567b8943e0c3d0b6fa97bea72f1b89aea4ab (diff)
downloadsamba-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/ntlmssp_wrap.c')
0 files changed, 0 insertions, 0 deletions