The freshwater cyanobacterium Anabaena doliolum transformed with ApGSMT-DMT exhibited enhanced salt tolerance and protection to nitrogenase activity, but became halophilic.