It’s probably true, but it is still hearsay.
Obama
http://www.ontheissues.org/2008/Barack_Obama_Gun_Control.htm
FactCheck: Yes, Obama endorsed Illinois handgun ban
“Obama was being misleading when he denied that his handwriting had been on a document endorsing a state ban on the sale and possession of handguns in Illinois. Obama responded, No, my writing wasnt on that particular questionnaire. As I said, I have never favored an all-out ban on handguns.
Actually, Obamas writing was on the 1996 document, which was filed when Obama was running for the Illinois state Senate. A Chicago nonprofit, Independent Voters of Illinois, had this question, and Obama took hard line:
35. Do you support state legislation to:
a. ban the manufacture, sale and possession of handguns? Yes.
b. ban assault weapons? Yes.
c. mandatory waiting periods and background checks? Yes.
Obamas campaign said, Sen. Obama didnt fill out these state Senate questionnairesa staffer didand there are several answers that didnt reflect his views then or now. He may have jotted some notes on the front page of the questionnaire, but some answers didnt reflect his views.
Source: FactCheck.org analysis of 2008 Philadelphia primary debate Apr 16, 2008
This is a well known exception: admission against interest by a party opponent.
It's clearly against Obama's interest to admit that he doesn't believe people should own guns. And if ever there was an opponent - of freedom, of citizens, of the United States - then he is it.