From owner-freebsd-questions Thu Nov 11 13:16:52 1999 Delivered-To: freebsd-questions@freebsd.org Received: from crash.ab.videon.ca (crash.ab.videon.ca [206.75.216.220]) by hub.freebsd.org (Postfix) with ESMTP id C00D614D06 for ; Thu, 11 Nov 1999 13:16:43 -0800 (PST) (envelope-from cwasser@v-wave.com) Received: from area51 (area51.v-wave.com [24.108.26.39]) by crash.ab.videon.ca (8.9.2/8.9.2) with SMTP id OAA04158; Thu, 11 Nov 1999 14:12:42 -0700 (MST) Message-ID: <000701bf2c89$e66b5a00$271a6c18@vwave.com> From: "Chris Wasser" To: , References: <199911101231.BAA18348@freebsddiary.yi.org> Subject: Re: proftpd and authentication failure Date: Thu, 11 Nov 1999 14:15:26 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. ----- Original Message ----- From: Dan Langille To: Sent: Wednesday, November 10, 1999 5:31 AM Subject: proftpd and authentication failure > 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. > > 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 > > 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 > > I get this eror: > > received: USER dan > received: USER dan > received: PASS (hidden) > > And the same again if I add this to pam.conf: > > ftp session required pam_unix.so try_first_pass > > 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? > -- > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message