s4:drsuapi/getncchanges: the default for isRecycled is FALSE
[mat/samba.git] / 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