October 23, 2007, 05:09 AM
Al_KalAccess Denied in DOS DIR command
Hi
I have 2 servers, \\BUSINESS1\WFS which is my Web Focus Server and \\BUSINESS2\DMS which is my Data Migrator Server
From a stored procedure in DMS i give the command DOS DIR \\BUSINESS1\WFS\*.* and I get an "access denied" response. The same command from the CMD prompt works fine and also from the Explorer so I dont think (?) its a security problem.
Any Suggestions ???????
Thanks
Alkis
October 23, 2007, 08:52 AM
FernandoAlkis,
It may still be a security issue. I have found that WebFOCUS can run commands under the id it was installed with. When you run it from a comand prompt you are running it with your id. Lin with the id that WebFOCUS was installed with and then try your command.
Fernando
October 24, 2007, 09:00 PM
FortuneCookiecheck under services which ID it's using.
If security is on the agent may impersonate the user, that user will then have to have access to as well.
October 25, 2007, 04:38 AM
Majid JeddiHi,
When we install the webfocus server on a windows server, we usually intall it with a user who has administrative rights on the server.
1/ I would check if the user used by the webfocus service has administrative rights.
2/ I would share that directory and give access to it to the user used to run the webfocus service.
note: is the user used to run the webfocus service the same as the one you used when the command runs succefully?
from me it remains a security issue.
Majid.
October 25, 2007, 06:06 AM
Al_KalProblem Solved...
I changed the security from IWA to explicit and provided the user name and password used to login to the server.
Thanks everybody
Alkis