From owner-freebsd-questions Wed Nov 10 9:48:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from broccoli.graphics.cornell.edu (broccoli.graphics.cornell.edu [128.84.247.53]) by hub.freebsd.org (Postfix) with ESMTP id 2FD9414BCC for ; Wed, 10 Nov 1999 09:48:11 -0800 (PST) (envelope-from mkc@Graphics.Cornell.EDU) Received: from graphics.cornell.edu by broccoli.graphics.cornell.edu with ESMTP (1.37.109.16/16.2) id AA285395943; Wed, 10 Nov 1999 12:45:43 -0500 Message-Id: <199911101745.AA285395943@broccoli.graphics.cornell.edu> X-Mailer: exmh version 2.0zeta 7/24/97 To: dan@freebsddiary.org Cc: freebsd-questions@FreeBSD.ORG Subject: Re: proftpd and authentication failure In-Reply-To: Your message of "Thu, 11 Nov 1999 01:31:46 +1300." <199911101231.BAA18348@freebsddiary.yi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 10 Nov 1999 12:45:42 -0500 From: Mitch Collinsworth Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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. >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. >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. >I get this eror: > >received: USER dan >received: USER dan >received: PASS (hidden) What error? >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. -Mitch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message