diff options
Diffstat (limited to 'source4/dsdb/repl/drepl_ridalloc.c')
-rw-r--r-- | source4/dsdb/repl/drepl_ridalloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_ridalloc.c b/source4/dsdb/repl/drepl_ridalloc.c index 4e1a4fa2c2..48c208c3cf 100644 --- a/source4/dsdb/repl/drepl_ridalloc.c +++ b/source4/dsdb/repl/drepl_ridalloc.c @@ -169,6 +169,11 @@ WERROR dreplsrv_ridalloc_check_rid_pool(struct dreplsrv_service *service) int ret; uint64_t alloc_pool; + if (service->am_rodc) { + talloc_free(tmp_ctx); + return WERR_OK; + } + if (service->rid_alloc_in_progress) { talloc_free(tmp_ctx); return WERR_OK; |