Weird issue with dsjob command
Posted: Thu Sep 15, 2016 6:48 am
Hi Experts,
I am facing a weird issue with dsjob command. I am not able to run the command using dsadm id. Although if i run it using my own id, it is running fine.
We are ldap authenticated.
I am logged in as dsadm
Below command gives me error
Below works fine for me:
I have 2 instances of IIS installed on the same machine ( v9.1 and v11.5 )
I am facing issues with v11.5
In v9.1, i simply logon as dsadm, and run this command and it runs fine
In 11.5 gives an error
I read in one of the DSXchange post that
I am facing a weird issue with dsjob command. I am not able to run the command using dsadm id. Although if i run it using my own id, it is running fine.
We are ldap authenticated.
I am logged in as dsadm
Below command gives me error
Code: Select all
dsjob -lprojects
Code: Select all
Last recorded error message =
Connection to the specified engine tier host failed or was refused. Check that the RPC daemon service is running on the host and that no firewall is blocking the connection
Code: Select all
dsjob -domain domainname:9445 -server servername:31539 -user myser -password mypassword -lprojects
I am facing issues with v11.5
In v9.1, i simply logon as dsadm, and run this command and it runs fine
Code: Select all
dsjob -lprojects
Code: Select all
Last recorded error message =
Connection to the specified engine tier host failed or was refused. Check that the RPC daemon service is running on the host and that no firewall is blocking the connection
So i am not passing these values when i run dsjob using dsadm. It workds perfectly fine for me in v9.1To NOT PASS the Domain, User and Password to the dsjob command and it will use the credentials of the logged in user irrespective of type of Authentication, Credential mappings or LDAP