OpenPAM Figwort broke PAM modules from ports

Jeremie Le Hen jeremie at
Mon Jun 27 19:11:55 GMT 2005

Hi Florent :),

> > With all respect I owe you you, the last upgrade of my -CURRENT box
> > constrained me to use the following patch to make
> > work again :
> 	FWIW, I always needed to put full pathname for pam_ldap to use
> 	it.

If you didn't upgraded to a too recent -CURRENT yet (ie. you still have
OpenPAM Feterita release), you should try removing the full path if is located in /usr/local/lib/.  If your -CURRENT is too
recent, please, try to patch src/contrib/openpam/lib/openpam_dynamic.c
with the quick hack I posted earlier.  Recompile it and install it
from src/lib/libpam/libpam/ and then remove the full path of
pam_ldap in /etc/pam.d/login.  Try to log from a text console (this
doesn't need to reboot).  You should see either an error message stating
that couldn't be found or a successful login attempt in

I would be glad if you were able to bring your testimony : I would
really like to see a note in src/UPDATING for this, since FreeBSD 6
is going to be out in less than 2 months, and not informing users
about this behaviour change would break PITA, IMO.

Thank you Florent.
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >

More information about the freebsd-ports mailing list