ldb_transaction_start_ret = LDB_ERR_OPERATIONS_ERROR;
status = authsam_logon_success_accounting(
- ldb, msg, domain_dn, true, NULL);
+ ldb, msg, domain_dn, true, NULL, NULL);
assert_true(NT_STATUS_EQUAL(status, NT_STATUS_INTERNAL_ERROR));
/*
will_return(__wrap_dsdb_search_dn, LDB_ERR_NO_SUCH_OBJECT);
status = authsam_logon_success_accounting(
- ldb, msg, domain_dn, true, NULL);
+ ldb, msg, domain_dn, true, NULL, NULL);
assert_true(NT_STATUS_EQUAL(status, NT_STATUS_INTERNAL_ERROR));
assert_true(transaction_cancelled);
ldb_msg_new_fail = true;
status = authsam_logon_success_accounting(
- ldb, msg, domain_dn, true, NULL);
+ ldb, msg, domain_dn, true, NULL, NULL);
assert_true(NT_STATUS_EQUAL(status, NT_STATUS_NO_MEMORY));
assert_true(transaction_cancelled);
samdb_rodc_ret = LDB_ERR_OPERATIONS_ERROR;
status = authsam_logon_success_accounting(
- ldb, msg, domain_dn, true, NULL);
+ ldb, msg, domain_dn, true, NULL, NULL);
assert_true(NT_STATUS_EQUAL(status, NT_STATUS_INTERNAL_ERROR));
assert_false(in_transaction);
assert_false(transaction_cancelled);
will_return(__wrap_samdb_msg_add_int64, LDB_ERR_OPERATIONS_ERROR);
status = authsam_logon_success_accounting(
- ldb, msg, domain_dn, true, NULL);
+ ldb, msg, domain_dn, true, NULL, NULL);
assert_true(NT_STATUS_EQUAL(status, NT_STATUS_NO_MEMORY));
assert_true(transaction_cancelled);
will_return(__wrap_samdb_msg_add_int64, LDB_SUCCESS);
status = authsam_logon_success_accounting(
- ldb, msg, domain_dn, true, NULL);
+ ldb, msg, domain_dn, true, NULL, NULL);
assert_true(NT_STATUS_EQUAL(status, NT_STATUS_INTERNAL_ERROR));
assert_true(transaction_cancelled);
will_return(__wrap_samdb_msg_add_int64, LDB_SUCCESS);
status = authsam_logon_success_accounting(
- ldb, msg, domain_dn, true, NULL);
+ ldb, msg, domain_dn, true, NULL, NULL);
assert_true(NT_STATUS_EQUAL(status, NT_STATUS_INTERNAL_ERROR));
assert_true(transaction_cancelled);
will_return(__wrap_samdb_msg_add_int64, LDB_SUCCESS);
status = authsam_logon_success_accounting(
- ldb, msg, domain_dn, true, NULL);
+ ldb, msg, domain_dn, true, NULL, NULL);
assert_true(NT_STATUS_EQUAL(status, NT_STATUS_INTERNAL_ERROR));
assert_true(transaction_cancelled);
will_return(__wrap_samdb_msg_add_int64, LDB_SUCCESS);
status = authsam_logon_success_accounting(
- ldb, msg, domain_dn, true, NULL);
+ ldb, msg, domain_dn, true, NULL, NULL);
assert_true(NT_STATUS_EQUAL(status, NT_STATUS_INTERNAL_ERROR));
assert_true(transaction_cancelled);
will_return(__wrap_samdb_msg_add_int64, LDB_SUCCESS);
status = authsam_logon_success_accounting(
- ldb, msg, domain_dn, true, NULL);
+ ldb, msg, domain_dn, true, NULL, NULL);
assert_true(NT_STATUS_EQUAL(status, NT_STATUS_INTERNAL_ERROR));
assert_true(in_transaction);
assert_false(transaction_cancelled);
will_return(__wrap_samdb_msg_add_int64, LDB_SUCCESS);
status = authsam_logon_success_accounting(
- ldb, msg, domain_dn, true, NULL);
+ ldb, msg, domain_dn, true, NULL, NULL);
assert_true(NT_STATUS_EQUAL(status, NT_STATUS_INTERNAL_ERROR));
assert_true(in_transaction);
assert_false(transaction_cancelled);
ldb_build_mod_req_res = talloc_zero(ctx, struct ldb_request);
status = authsam_logon_success_accounting(
- ldb, msg, domain_dn, true, NULL);
+ ldb, msg, domain_dn, true, NULL, NULL);
assert_true(NT_STATUS_EQUAL(status, NT_STATUS_OK));
assert_false(in_transaction);
assert_false(transaction_cancelled);