If you do not use single sign-on on Windows, set the
KRB5_CONFIG
environment variable to the path and file name of the Kerberos configuration file. The name of the configuration file is krb5.conf.
The commands determine the user credentials based on how you specify the user name and password. The commands check the credentials in the following order:
Command options. If you include the user name option (-un) and the password option (-pd) in the command, the command uses the user name and password specified for the options.
If the domain uses a single Kerberos realm for authentication, specify the samAccountName for the user as the value for the user name option. If the domain uses Kerberos cross realm authentication, specify the user principal name for the user as the value for the user name option.
Environment variables. If you do not include the user name and password options in the command, the command uses the user name and password specified in the environment variables INFA_DEFAULT_DOMAIN_USER and INFA_DEFAULT_DOMAIN_PASSWORD.
If you do not set the credentials in the command options or environment variables, the command uses the logged-in credentials and runs the command with single sign-on.