From owner-freebsd-questions@FreeBSD.ORG Fri Jun 20 06:44:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6829137B407 for ; Fri, 20 Jun 2003 06:44:00 -0700 (PDT) Received: from mx1.clickcom.com (mx2.clickcom.com [209.198.22.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7822B43FBF for ; Fri, 20 Jun 2003 06:43:59 -0700 (PDT) (envelope-from jsmailing@clickcom.com) Received: from aesop (calefaction.clickcom.com [209.198.22.19]) by mx1.clickcom.com (email) with ESMTP id B32B8C9FC7 for ; Fri, 20 Jun 2003 09:43:58 -0400 (EDT) From: "John Straiton" To: Date: Fri, 20 Jun 2003 09:42:11 -0400 Message-ID: <001301c33731$c38a93f0$1916c60a@win2k.clickcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Subject: FW: PAM + 5.1 Problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 13:44:00 -0000 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"