Page 1 of 1

Dsjob with Password Encryption

Posted: Wed Feb 06, 2013 10:24 am
by synsog
Hi All,

When I run a job using dsjob and passing the user and password with other relevant infomation it runs successfully.
dsjob -domain <Domain> -server <Server> -user uid -password pass -run -param Parameter_Set_Test=STAGE dstage1 JobName

Then I try to run the same job but pass an Encrypted password value, it fails. This was derived by using the encrypt.bat on the Engine, as below

install_root\InformationServer\ASBNode\bin\> encrypt.bat <passwordValue>
This returns> {iisenc}3vGB7WoXFtwdyJJo/xYz/w==

SO when I run the job as follows
dsjob -domain <Domain> -server <Server> -user uid -password {iisenc}3vGB7WoXFtwdyJJo/xYz/w== -run -param Parameter_Set_Test=STAGE dstage1 JobName

It returns the error -1010 DSJE_FAILEDLOGTODOMAIN

Has anyone faced similar error? Appreciate your responses

Posted: Wed Feb 06, 2013 8:13 pm
by ray.wurlod
I have used that syntax only successfully. Is your password actually correct? Has it expired?

Posted: Wed Feb 06, 2013 8:47 pm
by synsog
The Password is Correct and Not Expired..It works if used directly

Posted: Thu Feb 07, 2013 12:27 am
by ray.wurlod
I have only had success with the encrypted password on the dsjob command line. Are you fully up to date with your fix packs?