A new series of N-[2,4-dioxo-6-d-ribitylamino-1,2,3,4-tetrahydropyrimidin-5-yl]oxalamic acid derivatives as inhibitors of lumazine synthase and riboflavin synthase: design, synthesis, biochemical evaluation, crystallography, and mechanistic implications.