IBM Support

-951 / -952 when using Loadable Password Algorithm (LPA) ie. ssha1, ssha256, blowfish, smb5 on AIX

Troubleshooting


Problem

When configuring IDS to use LPA (ssha1, ssha256 ,sblowfish, smb5, etc) you get -951/-952 errors on AIX

Cause

The underlaying problem is that the default settings on AIX for the LPA mapping config file are
such that only root can read the file. Crypt() function in IDS is run on a CPU VP which is non-root and AIX requires it to be run as root if using LPA, a workaround is to use PAM (which will use MSC VP for authentication )

Resolving The Problem

Use PAM to configure LPA on AIX


Following example instructions to set it:

1) Add to /etc/pam.conf:
idslogin auth required pam_aix
idslogin account required pam_aix

2) Define DBSERVERALIAS ids_pam_srv

3) Add to SQLHOSTS:
ids_pam_srv onsoctcp <host> <port>
s=4,pam_serv=idslogin,pamauth=password

Don't forget to add an appropriate entry to /etc/services (if needed).

4) check /etc/security/login.cfg for:
auth_type = STD_AUTH
pwd_algorithm = sblowfish


5) and final IDS check:

bash-3.2$ dbaccess - -
> connect to "test@ids_pam_srv" user "tester";
ENTER PASSWORD:

Connected.

[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"}],"Version":"11.1;11.5;11.7;11.70","Edition":"Developer;Enterprise;Express;Growth;Innovator;Ultimate;Workgroup","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 July 2019

UID

swg21624912