s4:dsdb - substitute the "show_deleted" with the "show_recycled" control
[ira/wip.git] / source4 / rpc_server / drsuapi / drsutil.c
index c65d43496575a1c2307e27347574adcf130340a2..ca2d3863c5c66a12a49622b61097facaf6ec0088 100644 (file)
@@ -65,7 +65,7 @@ int drsuapi_search_with_extended_dn(struct ldb_context *ldb,
                return ret;
        }
 
-       ret = ldb_request_add_control(req, LDB_CONTROL_SHOW_DELETED_OID, true, NULL);
+       ret = ldb_request_add_control(req, LDB_CONTROL_SHOW_RECYCLED_OID, true, NULL);
        if (ret != LDB_SUCCESS) {
                return ret;
        }