The deamidation of nicotinamide by bacteria.