No Americans or NATO troops were killed, but a number of soldiers were hurt.
Meantime in Kabul, U.S. officials said Sunday that they have stopped training Afghan local police for at least a month, to tighten up security procedures.
They are trying to prevent more attacks by Afghan soldiers on international allies. During that time, officials will re-examine any potential ties trainees might have to insurgents.
There have been 34 attacks by Afghan police or soldiers on their international allies so far this year - at least 12 in August alone. The members of the Afghan security forces have killed 45 international troops, putting intense strain on the relationship.
The U.S. and its allies have been training the Afghan army and police so they can gradually take over security for the country by the end of 2014. They hope to have about 350,000 Afghans trained and ready by the end of the year, and have been gradually putting them in the lead for security in parts of Afghanistan since last year.
The Associated Press contributed to this report.