From: Gary Lockyer Date: Mon, 19 Mar 2018 22:20:35 +0000 (+1300) Subject: ldb tests: ldb_mod_op_test use correct ldb to create dn X-Git-Tag: ldb-1.4.0~704 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d206fcf5c7b7f598993e385896c9d9e8db64c31a;p=thirdparty%2Fsamba.git ldb tests: ldb_mod_op_test use correct ldb to create dn Signed-off-by: Gary Lockyer Reviewed-by: Andrew Bartlett --- diff --git a/lib/ldb/tests/ldb_mod_op_test.c b/lib/ldb/tests/ldb_mod_op_test.c index 9099a324bec..c9ac832d7b1 100644 --- a/lib/ldb/tests/ldb_mod_op_test.c +++ b/lib/ldb/tests/ldb_mod_op_test.c @@ -3088,7 +3088,7 @@ static void test_read_only(void **state) msg = ldb_msg_new(tmp_ctx); assert_non_null(msg); - msg->dn = ldb_dn_new_fmt(msg, ro_ldb, "dc=test"); + msg->dn = ldb_dn_new_fmt(msg, rw_ldb, "dc=test"); assert_non_null(msg->dn); ret = ldb_msg_add_string(msg, "cn", "test_cn_val");