Date: Wed, 18 Jun 2003 16:51:41 -0400 From: "John Straiton" <jsmailing@clickcom.com> To: <freebsd-questions@FreeBSD.ORG> Subject: PAM + 5.1 Problems Message-ID: <000101c335db$6ed468b0$1916c60a@win2k.clickcom.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000101c335db$6ed468b0$1916c60a>