"Failed to init ldb");
torture_assert_int_equal(torture,
- ldb_register_samba_handlers(ldb), 0,
+ ldb_register_samba_handlers(ldb), LDB_SUCCESS,
"Failed to register Samba handlers");
ldb_set_utf8_fns(ldb, NULL, wrap_casefold);
"Failed to init ldb");
torture_assert_int_equal(torture,
- ldb_register_samba_handlers(ldb), 0,
+ ldb_register_samba_handlers(ldb), LDB_SUCCESS,
"Failed to register Samba handlers");
ldb_set_utf8_fns(ldb, NULL, wrap_casefold);
"Failed to init ldb");
torture_assert_int_equal(torture,
- ldb_register_samba_handlers(ldb), 0,
+ ldb_register_samba_handlers(ldb), LDB_SUCCESS,
"Failed to register Samba handlers");
ldb_set_utf8_fns(ldb, NULL, wrap_casefold);
"Failed to init ldb");
torture_assert_int_equal(torture,
- ldb_register_samba_handlers(ldb), 0,
+ ldb_register_samba_handlers(ldb), LDB_SUCCESS,
"Failed to register Samba handlers");
ldb_set_utf8_fns(ldb, NULL, wrap_casefold);
"Failed to init ldb");
torture_assert_int_equal(torture,
- ldb_register_samba_handlers(ldb), 0,
+ ldb_register_samba_handlers(ldb), LDB_SUCCESS,
"Failed to register Samba handlers");
ldb_set_utf8_fns(ldb, NULL, wrap_casefold);
"Failed to init ldb");
torture_assert_int_equal(torture,
- ldb_register_samba_handlers(ldb), 0,
+ ldb_register_samba_handlers(ldb), LDB_SUCCESS,
"Failed to register Samba handlers");
ldb_set_utf8_fns(ldb, NULL, wrap_casefold);
"Failed to init ldb");
torture_assert_int_equal(torture,
- ldb_register_samba_handlers(ldb), 0,
+ ldb_register_samba_handlers(ldb), LDB_SUCCESS,
"Failed to register Samba handlers");
ldb_set_utf8_fns(ldb, NULL, wrap_casefold);
"Failed to init ldb");
torture_assert_int_equal(torture,
- ldb_register_samba_handlers(ldb), 0,
+ ldb_register_samba_handlers(ldb), LDB_SUCCESS,
"Failed to register Samba handlers");
ldb_set_utf8_fns(ldb, NULL, wrap_casefold);