rpmd: Remove the seq_num check for skipping additional work
authorGarming Sam <garming@catalyst.net.nz>
Thu, 8 Sep 2016 02:42:01 +0000 (14:42 +1200)
committerGarming Sam <garming@samba.org>
Thu, 8 Sep 2016 08:46:08 +0000 (10:46 +0200)
We will need this in a later patch.

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

index cc749ceeadf546037b06c6970674294ed6681577..2aae797eb5c0b80e3f11363e9772dd4c97c7f39b 100644 (file)
@@ -2586,13 +2586,6 @@ static int replmd_modify_handle_linked_attribs(struct ldb_module *module,
        const struct dsdb_schema *schema;
        struct GUID old_guid;
 
-       if (seq_num == 0) {
-               /* there the replmd_update_rpmd code has already
-                * checked and saw that there are no linked
-                * attributes */
-               return LDB_SUCCESS;
-       }
-
        if (dsdb_functional_level(ldb) == DS_DOMAIN_FUNCTION_2000) {
                /*
                 * Nothing special is required for modifying or vanishing links