From owner-freebsd-questions Thu Nov 11 13:21:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from freebsddiary.yi.org (p13-adsl.wn.paradise.net.nz [203.96.145.13]) by hub.freebsd.org (Postfix) with ESMTP id 303A515285 for ; Thu, 11 Nov 1999 13:21:36 -0800 (PST) (envelope-from dan@freebsddiary.org) Received: from wocker (wocker.int.nz.freebsd.org [192.168.0.99]) by freebsddiary.yi.org (8.9.3/8.9.3) with ESMTP id KAA26777; Fri, 12 Nov 1999 10:21:20 +1300 (NZDT) Message-Id: <199911112121.KAA26777@freebsddiary.yi.org> From: "Dan Langille" Organization: The FreeBSD Diary To: "Chris Wasser" Date: Fri, 12 Nov 1999 10:21:19 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: proftpd and authentication failure Reply-To: dan@freebsddiary.org Cc: freebsd-questions@FreeBSD.ORG In-reply-to: <000701bf2c89$e66b5a00$271a6c18@vwave.com> X-mailer: Pegasus Mail for Win32 (v3.12a) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What version of FreeBSD? My initial problem was with 3.1-Release. That was solved going the non- PAM route (i.e. "AuthPAMAuthoritative off" in the proftpd.conf file). But last night I installed proftpd on a 3.3-release box. It ran fine with PAM. I added the two lines you indicated. cheers On 11 Nov 99, at 14:15, Chris Wasser wrote: > Yeah, I got it going just fine, same version too (1.2.0pre8) and there was > no magic involved in getting it working. I simply installed the port and > added the following two lines in /etc/pam.conf: > > ftp auth required pam_unix.so > try_first_pass > ftp account required pam_unix.so > try_first_pass > > I discovered in the port workdir there were infact two sets of > instructions for PAM under FreeBSD, one said to use the above two lines and > the other said to add this third one: > > ftp session required pam_unix.so > try_first_pass > > Which I did, but resulted in PAM errors in /var/log/messages to the > effect of: > > Nov 9 23:29:58 deepthought proftpd[15183]: unable to resolve symbol: > pam_sm_open_session > Nov 9 23:29:58 deepthought proftpd[15183]: unable to resolve symbol: > pam_sm_close_session > > When a valid user (non-anonymous connection) was made. I simply > commented it out and it appears to be working just fine, no warnings or > anything like that and the logging is all there from proftpd itself. -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.freebsddiary.org/freebsd/ NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/ The Racing System - http://www.racingsystem.com/racingsystem.htm unix @ home - http://www.unixathome.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message