As many as 10 Taliban fighters, dressed in Afghan army uniforms and driving military vehicles, talked their way onto the base and opened fire on soldiers eating dinner and leaving a mosque after Friday prayers, according to officials.