Dsjob with Password Encryption
Posted: Wed Feb 06, 2013 10:24 am
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
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