TritonDataCenter / pkgsrc

NetBSD/pkgsrc fork for our binary package repositories
https://pkgsrc.smartos.org/
133 stars 50 forks source link

duo-unix-1.10.4 wrong ELF class: ELFCLASS64 #257

Open jussisallinen opened 4 years ago

jussisallinen commented 4 years ago

Current duo-unix doesn't work with recent base images, I get following with base-64-lts 19.4.0: shd[68403]: [ID 705739 auth.error] open_module[0:/etc/pam.conf]: /opt/local/lib/security/pam_duo.so failed: ld.so.1: sshd: fatal: /opt/local/lib/security/pam_duo.so: wrong ELF class: ELFCLASS64

jperkin commented 3 years ago

In the 19.4.0 image / 2019Q4 package set there is now a duo-unix-compat32-1.0 package available, containing the pam_duo.so library from the 32-bit build. Could you give it a spin? Should just need to change the path to be /opt/local/lib/security/i386/pam_duo.so instead, the config file should remain the same.