Impersonate user for SQL Server job

MS SQL Server is running on a machine that is not in the domain it has to communicate with.

I created a package in VBScript, and scheduled it. The package should go to a share on a machine in the domain, and pickup a file there. That gives a permissions problem, because "system" of the machine with the SQL Server has no permissions on the share (even not when "everyone" has modify permissions: because the machine is not in the domain, it isn't part of "everyone").

Is it possible (and if yes how) to pass login information to the job on SQL Server?

LVL 28
sybeAsked:
Who is Participating?
 
GhostModConnect With a Mentor Commented:
Closed, 500 points refunded.

GhostMod
Community Support Moderator
0
 
udayshankarCommented:
create a new account ( sql authentication) in sql server and make that the owner of the job. and then create a same account in windows (file share) with the same username and password and give it access to that folder.
0
 
sybeAuthor Commented:
Sorry, I have already solved my problem. My solution was to use the WHS Network object, and map a network drive before starting the process, and remove the network drive afterwards.

Thanks for your effort.
0
 
Anthony PerkinsCommented:
Just a friendly reminder:  The following question appears to have fallen through the cracks, please attend to it:
http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_21784231.html
0
 
sybeAuthor Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.