From owner-freebsd-questions Wed Nov 10 13:17: 2 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 393D314D90 for ; Wed, 10 Nov 1999 13:16:46 -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 KAA20269; Thu, 11 Nov 1999 10:16:14 +1300 (NZDT) Message-Id: <199911102116.KAA20269@freebsddiary.yi.org> From: "Dan Langille" Organization: The FreeBSD Diary To: Mitch Collinsworth , freebsd-questions@FreeBSD.ORG Date: Thu, 11 Nov 1999 10:16:12 +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: <199911101745.AA285395943@broccoli.graphics.cornell.edu> References: Your message of "Thu, 11 Nov 1999 01:31:46 +1300." <199911101231.BAA18348@freebsddiary.yi.org> X-mailer: Pegasus Mail for Win32 (v3.12a) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 10 Nov 99, at 12:45, Mitch Collinsworth wrote: > >ProFTPD Version 1.2.0pre8 is giving me authentication problems. I've > >been able to get anon ftp running, but if I log in as my regular user id, I > >get invalid password. > > You didn't say what version of FBSD. It matters. A lot. I should not be posting messages after midnight. FreeBSD 3.1-stable. > >Here's the output from running with -d5 > > > >received: USER dan > >received: USER dan > >received: PASS (hidden) > >PAM(dan): Permission denied > >USER dan: incorrect password > > I've just been fighting the proftpd/pam/freebsd battle myself today > and it is now working. More interesting than debug output would be > to know what is in your log file. proftpd[18252]: unable to resolve symbol: pam_sm_acct_mgmt proftpd[18253]: unable to resolve symbol: pam_sm_acct_mgmt proftpd[18300]: unable to resolve symbol: pam_sm_acct_mgmt proftpd[18300]: unable to resolve symbol: pam_sm_open_session proftpd[18300]: unable to resolve symbol: pam_sm_close_session proftpd[18335]: unable to resolve symbol: pam_sm_acct_mgmt proftpd[18338]: unable to resolve symbol: pam_sm_acct_mgmt proftpd[18338]: unable to resolve symbol: pam_sm_open_session proftpd[18338]: unable to resolve symbol: pam_sm_close_session > >If I add these two lines to /etc/pam.conf > > > >ftp auth required pam_unix.so try_first_pass > >ftp account required pam_unix.so try_first_pass > > This is exactly what I have. > > [bad example snipped] > What error? Hmmm, that's the debug output. But not enough of it... See below received: USER dan received: USER dan received: PASS (hidden) PAM(dan): Permission denied USER dan: incorrect password from [snipped] received: QUIT FTP session closed. > >And the same again if I add this to pam.conf: > > > >ftp session required pam_unix.so try_first_pass > > No. You don't want this. Well... That may depend on what version > of FreeBSD. You definitely don't want it with 3.2-R. > > > >I have no idea how to get regular logins working. I'm ready to toss this > >aside and go with ftpd. Anyone got proftpd running? > > me. -- 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