Lieutenant General Stanley McChrystal told a congressional hearing he did not endorse the mistreatment of detainees when he led special operations forces in Iraq from 2003 to 2006 , but acknowledged he had misgivings about harsh interrogation techniques that were approved by then-secretary of defense Donald Rumsfeld .