From owner-freebsd-questions@FreeBSD.ORG Wed Jun 18 13:53:59 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 CF14D37B401 for ; Wed, 18 Jun 2003 13:53:59 -0700 (PDT) Received: from mx1.clickcom.com (mx2.clickcom.com [209.198.22.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 073CA43F3F for ; Wed, 18 Jun 2003 13:53:57 -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 592715D44A for ; Wed, 18 Jun 2003 16:53:56 -0400 (EDT) From: "John Straiton" To: Date: Wed, 18 Jun 2003 16:51:41 -0400 Message-ID: <000101c335db$6ed468b0$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 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Importance: Normal Subject: 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: Wed, 18 Jun 2003 20:54:00 -0000 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