SUMMARY: ProFTPd

From: Con Tassios <ct_at_swin.edu.au>
Date: Mon, 03 Apr 2000 10:54:58 +1000

Problem: Standard ProFTPd 1.2.0pre10 installation on Digital UNIX 4.0F
non-C2 unable to authenticate .

Solution: Provided by Frank Wortner

ProFTPd 1.2.0pre10 seems to have an error in it's configuration. In
short,
it assumes that since the subroutines to access DU's C2 shadow password
database -- getprpwent() -- exists, you *must* be using that database
instead of /etc/passwd. Unless you are running C2, there aren't any
entries in that database, so any calls to getpwpwent() always return a
"user unknown" status.

To fix, look at the top level of the source -- where the "configure"
script
lives. You should see the "config.h" file. If there isn't one, run
configure first. Edit the config.h file. Look for a section that
reads:


/* Define if you have the getprpwent function. */
#define HAVE_GETPRPWENT 1

Change it to:


/* Define if you have the getprpwent function. */
/* #undef HAVE_GETPRPWENT */

Now recompile and relink the whole daemon:

make clean ; make

If I'm right -- not that I always am, mind you ;-) -- it should work.
Received on Mon Apr 03 2000 - 00:55:31 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT