tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: ProFTPd
@ 2000-04-03  0:54 Con Tassios
  0 siblings, 0 replies; only message in thread
From: Con Tassios @ 2000-04-03  0:54 UTC (permalink / raw)
  To: tru64-unix-managers

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-04-03  0:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-03  0:54 SUMMARY: ProFTPd Con Tassios

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