repl_meta_data: Do rename before deleted object cleanup
commit01043fc5f549b61cf3e203cb660e3235d48184c0
authorAndrew Bartlett <abartlet@samba.org>
Mon, 21 Mar 2016 23:07:27 +0000 (22 12:07 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 1 Jun 2016 12:01:36 +0000 (1 14:01 +0200)
tree3176bf946e0b079fb42f50f6df797dbb73e44aca
parentcb32e25fbecb435b840deddf873aea8d89a3c506
repl_meta_data: Do rename before deleted object cleanup

Following from the lesson of subtree_rename, do the rename first,
as this is more likely to fail for some reason

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jun  1 14:01:36 CEST 2016 on sn-devel-144
source4/dsdb/samdb/ldb_modules/repl_meta_data.c