summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/tests
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/dsdb/schema/tests
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/dsdb/schema/tests')
-rw-r--r--source4/dsdb/schema/tests/schema_syntax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/schema/tests/schema_syntax.c b/source4/dsdb/schema/tests/schema_syntax.c
index 9127d08120..419dc3dc4c 100644
--- a/source4/dsdb/schema/tests/schema_syntax.c
+++ b/source4/dsdb/schema/tests/schema_syntax.c
@@ -74,9 +74,9 @@ static bool torture_syntax_add_OR_Name(struct torture_context *tctx,
ldif = ldb_ldif_read_string(ldb, &ldif_str);
torture_assert(tctx, ldif, "Failed to parse LDIF for authOrig");
- werr = dsdb_attribute_from_ldb(ldb, schema, ldif->msg);
+ werr = dsdb_set_attribute_from_ldb(ldb, schema, ldif->msg);
ldb_ldif_read_free(ldb, ldif);
- torture_assert_werr_ok(tctx, werr, "dsdb_attribute_from_ldb() failed!");
+ torture_assert_werr_ok(tctx, werr, "dsdb_set_attribute_from_ldb() failed!");
ldb_res = dsdb_set_schema(ldb, schema);
torture_assert_int_equal(tctx, ldb_res, LDB_SUCCESS, "dsdb_set_schema() failed");