major upgrade to the ldb attribute handling
[kai/samba.git] / source4 / torture / ldap / schema.c
index 6184ad266d61596ad70ff2217f20f5908081c59b..7ea7b39d5cdeafd0edafbdf7a409c75d057cbf5d 100644 (file)
@@ -223,7 +223,7 @@ static int test_add_attribute(void *ptr, struct ldb_context *ldb, struct ldb_mes
                goto failed;
        }
 
-       status = dsdb_attribute_from_ldb(schema, msg, attr, attr);
+       status = dsdb_attribute_from_ldb(ldb, schema, msg, attr, attr);
        if (!W_ERROR_IS_OK(status)) {
                goto failed;
        }