diff -ur samba-4.1.0.orig/source4/dsdb/samdb/ldb_modules/repl_meta_data.c samba-4.1.0/source4/dsdb/samdb/ldb_modules/repl_meta_data.c --- samba-4.1.0.orig/source4/dsdb/samdb/ldb_modules/repl_meta_data.c 2014-07-31 14:37:18.411636570 +0200 +++ samba-4.1.0/source4/dsdb/samdb/ldb_modules/repl_meta_data.c 2014-08-01 12:53:27.146130056 +0200 @@ -5313,8 +5313,8 @@ 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