What version of MediaWiki are you using?
Are MediaWiki and vBulletin both saved in the database "dbname". If not, you need to copy your MediaWiki tables to the vBulletin database. If neither MediaWiki nor vBulletin uses table prefixes, you will have to rename the MediaWiki tables to have a prefix during the copy (because both have a "user" table).