A Linux job on an agent utilizing PAM fails with the following message:
U02001007 User 'user' is unknown or an invalid password has been provided.
The agent ini file has the following specified:
authentication=PAM
libName=libpam.so.0
OS: CentOS 8.3.2011
Release : 12.3
Component : Agent Unix
Configuration.
The PAM binary needed the be changed in the agent's ini file from:
libName=libpam.so.0
To:
libName=/usr/lib64/security/pam_sss.so
The trace file shows the following error:
MAIN-THREAD 20210325/171043.490 PamPasswordCheck: calling pam_acct_mgmt()
MAIN-THREAD 20210325/171043.490 PamPasswordCheck: load address '0x7fed40917ff0' for a function 'pam_acct_mgmt()'
MAIN-THREAD 20210325/171043.496 PamPasswordCheck calling pam_strerror()
MAIN-THREAD 20210325/171043.496 PamPasswordCheck load address for function 'pam_strerror': '0x7fed4091d540'
MAIN-THREAD 20210325/171043.496 PamPasswordCheck: function 'pam_acct_mgmt()' returned error 'Permission denied'
MAIN-THREAD 20210325/171043.496 PamEnd() -->
MAIN-THREAD 20210325/171043.496 PamEnd calling pam_end()