Hi All
Had a very strange problem today, I was delivering a vCD POC. I left the database creation to the user and we just connected to it. I provided them the scripts that located in the Installation Guide. We were provided a SQL user account as normal and ran the ./configure script and connected to the database with no problems.
Once we had completed the configuration we connected the web address for the cell and went over the initial configuration. We set the password for the administrator and completed the wizard.
After this we then tried to login to the cell
User: administrator
Password: ******** (same as was set in the wizard)
Result = Access denied?
Very strange, as i was 100% certain the password was correct. So I asked the SQL admin to run the following to rest the cell to a un-configured state. update config set value='false' where name = 'vcloud.system.initialized'; Once this was done we went over the initialization of the cell again and went set the same password, just incase I and typed the password incorrectly. Still had the same Access Denied message.
So I ran the above SQL query again to reset the cell. I then asked to have a look at the SQL management studio. The DBA let me have a look and I could see he had made the account being used by vCD a sysadmin! this was not in the scripts in the install guide so it must have been done after. Now I have seen strange things when sysadmin accounts have been used in previous VMware products for DB access. Traditionally VMware products have suggested giving the accounts sysadmin access at install and then lock down after, but most the newer releases give more info on user rights needed so we no longer need to give sysadmin rights at all.
I removed the sysadmin privilege and reconfigured the cell with the same password as the last two times. Amazingly at the login screen I was then able to login.
Now I have no idea why this resolved the login problems and I have asked if I can log a bug internally to see if this is as designed or if it is a small bug. I was using 5.1.2 vCD binaries on SQL 2008 Express, again I dont know if this had an affect on what was happening. I just wanted to post this incase anyone has a similar problem, hopefully this will help.
No comments:
Post a Comment