return NT_STATUS_OK;
}
-int ldb_transaction_active(struct ldb_context *ldb);
/* Reset the badPwdCount to zero and update the lastLogon time. */
NTSTATUS authsam_logon_success_accounting(struct ldb_context *sam_ctx,
ldb_dn_get_linearized(msg->dn));
return NT_STATUS_INTERNAL_ERROR;
}
- ret = ldb_transaction_active(sam_ctx);
- if (ret != 0) {
- DBG_ERR("Transaction still active(%d) %s\n",
- ret, ldb_dn_get_linearized(msg->dn));
- SMB_ASSERT(ldb_transaction_active(sam_ctx) == 0);
- }
-
return status;
error: