If LDAP authentication is required, AIX must setup LDAP client to refresh user and group caches less than a day.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-215205 | SRG-OS-000383-GPOS-00166 | AIX7-00-001046 | SV-215205r958828_rule | 2026-02-06 | 3 |
Description
If cached authentication information is out-of-date, the validity of the authentication information may be questionable.
ℹ️ Check
If LDAP authentication is not required, this is Not Applicable.
Verify the "/etc/security/ldap/ldap.cfg" file to see if the following two keywords have a value that is greater than "900" seconds:
# grep -i usercachetimeout /etc/security/ldap/ldap.cfg
usercachetimeout: 900
# grep -i groupcachetimeout /etc/security/ldap/ldap.cfg
groupcachetimeout: 900
If any of the above keywords does not exist, is commented out, or any value of the above keywords are greater than "900", this is a finding.
✔️ Fix
Edit the "/etc/security/ldap/ldap.cfg" file to set the following two keywords to have value of "900":
usercachetimeout
groupcachetimeout
Restart LDAP client using command:
# /usr/sbin/restart-secldapclntd