FW: PAM + 5.1 Problems

John Straiton jsmailing at clickcom.com
Fri Jun 20 06:44:00 PDT 2003


Answering my own question.

I heard that errors like "Undefined symbol" usually mean conflicts
between libraries in use on the machine, and that recompiling can help.
I recompiled saslauthd2 and everything works fine now.

John Straiton
jks at clickcom.com
Clickcom, Inc
704-365-9970x101 

-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of John Straiton
Sent: Wednesday, June 18, 2003 4:52 PM
To: freebsd-questions at FreeBSD.ORG
Subject: PAM + 5.1 Problems


I had a fully functional cyrus/pam_mysql setup in 4.8-STABLE. After
seeing that the port for pam-mysql now supported 5.X, I went ahead and
tried to upgrade and now have dissapointing pam results. I did:

make buildworld
make buildkernel KERNCONF=MYMACHINENAME
mergemaster
shutdown, re-enter in single-user
Unload
load /boot/kernel/kernel
mount -a
make installworld
reboot

System came up and seemed to run fine. I am able to remotely log in via
ssh which tells me that the pam.conf->pam.d changeover went well. After
the upgrade I did:

cd /usr/ports/security/pam-mysql
make deinstall clean
make reinstall

Because I was already at .5, but hadn't recompiled after the world was
brought up in 5.X . Then I put the 2 pam_mysql lines from my pam.conf
into /etc/pam.d/imap and stripped off the service name from the front of
the line. I restarted cyrus, and tried to get my mail.. Here's what I
got now:


Jun 18 16:47:49 human imapd[6075]: unable to dlopen
/usr/local/lib/sasl2//libotp.so: /usr/lib/libopie.so.2: Undefined symbol
"__xuname"
Jun 18 16:47:49 human saslauthd[6076]: unable to
dlopen(/usr/lib/pam_mysql.so)
Jun 18 16:47:49 human saslauthd[6076]: [dlerror: /usr/lib/libm.so.2:
Undefined symbol "__fpclassifyd"]
Jun 18 16:47:49 human saslauthd[6076]: adding faulty module:
/usr/lib/pam_mysql.so
Jun 18 16:47:49 human saslauthd[6076]: unable to
dlopen(/usr/lib/pam_nologin.so)
Jun 18 16:47:49 human saslauthd[6076]: [dlerror: /usr/lib/libutil.so.3:
Undefined symbol "mac_is_present"]
Jun 18 16:47:49 human saslauthd[6076]: adding faulty module:
/usr/lib/pam_nologin.so
Jun 18 16:47:49 human saslauthd[6076]: unable to
dlopen(/usr/lib/pam_opie.so)
Jun 18 16:47:49 human saslauthd[6076]: [dlerror: /usr/lib/libopie.so.2:
Undefined symbol "__xuname"]
Jun 18 16:47:49 human saslauthd[6076]: adding faulty module:
/usr/lib/pam_opie.so
Jun 18 16:47:49 human saslauthd[6076]: unable to
dlopen(/usr/lib/pam_opieaccess.so)
Jun 18 16:47:49 human saslauthd[6076]: [dlerror: /usr/lib/libopie.so.2:
Undefined symbol "__xuname"]
Jun 18 16:47:49 human saslauthd[6076]: adding faulty module:
/usr/lib/pam_opieaccess.so
Jun 18 16:47:49 human saslauthd[6076]: unable to
dlopen(/usr/lib/pam_unix.so)
Jun 18 16:47:49 human saslauthd[6076]: [dlerror: /usr/lib/libutil.so.3:
Undefined symbol "mac_is_present"]
Jun 18 16:47:49 human saslauthd[6076]: adding faulty module:
/usr/lib/pam_unix.so
Jun 18 16:47:49 human saslauthd[6076]: DEBUG: auth_pam: pam_authenticate
failed: Permission denied
Jun 18 16:47:49 human saslauthd[6076]: AUTHFAIL: user=myusername
service=imap realm= [PAM auth error]

Since I only have the 2 pam-mysql entries in /etc/pam.d/imap, I can only
assume the other entries are from the /etc/pam.d/system or something. 

Ideas?
John Straiton
jks at clickcom.com
Clickcom, Inc
704-365-9970x101 


_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"




More information about the freebsd-questions mailing list