Afghan special forces fought with insurgents barricaded in a house near the Indian consulate in Mazar-i-Sharif after an overnight attack that coincided with an assault on an Indian air base.