Make sure you download the latest hotfix for CA PAM (3.1.1.07) which can be found under the
Solutions & Patches page. We found out that in releases before 3.1.1.07 that the public_addr object has a NULL value inside which is why sewhoami -a was not showing the correct user because there was a disconnect.
PAM Required Configuration
1. PAM configured and verified to PAMSC under (PAM) Configuration > CA Modules > CA PAM Server Control
2. Target Account, Device, and Application configured and working without Login Integration checked under CA PAM Server Control for the policy in PAM. Note, for this test we need to make sure the target account is a local user on the box.
PAM Server Control Endpoint
1. SSH loginappl setup for PAMLOGIN. Example Below:
AC> sr loginappl SSH
(localhost)
Data for LOGINAPPL 'SSH'
-----------------------------------------------------------
Defaccess : X
Audit mode : Failure
Update time : 08-Mar-2017 11:25
Updated by : root (USER )
Comment : Predefined rule for Login application.
Login flags : PAM login
2. Login with a local user (not root) and run sehwoami -a. Does this show the correct user that logged into the server? If not (as the latest in the support case 00971144) the integration is not going to work.
3. The local user you will login with from PAM needs to have the pupm_flags(use_original_identity)
AC> su Bob
(localhost)
Data for USER 'Bob'
-----------------------------------------------------------
Audit mode : Login-Success, Failure, Login-Failure
Owner : root (USER )
Gracelogins : 1
Admin Pwd change : 06-Apr-2018 15:06
Pwd changed by : root (USER )
Create time : 06-Apr-2018 15:06
Update time : 06-Apr-2018 15:06
Updated by : root (USER )
Pupm flags : Use original identity
4. General Endpoint configuration
Set Configuration Tokens (these should be set already and can be verified)
seos.ini
seini -s seoswd.agent_manager_check_enabled yes
seini -s daemons.AgentManager "yes, /opt/CA/AccessControlShared/lbin/agent_manager.sh start"
seini -s PUPMAgent.OperationMode 2 (debug flag enabled)
accommon.ini
seini -s AgentManager.Plugins PupmAgent /opt/CA/AccessControlShared/accommon.ini
seini -s AgentManager.TraceEnabled 1 /opt/CA/AccessControlShared/accommon.ini (debug flag enabled)
seini -s PupmAgent.OperationMode 1 /opt/CA/AccessControlShared/accommon.ini
Distribution Server Set :
# cat /etc/accommon.ini | grep Distribution_Server
Distribution_Server = ssl://SERVERNAME:61616