In an environment where there are no local user accounts on the Linux servers, and all user authentication is managed through Active Directory, the following issue is observed.
The servers have Agents installed, and when a test job is executed from the AWI, the following error message appears:
User 'xxxxx' is unknown or an invalid password has been provided.
The password has been confirmed to be correct.
OS: Linux/Unix
The issue occurs because the Automic Agent is unable to authenticate users via Active Directory when PAM/SSSD is not correctly configured.
Follow the steps below based on your operating system.
Automic Agent Configuration
Open the Agent INI file (e.g. ucsrv.ini or ucxjlx6.ini).
Under the [AUTHORIZATION] section, enable PAM authentication:
Define the PAM library to be used (SSSD client):
[PAM]Save the file and restart the Agent.
Verify the Agent log shows PAM authentication enabled and the library loaded successfully:
Example 2 Ubuntu:Operating System Configuration
1. RHEL (Red Hat Enterprise Linux)
Log in as root (or use sudo su -).
Navigate to /etc/pam.d/.
Create a new file named after the Agent binary (for example, ucxjlx6):
Add the following content to the file:
Save the file and restart the Automic Agent.
2. Ubuntu
Log in as root (or use sudo su -).
Navigate to /etc/pam.d/.
Create a new file with the same name as the Agent binary (e.g. ucxjlx6):
Add the following configuration:
Save the file and restart the Automic Agent.