|
When to recreate the CTX_SMA_User account |
|
|
|
Written by Hans Straat,
Saturday, 11 October 2008
|
|
Last week I got a phone call that at a customer site a citrix server went beserk. It was not letting people logon anymore. You would get to Negotiating Capabilities and that was it. Well normally this would be solved fast by trashing the terminal server license cal (TSCal) on the client side and let the user logon again.
This time however even this well known solution wouldn't help. After troubleshooting license servers digging into evenviewers we decided to do a chfarm and place it to a local dummy farm on a msaccess database. Then after a reboot use chfarm again and place it into the production farm again. Then the real trouble began. The ima service wouldn't logon anymore. Eventviewer showed that we could not logon to the sql database (access denied) reviewing the user used to logon was valid we used dsmain config to recreate the mf20.dsn file. Even this didn't help. But with a ima service not started you aren't able to do a clean uninstall of citrix... Using chfarm to local dummy farm agian yippie... we are able to do a uninstall. Removing the faulty server hard from the citrix management console (CMC) and a reinstall of citrix. Strangly enough the connection to the database using the same user didn't work this time. Now as a last resourt we went for the administrator account and we were in business (yes we placed a note to dig into this and reconfigure user account etc to connect to the database cause administrator you simply don't want). Now glorious victory the testuser was able to logon to the published desktop and we thought heck we solved this issue. Then call's pored in... I don't see any printers and can't print. Looking into the eventviewer no event's were logged. I've decided to ring up some guys on msn to support me. the more souls the wider spread solutions you get. We deleted ica/tcp and recreated it no good. Logging on with a testuser with RDP and walla client printers were created so it got pinpointed to permissions on the ica/tcp connector. We noticed that sma user wasn't listed. Putting the user with full control didn't solve it. Now I've got a link sended over msn to recreate the ctx_sma_user account. As a last resourt before formatting the failing machine. And heck guess what after recreating the ctx_sma_user client printers were popping up. the smarecreation tool is now at V2 and can be downloaded here http://support.citrix.com/article/CTX111464 For all those who have printing problems after uninstalling / reinstalling citrix. The local user accounts are not deleted and recreated. I didn't spend much attention to this fact but know it's something I will always do after uninstalling a citrix server as a last resourt. That is delete also the local accounts that are created by citrix. |