The source added that seven more officers had been captured by the Taliban.
“The security forces fought until morning, but when they [were short of] ammunition and no one supplied, the post collapsed after six hours of fighting, five soldiers of the local army and local police were killed and seven others were captured by the Taliban,” an eyewitness said.
The clashes took place on Friday night when the militants attacked a district post, the source added.
According to the source, the post was controlled by the local army and the police.
The Taliban have not commented on the incident so far.