From owner-freebsd-security Sat Feb 10 15:46:54 2001 Delivered-To: freebsd-security@freebsd.org Received: from yez.hyperreal.org (3ff8f8da.dsl.flashcom.net [63.248.248.218]) by hub.freebsd.org (Postfix) with SMTP id BD3A537B401 for ; Sat, 10 Feb 2001 15:46:36 -0800 (PST) Received: (qmail 82376 invoked by uid 1000); 10 Feb 2001 23:47:10 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 10 Feb 2001 23:47:10 -0000 Date: Sat, 10 Feb 2001 15:47:10 -0800 (PST) From: Brian Behlendorf X-X-Sender: To: Richard Ward Cc: Subject: Re: 2.3.0p1 --without-pam In-Reply-To: <004f01c093b5$27024e00$0101a8c0@pavilion> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You're building from the openssh.org-distributed "multiplatform" 2.3.0p1, right? Sounds like you hit a think-o that I hit last night as well - first you just did "./configure" and "make", realized that pam was something you really didn't want (in my case I was upgrading ssh on an old 3.4-RELEASE system that I didn't want to do a full make world on, and was getting pam errors when trying to auth), so you went back to your 2.3.0p1 directory and did a "./configure --without-pam", and a "make", without doing a "make clean". The "make clean" was something I found necessary to clean out all references to pam in the object files; I also had to add -lcrypt to the LIBS line in the Makefile, in case you get errors at link time about not being able to find crypt. Brian On Sat, 10 Feb 2001, Richard Ward wrote: > I'm trying to get OpenSSH 2.3.0p1 working with ./configure > --without-pam. The configure script runs fine, yet when I go to make I > get major errors. > > auth-pam.o: In function `pam_cleanup_proc': > /usr/software/openssh-2.3.0p1/auth-pam.c(.text+0x1d7): undefined reference to `pam_close_session' > /usr/software/openssh-2.3.0p1/auth-pam.c(.text+0x1f2): undefined reference to `pam_strerror' > > Is it trying to use pam even when I ran configure without it? It > floods with about 20 lines of errors from pam_* from ath-pam.c. Any > ideas? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message