Barenboim was then appointed music director of the Chicago Symphony Orchestra , a post he held until 17 June 2006 .
Barenboim was conductor of the Chicago Symphony Orchestra from 1991 to 2006 .