|
Posted by byrocat on 07/27/06 15:45
I using MS SQLServer as a secure method of setting up system tasks and
processes for automated running. The intent is that all logins (ids
and passwords) are in a secure database table and are not sitting
around in batch files on the server.
Some of the tasks make use of network authentication, and this is where
the problem arises.
If I execute the command line from within SQLServer (via xp_cmdshell),
I get an error that says that the userid is missing. If I execute that
same command vid the CMD window, it works.
It appears that the shell that xp_cmdshell kicks off does not inherit
the domain authentication.
Aside from questions on why I am doing things this way as opposed to
using the windows scheduler or other tools, what do I need to do to
make sure that my domain credentials are passed?
Navigation:
[Reply to this message]
|