From owner-freebsd-isp Wed Aug 1 12:25:42 2001 Delivered-To: freebsd-isp@freebsd.org Received: from virtual-voodoo.com (virtual-voodoo.com [204.120.165.254]) by hub.freebsd.org (Postfix) with ESMTP id 8B28437B401 for ; Wed, 1 Aug 2001 12:25:37 -0700 (PDT) (envelope-from steve@virtual-voodoo.com) Received: from inlafrec (bdsl.66.12.217.40.gte.net [66.12.217.40]) (authenticated) by virtual-voodoo.com (8.11.4/8.11.4) with ESMTP id f71JPaQ85528; Wed, 1 Aug 2001 14:25:36 -0500 (EST) (envelope-from steve@virtual-voodoo.com) Message-ID: <01ae01c11abf$5e7cd6c0$28d90c42@eservoffice.com> From: "Steven Ames" To: "Steve Ames" , References: <20010727182009.A33792@virtual-voodoo.com> Subject: Re: Apache mod_auth_pam Date: Wed, 1 Aug 2001 14:22:55 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Right then... it appears that mod_auth_pam won't work with a pam.conf setting of httpd auth required pam_unix.so try_first_pass The reason is that pam_unix.so makes a call to getpwnam. getpwnam won't return a password unless the effective UID of the caller is 0 (aka root). So this might work if you let apache run as root otherwise it won't. Its not an error with mod_auth_pam per se, just a consideration to work around. So... anyone know how to get apache to auth using the unix passwd file? -Steve ----- Original Message ----- From: "Steve Ames" To: Sent: Friday, July 27, 2001 6:20 PM Subject: Apache mod_auth_pam > Anyone get this working? I get errors when attempting to use it: > > Jul 27 15:35:02 voodoo httpd: unable to dlopen(/usr/lib/pam_unix.so) > Jul 27 15:35:02 voodoo httpd: [dlerror: /usr/lib/pam_unix.so: Undefined symbol "pam_get_item"] > Jul 27 15:35:02 voodoo httpd: adding faulty module: /usr/lib/pam_unix.so > > Any thoughts? > > On 4.3-STABLE from 7/25 using the latest mod_auth_pam from ports > on Apache 1.3.19. > > -Steve > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message