repl_meta_data: Remove el_count from replmd_delete_internals()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 29 May 2018 04:52:14 +0000 (16:52 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 30 May 2018 02:23:26 +0000 (04:23 +0200)
commit9564adb66fb91ab32ee9249409498989ce725286
tree7233d3fc8c1d00aaa150a24697574f31aeb8b383
parent400abe837c43953bc6e94e98941c4d9a23d365f2
repl_meta_data: Remove el_count from replmd_delete_internals()

Instead, use the actual found attribute (less error prone).

This is an attempt to fix:

./source4/dsdb/repl/replicated_objects.c:945 Failed to prepare commit of transaction:
attribute isDeleted: invalid modify flags on CN=g1_1527558311141,CN=Users,DC=samba,DC=example,DC=com: 0x0

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c