s4:repl_meta_data: fix array assignment in replmd_process_linked_attribute()
authorStefan Metzmacher <metze@samba.org>
Thu, 3 Apr 2014 14:03:19 +0000 (16:03 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 May 2014 23:19:19 +0000 (01:19 +0200)
Change-Id: I10357236108f68ab749ba0e1f07558302c573887
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c

index 4e5d8f0597cf61fc3ba0c27c51f3cfbc415249bc..b01c956d1c3249e1ac9fe19f4c2f212cde101916 100644 (file)
@@ -5397,8 +5397,8 @@ linked_attributes[0]:
 
        attrs[0] = attr->lDAPDisplayName;
        attrs[1] = "isDeleted";
-       attrs[1] = "isRecycled";
-       attrs[2] = NULL;
+       attrs[2] = "isRecycled";
+       attrs[3] = NULL;
 
        /* get the existing message from the db for the object with
           this GUID, returning attribute being modified. We will then