A nice link showing the parallels between Vietnam and Afghanistan. And how the situation can be reversed if the Administration has takes a more thoughtful approach the the problem . Few relevant portions in quotes.
The tragedy of Afghanistan is that there is a political solution, but we keep ignoring it…
The loss in Afghanistan is a foregone conclusion as per this article if the current policies continue. But for the Gurus the war may have already been lost.The same fatal axes of failure loom before the United States now in Afghanistan, and time is running out. The United States has perhaps the duration of this presidential administration remaining before NATO peels away, the Afghan and American populations grow tired of the U.S. engagement (a process which has already begun), and the Taliban consolidates its jihad into a critical mass as it did in 1996. It is not possible to create a legitimate national government in that time. A ceremonial monarchy would have provided the necessary traditional legitimacy for an elected government in Kabul, but since the Afghan monarchy was eliminated by the U.S. and the U.N. against the express wishes of more than three-quarters of the delegates at the Emergency Loya Jirga in 2002 (the single most foolish act of the war and the Afghan equivalent of the Diem coup in 1963), the United States must now embrace the only remaining secular alternative to the religious legitimacy of the Taliban—the traditional legitimacy of local tribal leadership.