I just upgraded to 2.6.7 of oath-toolkit and the pam_oath module is now exiting with the error in try_dlopen(): /usr/local/lib/security/pam_oath.so: (null): Undefined symbol "pam_modutil_getpwnam" when I try to authenticate. I can see that pam_modutil_getpwnam is mentioned in the ports patches and so I guess the patch isn't quite correct or it was only tested on specific versions of FreeBSD. I am running FreeBSD 13.0-RELEASE-p6 and oath-toolkit was compiled using poudriere with the pskc option disabled.
Thanks for reporting, investigating. Sorry for the breakage.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7792db3ba6e29f6db913631620918815d9d4da2f commit 7792db3ba6e29f6db913631620918815d9d4da2f Author: Alex Dupre <ale@FreeBSD.org> AuthorDate: 2022-02-01 15:11:01 +0000 Commit: Alex Dupre <ale@FreeBSD.org> CommitDate: 2022-02-01 15:12:23 +0000 security/oath-toolkit: fix pam_oath undefined symbol at modul load PR: 261646 Submitted by: Matt Smith <freebsd@xtaz.uk> security/oath-toolkit/Makefile | 1 + .../oath-toolkit/files/patch-pam__oath_Makefile.in | 51 +++++++++++++++++++++- 2 files changed, 50 insertions(+), 2 deletions(-)
It should be fixed now, let me know if it isn't.
That works! Thank you very much.