dbTalk Databases Forums  

Changing DTS Job owners

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Changing DTS Job owners in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jaylou
 
Posts: n/a

Default Changing DTS Job owners - 10-14-2005 , 09:11 AM






Hi all,
We reoved a user from our database, but there were a few DTS jobs that had
that user as the owner. Is there a way to change the ownership of the DTS
pacakes?

TIA,
Joe


Reply With Quote
  #2  
Old   
Thomas Bradshaw via SQLMonster.com
 
Posts: n/a

Default Re: Changing DTS Job owners - 10-14-2005 , 01:16 PM






Joe,

In networking, this is bad news because when you delete a User Account, you
delete the SID (Security Identifier) that goes along with it. The SID is
what gets passed around when determining permissions on various resources
like files & folders, etc.

Likewise, each DTS package has an owner_sid that is stored in sysdtspackages
table in msdb DB.

I haven't tried it, but perhaps you can UPDATE owner & owner_sid columns of
that particular package (in sysdtspackages) to someone else, like yourself.
Maybe that will unlock it enough to SAVE AS something else.

Let us know how you make out.

Thomas Bradshaw
MyWebGrocer.com
Data Integration Services


--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...r-dts/200510/1

Reply With Quote
  #3  
Old   
Thomas Bradshaw via SQLMonster.com
 
Posts: n/a

Default Re: Changing DTS Job owners - 10-14-2005 , 01:28 PM



You may want to have a look here too:
http://www.sqldts.com/default.aspx?212

- Tom


--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...r-dts/200510/1

Reply With Quote
  #4  
Old   
jaylou
 
Posts: n/a

Default Re: Changing DTS Job owners - 10-14-2005 , 03:30 PM



Thanks,
This seemed to work. I misspoke before I didn't remove the user from the
DB, he were an SA, I removed him from the server role, and removed him from
all the DBs he had access to. I never remove users from the server, because
there are history tables that may need to reference ex-employees.

Thanks again,
joe


"Thomas Bradshaw via SQLMonster.com" wrote:

Quote:
Joe,

In networking, this is bad news because when you delete a User Account, you
delete the SID (Security Identifier) that goes along with it. The SID is
what gets passed around when determining permissions on various resources
like files & folders, etc.

Likewise, each DTS package has an owner_sid that is stored in sysdtspackages
table in msdb DB.

I haven't tried it, but perhaps you can UPDATE owner & owner_sid columns of
that particular package (in sysdtspackages) to someone else, like yourself.
Maybe that will unlock it enough to SAVE AS something else.

Let us know how you make out.

Thomas Bradshaw
MyWebGrocer.com
Data Integration Services


--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...r-dts/200510/1


Reply With Quote
  #5  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Changing DTS Job owners - 10-15-2005 , 05:01 AM



Hello jaylou,

The owner of a package makes very little difference to anything but obviously
the owner of the job is something different.

You can take a look here though

Package Ownership Issues
(http://www.sqldts.com/default.aspx?212)

Allan

Quote:
Thanks,
This seemed to work. I misspoke before I didn't remove the user from
the
DB, he were an SA, I removed him from the server role, and removed him
from
all the DBs he had access to. I never remove users from the server,
because
there are history tables that may need to reference ex-employees.
Thanks again,
joe
"Thomas Bradshaw via SQLMonster.com" wrote:

Joe,

In networking, this is bad news because when you delete a User
Account, you delete the SID (Security Identifier) that goes along
with it. The SID is what gets passed around when determining
permissions on various resources like files & folders, etc.

Likewise, each DTS package has an owner_sid that is stored in
sysdtspackages table in msdb DB.

I haven't tried it, but perhaps you can UPDATE owner & owner_sid
columns of that particular package (in sysdtspackages) to someone
else, like yourself. Maybe that will unlock it enough to SAVE AS
something else.

Let us know how you make out.

Thomas Bradshaw
MyWebGrocer.com
Data Integration Services
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...r-dts/200510/1



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.