RE: Setuser failed?
- From: yes<nospam@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 22 Aug 2008 09:30:04 GMT
You not answered the question. You said nothing...
i have 2 sql2005 with sp2
on the first i can use setuser 'sa' on the second can't, with the same error.
why need it?
because i use With execute as owner in procedures and i have another problme with xp_cmdshell
if i run xp_cmdshell its works, but in the SP not, i would like to try in he name of SA, i type
setuser 'sa'
exec master..xp_cmdshell 'dir c:\'
setuser
but setuser failed...
From http://www.developmentnow.com/g/116_2007_1_0_0_927529/Setuser-failed.htm
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
.
- Follow-Ups:
- RE: Setuser failed?
- From: Erland Sommarskog
- RE: Setuser failed?
- Prev by Date: Re: SQL Server 2005 Windows Authentication - logon failure
- Next by Date: Re: sp_revoke login is not working as expected.
- Previous by thread: Re: sp_revoke login is not working as expected.
- Next by thread: RE: Setuser failed?
- Index(es):
Relevant Pages
|