s4:drepl_ridalloc: only ask the rid master for a new rid pool if we need to.
authorStefan Metzmacher <metze@samba.org>
Thu, 8 Jul 2010 13:38:16 +0000 (15:38 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 9 Jul 2010 07:27:15 +0000 (09:27 +0200)
commit658a0f9ef84aa16c270d715283f38b9bb9e683c1
treee85b932f5e5df88354ecd47c09dc859e499c6b3a
parentafba6204a31908396f4bebb7b5885e48670bda73
s4:drepl_ridalloc: only ask the rid master for a new rid pool if we need to.

if we are at least half-exhausted then ask for a new pool.

This fixes a bug where we're sending unintialized alloc_pool
variable as exop->fsmo_info to the rid master and get back
DRSUAPI_EXOP_ERR_PARAM_ERROR.

metze
source4/dsdb/repl/drepl_ridalloc.c