dsdb-ridalloc: Rework ridalloc to return error strings where RID allocation fails
authorAndrew Bartlett <abartlet@samba.org>
Wed, 19 Jun 2013 00:30:48 +0000 (10:30 +1000)
committerStefan Metzmacher <metze@samba.org>
Wed, 24 Jul 2013 14:35:04 +0000 (16:35 +0200)
commitdb9c3c62c89e1328872e3fdedde22b78770728a9
tree753b145ebe019443ee0358fc0957ff947ed29594
parent31fb7f9c1b93b0f2114dec5096e43616ed317720
dsdb-ridalloc: Rework ridalloc to return error strings where RID allocation fails

We now also only poke the RID manager once per request.

This may help track down why RID allocation can fail, as while we
never wait for the RID set to be created/updated, it may be the only
clue the admin gets as to why the async allocations were failing.

Andrew Bartlett

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/samdb/ldb_modules/ridalloc.c