The VBoxAuthPAM.c implementation attempts to dlopen() PAM, but uses the
non-existent "pam.so.0" path on FreeBSD.

Test result without fix (using VBOX_AUTH_DEBUG_FILENAME):

u[vboxusers], d[(null)], p[40]
auth_pam_init: dlopen libpam.so.0 failed
auth_pam_init failed 4


Test after fix:

u[vboxusers], d[(null)], p[40]
init ok
Using PAM service: login
start ok
auth ok
access granted
auth_pam_close completed


The Author agrees that this patch is under MIT License.

Author: Landon Fuller <[email protected]> for Plausible Labs Cooperative, Inc.
Reference: http://www.freebsd.org/cgi/query-pr.cgi?pr=166614

--
Bernhard Fröhlich
http://www.bluelife.at/

Attachment: patch-src-VBox-HostServices-auth-pam-VBoxAuthPAM.c
Description: Binary data

_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to