s4:dsdb Change dsdb_get_schema() callers to use new talloc argument
[kamenim/samba.git] / source4 / dsdb / samdb / ldb_modules / anr.c
index dbd0838c608d76c5e07ed7fb902c2d4fd440b370..8411d98bdbf84ca6c3a5a347585fcd04d868b251 100644 (file)
@@ -139,7 +139,7 @@ static int anr_replace_value(struct anr_context *ac,
 
        ldb = ldb_module_get_ctx(module);
 
-       schema = dsdb_get_schema(ldb);
+       schema = dsdb_get_schema(ldb, ac);
        if (!schema) {
                ldb_asprintf_errstring(ldb, "no schema with which to construct anr filter");
                return LDB_ERR_OPERATIONS_ERROR;