s4:drsuapi/getncchanges: the default for isRecycled is FALSE
authorStefan Metzmacher <metze@samba.org>
Tue, 15 Nov 2011 11:42:22 +0000 (12:42 +0100)
committerMatthieu Patou <mat@samba.org>
Fri, 23 Dec 2011 08:30:09 +0000 (09:30 +0100)
metze

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Fri Dec 23 09:30:09 CET 2011 on sn-devel-104

source4/rpc_server/drsuapi/getncchanges.c

index 32e155c5fa83e6673b02ad38758f211e2f98a422..07e64d321de4a1539eb6b6cdb2ca79585d9488b6 100644 (file)
@@ -383,7 +383,7 @@ static WERROR get_nc_changes_add_la(TALLOC_CTX *mem_ctx,
                          * be deleted too due to deletion of object where link points and Windows do so.
                          */
                        if (dsdb_functional_level(sam_ctx) >= DS_DOMAIN_FUNCTION_2008_R2) {
-                               v = ldb_msg_find_attr_as_string(msg, "isRecycled", "TRUE");
+                               v = ldb_msg_find_attr_as_string(msg, "isRecycled", "FALSE");
                                /*
                                 * On Windows 2008R2 isRecycled is always present even if FL or DL are < FL 2K8R2
                                 * if it join an existing domain with deleted objets, it firsts impose to have a