Date: Fri, 12 Nov 1999 10:21:19 +1300 From: "Dan Langille" <dan@freebsddiary.org> To: "Chris Wasser" <cwasser@v-wave.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: proftpd and authentication failure Message-ID: <199911112121.KAA26777@freebsddiary.yi.org> In-Reply-To: <000701bf2c89$e66b5a00$271a6c18@vwave.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911112121.KAA26777>