Hi All,
We have created a batch script to list the available projects in the datastage environment.
Command:
dsjob -lprojects
The command is working absolutely file in one of the development environment.
The same is migrated to another server and the command aborted.
Later did our analysis and found that the command is expecting the user ID and password.
dsjob -domain NONE -server ABC -user DER -password ABC -lprojects
Now question is we would like to bypass providing SERVER/USERID/PASSWORD details, so can anyone suggest the settings we have to do in server?
Appreciate your response.
Thanks & Regards,
Sandeep
Dsjob log in Issue
Moderators: chulett, rschirm, roy
Re: Dsjob log in Issue
Use the -authfile pathname option to specify an authorization file containing the credential information.
The contents of the file should look like this:
user=dsadm
password={iisenc}encrypted_password_here==
domain=serviceshostname:9080
server=enginehostname
You can use /opt/IBM/InformationServer/ASBNode/bin/encrypt.sh to generate the encrypted form of the password
The contents of the file should look like this:
user=dsadm
password={iisenc}encrypted_password_here==
domain=serviceshostname:9080
server=enginehostname
You can use /opt/IBM/InformationServer/ASBNode/bin/encrypt.sh to generate the encrypted form of the password
I did exactly the same authfile.txt with:
user=dsadm
password={iisenc}n7Me44z4c7Vz19AIlgdPCg==
domain=<servername>:9080
server=<servername>
and got following error:
ERROR: Failed to open project
Last recorded error message =
java.rmi.RemoteException: peer not authenticated; nested exception is:
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Status code = -1010 DSJE_DOMAINLOGTOFAILED
What's wrong here?
user=dsadm
password={iisenc}n7Me44z4c7Vz19AIlgdPCg==
domain=<servername>:9080
server=<servername>
and got following error:
ERROR: Failed to open project
Last recorded error message =
java.rmi.RemoteException: peer not authenticated; nested exception is:
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Status code = -1010 DSJE_DOMAINLOGTOFAILED
What's wrong here?
Sergey
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: