diff options
Diffstat (limited to 'source4/torture/drs/unit/prefixmap_tests.c')
-rw-r--r-- | source4/torture/drs/unit/prefixmap_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/drs/unit/prefixmap_tests.c b/source4/torture/drs/unit/prefixmap_tests.c index decd68057c..4282e26a6c 100644 --- a/source4/torture/drs/unit/prefixmap_tests.c +++ b/source4/torture/drs/unit/prefixmap_tests.c @@ -695,7 +695,7 @@ static bool torture_drs_unit_ldb_setup(struct torture_context *tctx, struct drsu /* add prefixMap attribute so tested layer could work properly */ { struct ldb_message *msg = ldb_msg_new(mem_ctx); - msg->dn = samdb_schema_dn(priv->ldb_ctx); + msg->dn = ldb_get_schema_basedn(priv->ldb_ctx); ldb_err = ldb_msg_add_string(msg, "prefixMap", "prefixMap"); torture_assert_int_equal_goto(tctx, ldb_err, LDB_SUCCESS, bret, DONE, "ldb_msg_add_empty() failed"); |