summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-04-15 14:50:20 -0700
committerMichael Adam <obnox@samba.org>2012-04-18 00:06:59 +0200
commit167c6eb61ee6211a63ffd98f9b86fa300472ea96 (patch)
treec87d5b01a447480fe9dee88c6a4ee3a3d06d5e5a /source4/torture
parent6ccaf279da949e945a09e90d3be8ec5b74128369 (diff)
downloadsamba-167c6eb61ee6211a63ffd98f9b86fa300472ea96.tar.gz
samba-167c6eb61ee6211a63ffd98f9b86fa300472ea96.tar.bz2
samba-167c6eb61ee6211a63ffd98f9b86fa300472ea96.zip
s4-schema: rename dsdb_attribute_from_ldb to dsdb_set_attribute_from_ldb and dsdb_class_from_ldb to dsdb_set_class_from_ldb
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/ldap/schema.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/ldap/schema.c b/source4/torture/ldap/schema.c
index af33de9d0a..66284f1ef0 100644
--- a/source4/torture/ldap/schema.c
+++ b/source4/torture/ldap/schema.c
@@ -213,7 +213,7 @@ static int test_add_attribute(void *ptr, struct ldb_context *ldb, struct ldb_mes
struct dsdb_schema *schema = talloc_get_type(ptr, struct dsdb_schema);
WERROR status;
- status = dsdb_attribute_from_ldb(ldb, schema, msg);
+ status = dsdb_set_attribute_from_ldb(ldb, schema, msg);
if (!W_ERROR_IS_OK(status)) {
goto failed;
}
@@ -228,7 +228,7 @@ static int test_add_class(void *ptr, struct ldb_context *ldb, struct ldb_message
struct dsdb_schema *schema = talloc_get_type(ptr, struct dsdb_schema);
WERROR status;
- status = dsdb_class_from_ldb(schema, msg);
+ status = dsdb_set_class_from_ldb(schema, msg);
if (!W_ERROR_IS_OK(status)) {
goto failed;
}