OpenPAM Figwort broke PAM modules from ports
Florent Thoumie
flz at FreeBSD.org
Mon Jun 27 19:26:34 GMT 2005
Le Lundi 27 juin 2005 à 21:12 +0200, Jeremie Le Hen a écrit :
> 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 pam_alreadyloggedin.so
> > > 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
> pam_ldap.so 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 pam_ldap.so couldn't be found or a successful login attempt in
> /var/log/auth.log.
>
> 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.
Well, I just tried again without full path and it seems to just
work on this RELENG_5 box.
I guess an UPDATING entry wouldn't hurt if we just recommend
people to check if they're using absolute paths or not.
Just my 2 cents.
--
Florent Thoumie
flz at FreeBSD.org
More information about the freebsd-ports
mailing list