dsdb-ridalloc: Rework ridalloc to return error strings where RID allocation fails
commit6287ac361ec57d2b011994e4a176abbbfb4dc32a
authorAndrew Bartlett <abartlet@samba.org>
Wed, 19 Jun 2013 00:30:48 +0000 (19 10:30 +1000)
committerKarolin Seeger <kseeger@samba.org>
Mon, 5 Aug 2013 18:25:08 +0000 (5 20:25 +0200)
tree6e4a0c76fbd730ec05bdbaae97ef351634c94fbb
parente97dfe2f2869633e5c36db6dd99177a9179052a7
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>
(cherry picked from commit db9c3c62c89e1328872e3fdedde22b78770728a9)
source4/dsdb/samdb/ldb_modules/ridalloc.c