Chris Bowers has a good roundup of the vote that, embarrassingly went 76-22 for the bad guys with Hillary Clinton on the dark side. Biden and Dodd were part of the slightly odd legislative coalition against the bill. Lugar and Hagel decided to, for once, actually try to cast a useful vote and came out against it. Obama didn't vote because he was on the campaign trail and it wasn't close, but his office released a statement:
Senator Obama clearly recognizes the serious threat posed by Iran. However, he does not agree with the President that the best way to counter that threat is to keep large numbers of troops in Iraq, and he does not think that now is the time for saber-rattling towards Iran. In fact, he thinks that our large troop presence in Iraq has served to strengthen Iran -- not weaken it. He believes that diplomacy and economic pressure, such as the divestment bill that he has proposed, is the right way to pressure the Iranian regime. Accordingly, he would have opposed the Kyl-Lieberman amendment had he been able to vote today.
The good news is that the language was substantially weakened before passage.