[vbox-dev] [PATCH] FreeBSD: VBoxAuthPAM.c references non-existent pam.so.0

Bernhard Froehlich decke at bluelife.at
Fri Apr 13 09:16:30 GMT 2012


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 <landonf at plausible.coop> for Plausible Labs 
Cooperative, Inc.
Reference: http://www.freebsd.org/cgi/query-pr.cgi?pr=166614

-- 
Bernhard Fröhlich
http://www.bluelife.at/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-src-VBox-HostServices-auth-pam-VBoxAuthPAM.c
Type: application/octet-stream
Size: 410 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20120413/824cfd54/attachment.obj>


More information about the vbox-dev mailing list