replmd: Split some code out into create_la_entry() helper function
authorTim Beale <timbeale@catalyst.net.nz>
Fri, 9 Nov 2018 01:29:14 +0000 (14:29 +1300)
committerTim Beale <timbeale@samba.org>
Tue, 20 Nov 2018 03:48:46 +0000 (04:48 +0100)
commit062ac12a31010436953ebe0b31351f7ec0844415
tree1fcd7ad8e1e98f6ba2159c1a681865b7f91e7f48
parentc49c0c300ce2d4b9f11039640bfd58265c7477af
replmd: Split some code out into create_la_entry() helper function

replmd_store_linked_attributes() has gotten in szie and complexity. This
refactors some code out into a separate function to make things a bit
more manageable.

This patch should not alter functionality.

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