Step 1:
- Control-M/Agent checks the Job Owner / Run As field specified in the job definition.
- If the field contains a Domain such as domain\user, the Control-M/Agent uses that.
- If the field does not contain a Domain syntax, Control-M/Agent will try to determine what domain to use according to Step 2.
Note:
- It is always recommended that the Job Owner / Run As field always contain a Domain, even if the job owner is a local account.
- If the Run As User / Owner is a local account, the local host should be used as the domain value.
- Both syntaxes as below are accepted for Job Owner / Run As:
i. domain\user
ii. user@domain
Step 2:
- Control-M/Agent checks the value of the configuration parameter ‘Logon Domain’.
- This value is set via the ctmwincfg utility on the Control-M/Agent or in the CCM on Control-M/Enterprise Manager
- If ‘Logon Domain’ contains a value, Control-M/Agent uses that.
- If ‘Logon Domain’ is blank (Default), Control-M/Agent lets the Operating System resolve what domain to use.
Note:
- Windows will first look for a local user that matches the Job Owner / Run As account.
- If a local user is found, it will be used.
- If a local user is not found, Windows will look for a user that matches the Job Owner / Run As in the default domain of that host.