Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 09:42:11 -0400
From:      "John Straiton" <jsmailing@clickcom.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   FW: PAM + 5.1 Problems
Message-ID:  <001301c33731$c38a93f0$1916c60a@win2k.clickcom.com>

next in thread | raw e-mail | index | archive | help
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@clickcom.com
Clickcom, Inc
704-365-9970x101 

-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of John Straiton
Sent: Wednesday, June 18, 2003 4:52 PM
To: freebsd-questions@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@clickcom.com
Clickcom, Inc
704-365-9970x101 


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001301c33731$c38a93f0$1916c60a>