s3:idmap:autorid: calculate the range's low_id in idmap_autorid_get_domainrange()
authorMichael Adam <obnox@samba.org>
Thu, 25 Apr 2013 18:12:39 +0000 (20:12 +0200)
committerChristian Ambach <ambi@samba.org>
Mon, 6 May 2013 14:33:39 +0000 (16:33 +0200)
commit7b9a567b8943e0c3d0b6fa97bea72f1b89aea4ab
tree7fdf14ae5cb0df723a4eca854e09c0d2744859b9
parent30a27ba428f346ff2fd56f9727ce0f1fb18a5a41
s3:idmap:autorid: calculate the range's low_id in idmap_autorid_get_domainrange()

This way, the calculation needs to be don only in one central place and
the formulas get simpler.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Christian Ambach <ambi@samba.org>
source3/winbindd/idmap_autorid.c