Troubleshooting integrations that use psunix files
When the correct permissions on *nix systems are not granted to the psunix
files copied from the Connector Pack (from the instance's unix\ directory), the integration will fail.
For example, when integrating with an LDAP, syslog may show the following:
May 28 09:16:22 rhds2-idp-master-1-work-es-1 psldap[5486]: [Line: 38, Pos: 1]: Parse error: expected ';' in kvgroup option file [/usr/local/psunix/default/psunix.d/idapi]. May 28 09:16:22 rhds2-idp-master-1-work-es-1 ns-slapd: [28/May/2020:09:16:22.810271756 +0000] - ERR - plugin_setup - Init function "prepasswd_init" for "Psynch Check Password" plugin in library "/usr/local/psunix/default/64/psldap-sunldap.so" failed May 28 09:16:22 rhds2-idp-master-1-work-es-1 psldap[5486]: Failed to load configuration information
Solution
Grant permissions on the psunix files to the account that has to run them or access them:
For
mobproxy
, the account in question is the one that runs the Apache serverFor
agtunix
:If the listener is installed, grant access to the account that runs the internet daemon that
psunix
runs under (e.g. inetd, xinetd, etc)If the integration is with a directory server (e.g. LDAP or NIS), grant access to the account that runs that service
chown -R <user>:<usersgroup> </full/path/to/psunix/*>