Oxidizes long-chain alcohols and, in the presence of glutathione, is able to oxidize formaldehyde. Also acts as a S-nitroso-glutathione reductase by catalyzing the NADH-dependent reduction of S-nitrosoglutathione, thereby regulating protein S-nitrosylation