(CNN) -- A man opened fire late Friday on a base shared by Afghan and the NATO-led International Security Assistance Force in southern Afghanistan, killing three NATO troops, an ISAF spokesman said. The man was not wearing an Afghan security uniform.