A report from the state auditor's office says the North Carolina Education Lottery violated state law by failing to collect damages from its primary vendor.