dbTalk Databases Forums  

Ability to change DTS owner and machine names?

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


Discuss Ability to change DTS owner and machine names? in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jeff Shipman [MSFT]
 
Posts: n/a

Default Ability to change DTS owner and machine names? - 08-17-2006 , 02:19 PM






Our product uses a DTS job to copy between two databases. Whenever we modify
this DTS package, we notice that the Owner and Machine fields are
automatically filled in (when you view the Package->Properties values). The
problem here is that usually one of our devs modifies the job on his box and
submits it. This results in our machine names and domain username leaking
out as part of the package. We could use one of our build machines with a
builder account, but this still mentions internal product name data in the
machine name. Is there a recommended way for people that ship DTS packages
to deal with this?



Thanks.
--
Jeff Shipman [MSFT]
Security, Access and Solutions Division


*This posting is provided "AS IS" with no warranties, and confers no rights.
*Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
*Use of any included code samples is subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm



Reply With Quote
  #2  
Old   
Charles Kangai
 
Posts: n/a

Default RE: Ability to change DTS owner and machine names? - 08-18-2006 , 03:16 AM






Hi Jeff,

I don't think there is a way to stop them being pre-populated. However, you
can change the owner in the sysdtspackages table by entering the name and
SID of the person you want to own the package. Use something like:

update msdb.dbo.sysdtspackages set owner = 'EUROPE\charles', owner_sid =
suser_sid(N'Europe\charles') where [name] = 'MyPackage'

The suser_sid function returns the SID of the login.

I don't know how to change the machine name. If you right-click the designer
screen and choose Disconnected Edit, you will find it's grayed out. I think
it's part of the packagedata column.

Charles Kangai, MCT, MCDBA




"Jeff Shipman [MSFT]" wrote:

Quote:
Our product uses a DTS job to copy between two databases. Whenever we modify
this DTS package, we notice that the Owner and Machine fields are
automatically filled in (when you view the Package->Properties values). The
problem here is that usually one of our devs modifies the job on his box and
submits it. This results in our machine names and domain username leaking
out as part of the package. We could use one of our build machines with a
builder account, but this still mentions internal product name data in the
machine name. Is there a recommended way for people that ship DTS packages
to deal with this?



Thanks.
--
Jeff Shipman [MSFT]
Security, Access and Solutions Division


*This posting is provided "AS IS" with no warranties, and confers no rights.
*Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
*Use of any included code samples is subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm




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.