Date: Thu, 11 Nov 1999 10:16:12 +1300 From: "Dan Langille" <dan@freebsddiary.org> To: Mitch Collinsworth <mkc@Graphics.Cornell.EDU>, freebsd-questions@FreeBSD.ORG Cc: freebsd-questions@FreeBSD.ORG Subject: Re: proftpd and authentication failure Message-ID: <199911102116.KAA20269@freebsddiary.yi.org> In-Reply-To: <199911101745.AA285395943@broccoli.graphics.cornell.edu> References: Your message of "Thu, 11 Nov 1999 01:31:46 %2B1300." <199911101231.BAA18348@freebsddiary.yi.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911102116.KAA20269>