SpiritOfLennon
IS-IT--Management
Hi,
I had xp_cmdshell all nicely set up and executeable. The database was being run as th machines local admin account. I then needed to set up sql mail. So I set up my MAPI profile and changed sql server to run as the domain account that I had set up a mail account for. I've given the domain account sys admin priviledges in Sql server and locally on the server and I've granted it permission on xp_cmdshell. However when trying to execute xp_cmdshell as the original sql server user that worked I now get the following message.
Msg 50001, Level 1, State 50001
xpsql.cpp: Error 1314 from LogonUserW on line 488
Anybody got any ideas? I'm stumped.
I had xp_cmdshell all nicely set up and executeable. The database was being run as th machines local admin account. I then needed to set up sql mail. So I set up my MAPI profile and changed sql server to run as the domain account that I had set up a mail account for. I've given the domain account sys admin priviledges in Sql server and locally on the server and I've granted it permission on xp_cmdshell. However when trying to execute xp_cmdshell as the original sql server user that worked I now get the following message.
Msg 50001, Level 1, State 50001
xpsql.cpp: Error 1314 from LogonUserW on line 488
Anybody got any ideas? I'm stumped.