Catalyzes the oxidation of glycerol to glycerone. Also acts, more slowly, on a number of other polyols including D-sorbitol, D-arabinitol, D-mannitol, meso-erythritol, adonitol and propylene glycol (By similarity). A + glycerol = AH2 + dihydroxyacetone