The former Lincoln City boss joined Leeds from Burnley in 2004 and has helped boss Kevin Blackwell revive fortunes.
Blackwell told the official Leeds website: "Sam has been with us for two seasons and has been instrumental in helping build the club back up from the ruins. He has done a fantastic job and he leaves with our thanks."