tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Con Tassios <ct () swin ! edu ! au>
To: tru64-unix-managers
Subject: SUMMARY: ProFTPd
Date: Mon, 03 Apr 2000 00:54:58 +0000	[thread overview]
Message-ID: <96079343919287.tru64-unix-managers.marc@archive.invalid> (raw)

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.

                 reply	other threads:[~2000-04-03  0:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox