Taliban fighters mounted their second attack in two days on a provincial capital in northern Afghanistan on Sunday, as American and Taliban negotiators finalized the details of a preliminary peace agreement.