Troubleshooting integration with SSH on HP-UX
If you are having trouble with the PingID integration with SSH when using it with PAM, it may be due to the X/Open Networking Interfaces of the version of libcurl that is installed. The version of libcurl may have been built without the additional flag for X/Open Sockets functionality.
To resolve this issue:
-
Remove the version of
libcurlthat was installed with depothelper. -
Build
libcurlfrom the source files:-
Install the required libraries:
depothelper openldap-2.4.45 depothelper libssh2
-
Download
https://curl.se/download/curl-7.54.1.tar.gzand copy it to the server. -
Unzip the downloaded tarball:
/usr/contrib/bin/gunzip curl-7.54.1.tar.gz tar xvf curl-7.54.1.tar
-
Build
libcurland install it to/usr/local/lib/hpux64:cd curl-curl-7.54.1 ./configure CC="cc" CFLAGS="-O -AC99 +DD64" CPPFLAGS="-I/usr/local/include -D_XOPEN_SOURCE=600 -D_HPUX_ALT_XOPEN_SOCKET_API" LDFLAGS="+DD64 -Wl,+b -Wl,/usr/local/lib/hpux64 -L/usr/local/lib/hpux64" --libdir=/usr/local/lib/hpux64 --disable-dict --disable-file --disable-ftp --disable-gopher --disable-imap --disable-manual --disable-ntlm-wb --disable-pop3 --disable-rtsp --disable-smb --disable-smtp --disable-sspi --disable-telnet --disable-tftp --disable-unix-sockets --without-brotli --without-libidn2 --without-librtmp make make install
-
-
Build the PingID SSH agent, as described in Installation example for HP-UX.