Compounds of the formula (I) wherein n is 0, 1 or 2, R 1 is aryl, heteroaryl or heterocyclyl, and R 2 and R 3 are hydrogen or a substituent as described in the specification, are useful for the prevention and treatment of bacterial infections, in particular of urinary infections caused by E. coli.