Re: Permission issue with EXECUTE AS
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Thu, 14 Feb 2008 14:28:05 -0800
INTP56 (INTP56@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
It appears I have finally determined the difference.
After talking with the network guy, he noted that I was NOT a member of
the group that has the sysadmin rights for that box, but my personal
domain account had been explicitly given sysadmin rights to the box.
Which he was irked at, because that is not supposed to happen, I should
have been added to the admin group. However, the machine account was in
that group.
But, that IS A DIFFERENCE, even though we have the same "rights" either
way. So I found out what other accounts were given rights via the group,
and tracked those guys down and ran my script under their accounts, and
BAM, got the error. There was one other account that had been given
explicit access (also shouldn't be) and my script ran without errors on
that account. If it wasn't for the fact this box is a test server, and
not under the network team's direct control, this situation would have
never been allowed to exist.
There is still something fishy here. I can't see any reason why it
should not work on the other accounts. I think something is wacko here,
but not having access to the box to see the misery, I cannot really tell
what is going on.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- Follow-Ups:
- Re: Permission issue with EXECUTE AS
- From: INTP56
- Re: Permission issue with EXECUTE AS
- References:
- Permission issue with EXECUTE AS
- From: INTP56
- Re: Permission issue with EXECUTE AS
- From: Erland Sommarskog
- Re: Permission issue with EXECUTE AS
- From: INTP56
- Permission issue with EXECUTE AS
- Prev by Date: Re: Permission issue with EXECUTE AS
- Next by Date: permissions not working
- Previous by thread: Re: Permission issue with EXECUTE AS
- Next by thread: Re: Permission issue with EXECUTE AS
- Index(es):
Relevant Pages
|
|