s3:winbindd/autorid multiple range support
commitb384c55bf3fa230a945f36c493427f2341051cd1
authorAbhidnya Joshi <achirmul@in.ibm.com>
Wed, 10 Apr 2013 10:56:07 +0000 (10 16:26 +0530)
committerChristian Ambach <ambi@samba.org>
Mon, 6 May 2013 14:33:39 +0000 (6 16:33 +0200)
tree99dbb8c2bdb23b07748dd224ef933d7ce4e9c527
parente0a0280c4fcf85f28b488d3868be38123910271c
s3:winbindd/autorid multiple range support

when a mapping request for a RID comes in that is larger
than the rangesize, allocate an extension range to be able
to map this one

This is especially important for large installations which
might have large RIDs being used in a trusted domain that
the administrator was not aware of when planning for autorid
usage and so those objects could not be mapped up to now.
As it is not possible to change the rangesize after the first
start of autorid, this would lead to big trouble.

Signed-off-by: Abhidnya Joshi <achirmul@in.ibm.com>
Reviewed-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/winbindd/idmap_autorid.c