OS X Lion factory refresh problem I just bought a MacBook Pro from a buddy. He wiped the HD for me and returned it to factory settings. So now when I start it, it says I have to redownload OS X Lion. So once I start the download it asks for my Apple ID and when I type it in it says I never bought the software and stops downloading. So now I have a computer that doesn't technically work at the moment.

Any way to fix this problem would be greatly appreciated!
If your machine shipped with Lion (or later) preinstalled, you don't need to provide a user account and password as that serial number is used to validate ownership of the OS and the installer will re-download itself for free. This download happens from the Recovery HD and not from within the App Store.

If your machine shipped with an OS earlier than Lion (say it was shipped before Lion was released or just when Lion was released and the first user got a free upgrade to Lion), then your factory condition is before Lion. To get Lion, run 10.6.6 or later and log into the App Store app. You will need to purchase the Lion upgrade yourself or have an account that has that upgrade purchased already. 

In summary, the only software license that transfers with the hardware is the shipping versions of the OS and not the upgrades that you apply after the initial purchase.