diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-09-15 20:24:50 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-16 07:24:01 +1000 |
commit | 05ec123b3b159dade51980f3c4bf8662502bb38e (patch) | |
tree | 9ced42fc113eb2646acb9e49598c6df12ee4a10d /source4/dsdb/repl/drepl_ridalloc.c | |
parent | 520252c8d2b7465d592a05ee68bd466e71330a1f (diff) | |
download | samba-05ec123b3b159dade51980f3c4bf8662502bb38e.tar.gz samba-05ec123b3b159dade51980f3c4bf8662502bb38e.tar.bz2 samba-05ec123b3b159dade51980f3c4bf8662502bb38e.zip |
s4-repl: add partial attribute set to getncchanges calls for RODCs
when we are a RODC we must supply a partial attribute set in the
getncchanges call
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
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; |