PingID Administration Guide

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:

  1. Remove the version of libcurl that was installed with depothelper.

  2. Build libcurl from the source files:

    1. Install the required libraries:

      depothelper openldap-2.4.45
      depothelper libssh2
    2. Download https://curl.se/download/curl-7.54.1.tar.gz and copy it to the server.

    3. Unzip the downloaded tarball:

      /usr/contrib/bin/gunzip curl-7.54.1.tar.gz
      tar xvf curl-7.54.1.tar
    4. Build libcurl and 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
  3. Build the PingID SSH agent, as described in Installation example for HP-UX.