Hello helpful people,
I have a SQL 2005 server with a local system Service account, I'm not allowed to change this to a domain account. I need to access a remote server to read flat files, this requires a domain account for access. I'm running the stored procedure (sp)
1) if I execute as the 'sqluser' account I cannot access the file (obviously!) 2) if I execute as the 'domain\user' account I cannot access the file 3) if I change the SQL Service account to the 'domain\user' account I can access the file 4) if I attempt to create a Credential for the SQL Service account I cannot access the file i.e.
CREATE CREDENTIAL SQLCred WITH IDENTITY = 'domain\user', SECRET = 'DomainPassword' go ALTER LOGIN [sqllogin] WITH CREDENTIAL = SQLCred GO
Q: I need to mimic the Service account having domain access, what am I missing??
thanks for reading