Hi DS Gurus,
trying to use dsjob command to execute jobs from UNIX prompt.
dsjob -user <uid> -password <pwd> -server <server Name>:<port no> -domain NONE -run <Project> <JobName>.
When the above syntax is used, the job is gettting executed.
But when any one of the below commands used, error occurred as Status code = -1010 DSJE_DOMAINLOGTOFAILED
dsjob -user <uid> -password <pwd> -server <server Name>:<port no> -domain <server fully qualified name:port> -run <Project> <JobName>.
dsjob -user <uid> -password <pwd> -server <server Name>:<port no> -domain <server :port> -run <Project> <JobName>.
dsjob -user <uid> -password <pwd> -server <server Name>:<port no> -domain <server fully qualified name> -run <Project> <JobName>.
dsjob -user <uid> -password <pwd> -server <server Name>:<port no> -domain <server> -run <Project> <JobName>.
Can you enlighten me why DOMAIN = NONE is working fine but the rest of the commands failed?
Thanks in advance for your help.
Regards
Elavenil
dsjob command failed
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
Are you able to login from GUI on that server using the same credentials?
DSJE_DOMAINLOGTOFAILED comes when the command fails to authenticate against the domain. -domain NONE logs to the engine instead of domain hence engine credential will work in that command, however if domain is specified, you should pass the domain credential instead or engine credentials.
DSJE_DOMAINLOGTOFAILED comes when the command fails to authenticate against the domain. -domain NONE logs to the engine instead of domain hence engine credential will work in that command, however if domain is specified, you should pass the domain credential instead or engine credentials.
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.
Genius may have its limitations, but stupidity is not thus handicapped.
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
That statement is not entirely true. Lets say for GUI you have a user called Elavenil and in credential mapping it is mapped to a user dsuser (engine credential). So with -domain NONE you need to supply dsuser credentials and when you specify the domain the you should use Elavenil credentials.elavenil wrote:Forgot to provide you an additional info on this. All three tiers are running on the same server and do not think an issue in connecting to services tier using the same credentials.
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.
Genius may have its limitations, but stupidity is not thus handicapped.
Thanks for your response on this.
Sorry, it is not clear to me the point that you are trying to highlight here.
user and password in dsjob syntax, is it Engine credentials or Service credentials? As far as i know there is only user id and password can be passed to dsjob command. How would 2 different user & password be passed to DSJOB command if user credentials are different in Services and Engine tier.
Appreciate your help.
Regards
Elavenil
Sorry, it is not clear to me the point that you are trying to highlight here.
user and password in dsjob syntax, is it Engine credentials or Service credentials? As far as i know there is only user id and password can be passed to dsjob command. How would 2 different user & password be passed to DSJOB command if user credentials are different in Services and Engine tier.
Appreciate your help.
Regards
Elavenil
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
When you specify the domain, It authenticates on that domain in service tier and if NONE is specified then it authenticates on engine. Thats why you need to specify different credentials for it.
Please read chapter one of Programmer's guide in the documentation for detailed explanation.
Please read chapter one of Programmer's guide in the documentation for detailed explanation.
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.
Genius may have its limitations, but stupidity is not thus handicapped.
-
- Participant
- Posts: 34
- Joined: Tue Feb 26, 2013 9:36 am
- Location: Chicago
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: