diff options
author | Kamen Mazdrashki <kamenim@samba.org> | 2010-08-17 04:20:46 +0300 |
---|---|---|
committer | Kamen Mazdrashki <kamenim@samba.org> | 2010-08-19 03:34:02 +0300 |
commit | c5ec1f3d9246f5737279340bf1755baf542d982b (patch) | |
tree | d76e261b37cfb77d1d77df9e6ebfcd330de134ab /source4/dsdb/schema/tests | |
parent | b5af7b9a1eb70db949c83fe6b55e402b82a2a9a4 (diff) | |
download | samba-c5ec1f3d9246f5737279340bf1755baf542d982b.tar.gz samba-c5ec1f3d9246f5737279340bf1755baf542d982b.tar.bz2 samba-c5ec1f3d9246f5737279340bf1755baf542d982b.zip |
s4-dsdb: Use dsdb_syntax_ctx in *_drsuapi_to_ldb functions
Diffstat (limited to 'source4/dsdb/schema/tests')
-rw-r--r-- | source4/dsdb/schema/tests/schema_syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/tests/schema_syntax.c b/source4/dsdb/schema/tests/schema_syntax.c index b5a6692a8d..0f939fe170 100644 --- a/source4/dsdb/schema/tests/schema_syntax.c +++ b/source4/dsdb/schema/tests/schema_syntax.c @@ -115,7 +115,7 @@ static bool torture_test_syntax(struct torture_context *torture, torture_assert_str_equal(torture, attr->syntax->name, syntax->name, "Syntax from schema not as expected"); - torture_assert_werr_ok(torture, syntax->drsuapi_to_ldb(ldb, schema, attr, &drs, tmp_ctx, &el), "Failed to convert from DRS to ldb format"); + torture_assert_werr_ok(torture, syntax->drsuapi_to_ldb(&syntax_ctx, attr, &drs, tmp_ctx, &el), "Failed to convert from DRS to ldb format"); torture_assert_data_blob_equal(torture, el.values[0], ldb_blob, "Incorrect conversion from DRS to ldb format"); |