Hallo, ich habe schon viel in diesem Forum gesucht und gelesen und es kann sein, dass ich einfach etwas nicht gefunden habe aber ich weiss momentan echt nicht, wo mein Fehler liegt. Auch Google hat mir noch nicht wirklich weitergeholfen... ich sitze inzwischen circa 5 Tage an der Einrichtung eines ProFTPd mit MySQL-Authentifikation der möglichst auch noch mod_tls haben sollte, was jedoch vorerst gestrichen habe, da die MySQL-Authentifikation wichtiger ist.
Problem ist folgendes :
- Kompilierung funktioniert ohne Probleme
- Server findet beim Loginversuch den passenden Benutzer in der DB
- Server beendet mit 421 die Verbindung zum Client
Ich hoffe ihr könnt mir weiterhelfen... momentan fällt mir nicht mehr viel ein....
System :
Suse Linux 9.2
AMD Athlon-XP-M 2400+
512 MB RAM (266)
MySQL 4.0.21
ProFTPd Version : 1.2.10 (latest stable)
Compileroutput :
peacemobil:/proftpd-1.2.10 # ./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql && make && make install
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether the C compiler accepts -Wall... yes
checking for getopt... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for standalone crypt... no
checking for crypt in -lcrypt... yes
checking for standalone gethostbyname... yes
checking for standalone inet_aton... yes
checking for standalone nsl functions... yes
checking for standalone socket functions... yes
checking for _pw_stayopen variable... no
checking krb.h usability... no
checking krb.h presence... no
checking for krb.h... no
checking prot.h usability... no
checking prot.h presence... no
checking for prot.h... no
checking hpsecurity.h usability... no
checking hpsecurity.h presence... no
checking for hpsecurity.h... no
checking for hpsecurity.h workaround... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking junistd.h usability... no
checking junistd.h presence... no
checking for junistd.h... no
checking for memory.h... (cached) yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for struct spwd.sp_warn... yes
checking for struct spwd.sp_inact... yes
checking for struct spwd.sp_expire... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking for pam_start in -lpam... yes
checking linux/capability.h usability... yes
checking linux/capability.h presence... yes
checking for linux/capability.h... yes
checking whether to enable mod_cap... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for strings.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for sys/param.h... yes
checking for sys/mount.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for sys/stat.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking sys/termio.h usability... no
checking sys/termio.h presence... no
checking for sys/termio.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking vmsdir.h usability... no
checking vmsdir.h presence... no
checking for vmsdir.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for mode_t... yes
checking for off_t... yes
checking type of array argument to getgroups... gid_t
checking for timer_t... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for off_t... (cached) yes
checking size of off_t... 8
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for umode_t... no
checking for ino_t... yes
checking for intptr_t... yes
checking for socklen_t... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking whether your struct utmp has ut_user... yes
checking whether your struct utmp has ut_host... yes
checking whether your struct utmp has ut_exit... yes
checking whether your syslog.h defines LOG_CRON... yes
checking whether your syslog.h defines LOG_FTP... yes
checking for d_fd in DIR structure... no
checking for dd_fd in DIR structure... no
checking for __dd_fd in DIR structure... no
checking for working alloca.h... yes
checking for alloca... yes
checking for alloca in -lucb... no
checking whether gcc needs -traditional... no
checking whether setpgrp takes no argument... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for bcopy... yes
checking for crypt... yes
checking for fgetgrent... yes
checking for fgetpwent... yes
checking for flock... yes
checking for freeaddrinfo... yes
checking for gai_strerror... yes
checking for getaddrinfo... yes
checking for getcwd... yes
checking for getenv... yes
checking for gethostbyname2... yes
checking for gethostname... yes
checking for getnameinfo... yes
checking for getopt_long... yes
checking for gettimeofday... yes
checking for hstrerror... yes
checking for inet_aton... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for memcpy... yes
checking for mempcpy... yes
checking for mkdir... yes
checking for mkstemp... yes
checking for mlock... yes
checking for mlockall... yes
checking for munlock... yes
checking for munlockall... yes
checking for rmdir... yes
checking for select... yes
checking for setgroups... yes
checking for socket... yes
checking for statfs... yes
checking for strchr... yes
checking for strcoll... yes
checking for strerror... yes
checking for strsep... yes
checking for strtol... yes
checking for strtoull... yes
checking for setprotoent... yes
checking for endprotoent... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setsid... yes
checking for setgroupent... no
checking for seteuid... yes
checking for setegid... yes
checking for setenv... yes
checking for siginterrupt... yes
checking for setpgid... yes
checking for regcomp... yes
checking for tzset... yes
checking for unsetenv... yes
checking for pathconf... yes
checking for fpathconf... yes
checking for fgetspent... yes
checking for setpassent... no
checking for struct sockaddr_in.sin_len... no
checking whether struct addrinfo is defined... yes
checking whether struct sockaddr_storage is defined... yes
checking whether ss_family is defined... yes
checking whether ss_len is defined... no
checking whether __ss_len is defined... no
checking whether setgrent returns void... yes
checking for initscr in -lcurses... no
checking for initscr in -lncurses... yes
checking for setproctitle... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for setproctitle in -lutil... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking whether __progname and __progname_full are available... yes
checking which argv replacement method to use... writeable
checking whether printf supports %llu format... yes
checking whether gcc accepts -Wno-long-double... no
configure: creating ./config.status
config.status: creating lib/Makefile
config.status: creating modules/Makefile
config.status: creating src/Makefile
config.status: creating src/ftpdctl.8
config.status: creating src/proftpd.8
config.status: creating src/xferlog.5
config.status: creating utils/Makefile
config.status: creating utils/ftpcount.1
config.status: creating utils/ftpshut.8
config.status: creating utils/ftptop.1
config.status: creating utils/ftpwho.1
config.status: creating Makefile
config.status: creating Make.rules
config.status: creating config.h
config.status: executing default commands
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/proftpd-1.2.10/lib'
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c pr_fnmatch.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c sstrncpy.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c strsep.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c vsnprintf.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c glibc-glob.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c glibc-hstrerror.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c glibc-mkstemp.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c pr-syslog.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c pwgrent.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c getopt.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c getopt1.c
ar rc libsupp.a pr_fnmatch.o sstrncpy.o strsep.o vsnprintf.o glibc-glob.o glibc-hstrerror.o glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o
ranlib libsupp.a
make[1]: Leaving directory `/proftpd-1.2.10/lib'
cd src/ && make src
make[1]: Entering directory `/proftpd-1.2.10/src'
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c main.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c timers.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c sets.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c pool.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c regexp.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c dirtree.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c support.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c netaddr.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c inet.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c child.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c log.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c xferlog.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c bindings.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c netacl.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c class.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c scoreboard.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c help.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c feat.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c netio.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c response.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c ident.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c data.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c modules.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c auth.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c fsio.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mkhome.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c ctrls.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c event.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c ftpdctl.c
make[1]: Leaving directory `/proftpd-1.2.10/src'
cd modules/ && make modules
make[1]: Entering directory `/proftpd-1.2.10/modules'
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_core.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_xfer.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_auth_unix.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_auth_file.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_auth.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_ls.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_log.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_site.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_auth_pam.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_sql.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_sql_mysql.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_cap.c
srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_auth_pam.o mod_sql.o mod_sql_mysql.o mod_cap.o
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c module_glue.c
make[1]: Leaving directory `/proftpd-1.2.10/modules'
make[1]: Entering directory `/proftpd-1.2.10/lib/libcap'
=> making cap_names.c from <linux/capability.h>
cc -O2 -Wall -Llib _makenames.c -o _makenames
./_makenames > cap_names.h
cc -O2 -Wall -c cap_alloc.c -o cap_alloc.o
cc -O2 -Wall -c cap_proc.c -o cap_proc.o
cc -O2 -Wall -c cap_extint.c -o cap_extint.o
cc -O2 -Wall -c cap_flag.c -o cap_flag.o
cc -O2 -Wall -c cap_text.c -o cap_text.o
cc -O2 -Wall -c cap_sys.c -o cap_sys.o
ar rcu libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o
make[1]: Leaving directory `/proftpd-1.2.10/lib/libcap'
gcc -Llib -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o src/dirtree.o src/support.o src/netaddr.o src/inet.o src/child.o src/log.o src/xferlog.o src/bindings.o src/netacl.o src/class.o src/scoreboard.o src/help.o src/feat.o src/netio.o src/response.o src/ident.o src/data.o src/modules.o src/auth.o src/fsio.o src/mkhome.o src/ctrls.o src/event.omodules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/mod_auth_pam.o modules/mod_sql_mysql.o modules/mod_sql.o modules/module_glue.o -L/usr/lib/mysql -lsupp -lcrypt -Llib/libcap -lcap -lm -lz -lmysqlclient -lpam
cd utils/ && make utils
make[1]: Entering directory `/proftpd-1.2.10/utils'
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c ftpcount.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c scoreboard.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c ftpshut.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c ftptop.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c ftpwho.c
gcc -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c misc.c
make[1]: Leaving directory `/proftpd-1.2.10/utils'
gcc -Llib -o ftpcount utils/ftpcount.o utils/scoreboard.o
gcc -Llib -o ftpdctl src/ftpdctl.o src/pool.o src/netaddr.o src/log.o src/ctrls.o -L/usr/lib/mysql -lsupp -lcrypt -Llib/libcap -lcap -lm -lz -lmysqlclient -lpam
gcc -Llib -o ftpshut utils/ftpshut.o
gcc -Llib -o ftptop utils/ftptop.o utils/scoreboard.o -lncurses -lsupp
gcc -Llib -o ftpwho utils/ftpwho.o utils/scoreboard.o utils/misc.o -lsupp
cd lib/ && make lib
make[1]: Entering directory `/proftpd-1.2.10/lib'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/proftpd-1.2.10/lib'
cd src/ && make src
make[1]: Entering directory `/proftpd-1.2.10/src'
make[1]: Nothing to be done for `src'.
make[1]: Leaving directory `/proftpd-1.2.10/src'
cd modules/ && make modules
make[1]: Entering directory `/proftpd-1.2.10/modules'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/proftpd-1.2.10/modules'
make[1]: Entering directory `/proftpd-1.2.10/lib/libcap'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/proftpd-1.2.10/lib/libcap'
gcc -Llib -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o src/dirtree.o src/support.o src/netaddr.o src/inet.o src/child.o src/log.o src/xferlog.o src/bindings.o src/netacl.o src/class.o src/scoreboard.o src/help.o src/feat.o src/netio.o src/response.o src/ident.o src/data.o src/modules.o src/auth.o src/fsio.o src/mkhome.o src/ctrls.o src/event.omodules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/mod_auth_pam.o modules/mod_sql_mysql.o modules/mod_sql.o modules/module_glue.o -L/usr/lib/mysql -lsupp -lcrypt -Llib/libcap -lcap -lm -lz -lmysqlclient -lpam
cd utils/ && make utils
make[1]: Entering directory `/proftpd-1.2.10/utils'
make[1]: Nothing to be done for `utils'.
make[1]: Leaving directory `/proftpd-1.2.10/utils'
/usr/bin/install -c -s -o root -g root -m 0755 proftpd /usr/local/sbin/proftpd
if [ -f /usr/local/sbin/in.proftpd ] ; then \
rm -f /usr/local/sbin/in.proftpd ; \
fi
ln -s proftpd /usr/local/sbin/in.proftpd
chown -h root:root /usr/local/sbin/in.proftpd
/usr/bin/install -c -s -o root -g root -m 0755 ftpcount /usr/local/bin/ftpcount
/usr/bin/install -c -s -o root -g root -m 0755 ftpdctl /usr/local/bin/ftpdctl
/usr/bin/install -c -s -o root -g root -m 0755 ftpshut /usr/local/sbin/ftpshut
/usr/bin/install -c -s -o root -g root -m 0755 ftptop /usr/local/bin/ftptop
/usr/bin/install -c -s -o root -g root -m 0755 ftpwho /usr/local/bin/ftpwho
if [ ! -f /usr/local/etc/proftpd.conf ] ; then \
/usr/bin/install -c -o root -g root -m 0644 \
./sample-configurations/basic.conf \
/usr/local/etc/proftpd.conf ; \
fi
/usr/bin/install -c -o root -g root -m 0644 ./src/ftpdctl.8 /usr/local/man/man8
/usr/bin/install -c -o root -g root -m 0644 ./src/proftpd.8 /usr/local/man/man8
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftpshut.8 /usr/local/man/man8
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftpcount.1 /usr/local/man/man1
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftptop.1 /usr/local/man/man1
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftpwho.1 /usr/local/man/man1
/usr/bin/install -c -o root -g root -m 0644 ./src/xferlog.5 /usr/local/man/man5
Modules:
peacemobil:/proftpd-1.2.10 # ./proftpd -l
Compiled-in modules:
mod_core.c
mod_xfer.c
mod_auth_unix.c
mod_auth_file.c
mod_auth.c
mod_ls.c
mod_log.c
mod_site.c
mod_auth_pam.c
mod_sql.c
mod_sql_mysql.c
mod_cap.c
Mysql-Datenbank :
CREATE TABLE groups (
groupname varchar(30) NOT NULL default '',
gid int(11) NOT NULL default '0',
members varchar(255) default NULL
) TYPE=MyISAM;
--
-- Daten für Tabelle `groups`
--
INSERT INTO groups (groupname, gid, members) VALUES ('testgruppe', 2000, 'testuser');
CREATE TABLE users (
userid varchar(30) NOT NULL default '',
passwd varchar(30) NOT NULL default '',
uid int(11) default NULL,
gid int(11) default NULL,
homedir varchar(255) default NULL,
shell varchar(255) default NULL,
UNIQUE KEY userid (userid),
UNIQUE KEY uid (uid)
) TYPE=MyISAM;
--
-- Daten für Tabelle `users`
--
INSERT INTO users (userid, passwd, uid, gid, homedir, shell) VALUES ('testuser', 'blub', 2500, 2000, '/home/testuser', NULL);
Serverconfig :
ServerName "ProFTPD Server"
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30
# Set the user and group under which the server will run.
User nobody
Group nogroup
UseReverseDNS off
IdentLookups off
TransferLog /var/log/proftpd.xferlog
# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>
#
# Mysql Zugangskontrolle
CapabilitiesEngine off
AuthOrder mod_sql.c
SQLConnectInfo ftp@localhost ftp <pw>
SQLAuthenticate users groups usersetfast groupsetfast
SQLAuthTypes Plaintext Empty
SQLDefaultGID 65534
SQLDefaultUID 65534
SQLMinUserGID 1000
SQLMinUserUID 1000
SQLUserInfo users userid passwd uid gid homedir shell
SQLGroupInfo groups groupname gid members
SQLDefaultHomeDir /tmp
SQLLogFile /var/log/proftpd.sql.log
#
# Logging options
#
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
RequireValidShell off
# Log file/dir access
ExtendedLog /var/log/proftpd.access_log WRITE,READ write
# Record all logins
ExtendedLog /var/log/proftpd.auth_log AUTH auth
# Paranoia logging level....
ExtendedLog /var/log/proftpd.paranoid_log ALL default
SystemLog /var/log/proftpd.system.log
DEBUG OUTPUT :
peacemobil:/proftpd-1.2.10 # ./proftpd -nd9
- parsing '/usr/local/etc/proftpd.conf' configuration
- FS: using system open()
- FS: using system read()
- dispatching directive 'ServerName' to module mod_core
- dispatching directive 'ServerType' to module mod_core
- dispatching directive 'DefaultServer' to module mod_core
- dispatching directive 'Port' to module mod_core
- dispatching directive 'Umask' to module mod_core
- dispatching directive 'MaxInstances' to module mod_core
- dispatching directive 'User' to module mod_core
- dispatching auth request "getpwnam" to module mod_sql
- dispatching auth request "getpwnam" to module mod_auth_file
- dispatching auth request "getpwnam" to module mod_auth_unix
- dispatching directive 'Group' to module mod_core
- dispatching auth request "getgrnam" to module mod_sql
- dispatching auth request "getgrnam" to module mod_auth_file
- dispatching auth request "getgrnam" to module mod_auth_unix
- dispatching directive 'UseReverseDNS' to module mod_core
- dispatching directive 'IdentLookups' to module mod_core
- dispatching directive 'TransferLog' to module mod_core
- dispatching directive '<Limit>' to module mod_core
- dispatching directive 'DenyAll' to module mod_core
- dispatching directive '</Limit>' to module mod_core
- dispatching directive 'CapabilitiesEngine' to module mod_cap
- dispatching directive 'AuthOrder' to module mod_core
- FS: using system read()
- dispatching directive 'SQLConnectInfo' to module mod_sql
- dispatching directive 'SQLAuthenticate' to module mod_sql
- dispatching directive 'SQLAuthTypes' to module mod_sql
- dispatching directive 'SQLDefaultGID' to module mod_sql
- dispatching directive 'SQLDefaultUID' to module mod_sql
- dispatching directive 'SQLMinUserGID' to module mod_sql
- dispatching directive 'SQLMinUserUID' to module mod_sql
- dispatching directive 'SQLUserInfo' to module mod_sql
- dispatching directive 'SQLGroupInfo' to module mod_sql
- dispatching directive 'SQLDefaultHomedir' to module mod_sql
- dispatching directive 'SQLLogFile' to module mod_sql
- dispatching directive 'LogFormat' to module mod_log
- dispatching directive 'LogFormat' to module mod_log
- dispatching directive 'LogFormat' to module mod_log
- dispatching directive 'RequireValidShell' to module mod_auth
- dispatching directive 'ExtendedLog' to module mod_log
- dispatching directive 'ExtendedLog' to module mod_log
- dispatching directive 'ExtendedLog' to module mod_log
- FS: using system read()
- FS: using system read()
- dispatching directive 'SystemLog' to module mod_log
- FS: using system read()
- FS: using system close()
peacemobil.local -
peacemobil.local - Config for ProFTPD Server:
peacemobil.local - Limit
peacemobil.local - DenyAll
peacemobil.local - DefaultServer
peacemobil.local - Umask
peacemobil.local - UserID
peacemobil.local - UserName
peacemobil.local - GroupID
peacemobil.local - GroupName
peacemobil.local - IdentLookups
peacemobil.local - TransferLog
peacemobil.local - CapabilitiesEngine
peacemobil.local - AuthOrder
peacemobil.local - SQLConnectInfo
peacemobil.local - SQLAuthenticate
peacemobil.local - SQLAuthTypes
peacemobil.local - SQLDefaultGID
peacemobil.local - SQLDefaultUID
peacemobil.local - SQLMinUserGID
peacemobil.local - SQLMinUserUID
peacemobil.local - SQLUserTable
peacemobil.local - SQLUsernameField
peacemobil.local - SQLPasswordField
peacemobil.local - SQLUidField
peacemobil.local - SQLGidField
peacemobil.local - SQLHomedirField
peacemobil.local - SQLShellField
peacemobil.local - SQLGroupTable
peacemobil.local - SQLGroupnameField
peacemobil.local - SQLGroupGIDField
peacemobil.local - SQLGroupMembersField
peacemobil.local - SQLDefaultHomedir
peacemobil.local - SQLLogFile
peacemobil.local - RequireValidShell
peacemobil.local - ExtendedLog
peacemobil.local - ExtendedLog
peacemobil.local - ExtendedLog
peacemobil.local - dispatching auth request "getgroups" to module mod_sql
peacemobil.local - dispatching auth request "getgroups" to module mod_auth_file
peacemobil.local - dispatching auth request "getgroups" to module mod_auth_unix
peacemobil.local - SETUP PRIVS at main.c:2733
peacemobil.local - ROOT PRIVS at main.c:1967
peacemobil.local - RELINQUISH PRIVS at main.c:1974
peacemobil.local - ROOT PRIVS at main.c:2322
peacemobil.local - opening scoreboard '/usr/local/var/proftpd/proftpd.scoreboard'
peacemobil.local - RELINQUISH PRIVS at main.c:2348
peacemobil.local - ROOT PRIVS at inet.c:322
peacemobil.local - RELINQUISH PRIVS at inet.c:380
peacemobil.local - ProFTPD 1.2.10 (stable) (built Sun Apr 3 14:41:48 CEST 2005) standalone mode STARTUP
peacemobil.local - ROOT PRIVS at main.c:2185
peacemobil.local - RELINQUISH PRIVS at main.c:2187
peacemobil.local - FS: using system lstat()
peacemobil.local - ROOT PRIVS at main.c:1162
peacemobil.local - RELINQUISH PRIVS at main.c:1166
peacemobil.local (127.0.0.1[127.0.0.1]) - ROOT PRIVS at main.c:1011
peacemobil.local (127.0.0.1[127.0.0.1]) - SETUP PRIVS at main.c:1016
peacemobil.local (127.0.0.1[127.0.0.1]) - FTP session requested from unknown class
peacemobil.local (127.0.0.1[127.0.0.1]) - performing module session initializations
peacemobil.local (127.0.0.1[127.0.0.1]) - mod_cap/1.0: lowering of capabilities disabled
peacemobil.local (127.0.0.1[127.0.0.1]) - ROOT PRIVS at mod_sql.c:3657
peacemobil.local (127.0.0.1[127.0.0.1]) - RELINQUISH PRIVS at mod_sql.c:3659
peacemobil.local - FS: using system lstat()
peacemobil.local - FS: using system lstat()
peacemobil.local (127.0.0.1[127.0.0.1]) - mod_log: opening ExtendedLog '/var/log/proftpd.paranoid_log'
peacemobil.local (127.0.0.1[127.0.0.1]) - ROOT PRIVS at mod_log.c:1144
peacemobil.local (127.0.0.1[127.0.0.1]) - RELINQUISH PRIVS at mod_log.c:1146
peacemobil.local (127.0.0.1[127.0.0.1]) - mod_log: opening ExtendedLog '/var/log/proftpd.auth_log'
peacemobil.local (127.0.0.1[127.0.0.1]) - ROOT PRIVS at mod_log.c:1144
peacemobil.local (127.0.0.1[127.0.0.1]) - RELINQUISH PRIVS at mod_log.c:1146
peacemobil.local (127.0.0.1[127.0.0.1]) - mod_log: opening ExtendedLog '/var/log/proftpd.access_log'
peacemobil.local (127.0.0.1[127.0.0.1]) - ROOT PRIVS at mod_log.c:1144
peacemobil.local (127.0.0.1[127.0.0.1]) - RELINQUISH PRIVS at mod_log.c:1146
peacemobil.local (127.0.0.1[127.0.0.1]) - ROOT PRIVS at mod_auth.c:132
peacemobil.local (127.0.0.1[127.0.0.1]) - opening scoreboard '/usr/local/var/proftpd/proftpd.scoreboard'
peacemobil.local (127.0.0.1[127.0.0.1]) - RELINQUISH PRIVS at mod_auth.c:134
peacemobil.local (127.0.0.1[127.0.0.1]) - AuthOrder in effect, resetting auth module order
peacemobil.local (127.0.0.1[127.0.0.1]) - ident lookup disabled
peacemobil.local (127.0.0.1[127.0.0.1]) - connected - local : 127.0.0.1:21
peacemobil.local (127.0.0.1[127.0.0.1]) - connected - remote : 127.0.0.1:1883
peacemobil.local (127.0.0.1[127.0.0.1]) - FTP session opened.
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'USER testuser' to mod_core
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'USER testuser' to mod_core
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'USER testuser' to mod_auth
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching auth request "endpwent" to module mod_sql
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching auth request "endgrent" to module mod_sql
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching CMD command 'USER testuser' to mod_auth
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching auth request "getgroups" to module mod_sql
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching POST_CMD command 'USER testuser' to mod_sql
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching LOG_CMD command 'USER testuser' to mod_sql
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching LOG_CMD command 'USER testuser' to mod_log
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching auth request "endpwent" to module mod_sql
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching auth request "endgrent" to module mod_sql
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching CMD command 'PASS (hidden)' to mod_auth
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching auth request "getgroups" to module mod_sql
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching auth request "getpwnam" to module mod_sql
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching auth request "gid_name" to module mod_sql
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching auth request "auth" to module mod_sql
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching auth request "check" to module mod_sql
peacemobil.local (127.0.0.1[127.0.0.1]) - dispatching auth request "setgrent" to module mod_sql
peacemobil.local (127.0.0.1[127.0.0.1]) - ProFTPD terminating (signal 11)
peacemobil.local (127.0.0.1[127.0.0.1]) - FTP session closed.
peacemobil.local - FS: using system lstat()
peacemobil.local - ProFTPD terminating (signal 2)
peacemobil.local - ROOT PRIVS at main.c:1846
peacemobil.local - RELINQUISH PRIVS at main.c:1869
peacemobil.local - ProFTPD 1.2.10 standalone mode SHUTDOWN
peacemobil.local - ROOT PRIVS at main.c:1876
peacemobil.local - deleting existing scoreboard '/usr/local/var/proftpd/proftpd.scoreboard'
peacemobil.local - RELINQUISH PRIVS at main.c:1878
proftpd.sql.log Output :
Apr 03 14:44:54 mod_sql/4.11[17804]: backend module 'mod_sql_mysql/4.04'
Apr 03 14:44:54 mod_sql/4.11[17804]: backend api 'mod_sql_api_v1'
Apr 03 14:44:54 mod_sql/4.11[17804]: >>> sql_getconf
Apr 03 14:44:54 mod_sql/4.11[17804]: entering mysql cmd_defineconnection
Apr 03 14:44:54 mod_sql/4.11[17804]: name: 'default'
Apr 03 14:44:54 mod_sql/4.11[17804]: user: 'ftp'
Apr 03 14:44:54 mod_sql/4.11[17804]: host: 'localhost'
Apr 03 14:44:54 mod_sql/4.11[17804]: db: 'ftp'
Apr 03 14:44:54 mod_sql/4.11[17804]: port: '3306'
Apr 03 14:44:54 mod_sql/4.11[17804]: ttl: '0'
Apr 03 14:44:54 mod_sql/4.11[17804]: exiting mysql cmd_defineconnection
Apr 03 14:44:54 mod_sql/4.11[17804]: entering mysql cmd_open
Apr 03 14:44:54 mod_sql/4.11[17804]: connection 'default' opened
Apr 03 14:44:54 mod_sql/4.11[17804]: connection 'default' count is now 1
Apr 03 14:44:54 mod_sql/4.11[17804]: exiting mysql cmd_open
Apr 03 14:44:54 mod_sql/4.11[17804]: backend successfully connected.
Apr 03 14:44:54 mod_sql/4.11[17804]: mod_sql status : on
Apr 03 14:44:54 mod_sql/4.11[17804]: negative_cache : off
Apr 03 14:44:54 mod_sql/4.11[17804]: authenticate : users groups userset(fast) groupset(fast)
Apr 03 14:44:54 mod_sql/4.11[17804]: usertable : users
Apr 03 14:44:54 mod_sql/4.11[17804]: userid field : userid
Apr 03 14:44:54 mod_sql/4.11[17804]: password field : passwd
Apr 03 14:44:54 mod_sql/4.11[17804]: uid field : uid
Apr 03 14:44:54 mod_sql/4.11[17804]: gid field : gid
Apr 03 14:44:54 mod_sql/4.11[17804]: homedir field : homedir
Apr 03 14:44:54 mod_sql/4.11[17804]: homedir(default) : '/tmp'
Apr 03 14:44:54 mod_sql/4.11[17804]: shell field : shell
Apr 03 14:44:54 mod_sql/4.11[17804]: homedirondemand : false
Apr 03 14:44:54 mod_sql/4.11[17804]: group table : groups
Apr 03 14:44:54 mod_sql/4.11[17804]: groupname field : groupname
Apr 03 14:44:54 mod_sql/4.11[17804]: grp gid field : gid
Apr 03 14:44:54 mod_sql/4.11[17804]: grp members field : members
Apr 03 14:44:54 mod_sql/4.11[17804]: SQLMinUserUID : 1000
Apr 03 14:44:54 mod_sql/4.11[17804]: SQLMinUserGID : 1000
Apr 03 14:44:54 mod_sql/4.11[17804]: SQLDefaultUID : 65534
Apr 03 14:44:54 mod_sql/4.11[17804]: SQLDefaultGID : 65534
Apr 03 14:44:54 mod_sql/4.11[17804]: <<< sql_getconf
Apr 03 14:44:58 mod_sql/4.11[17804]: >>> cmd_endpwent
Apr 03 14:44:58 mod_sql/4.11[17804]: <<< cmd_endpwent
Apr 03 14:44:58 mod_sql/4.11[17804]: >>> cmd_endgrent
Apr 03 14:44:58 mod_sql/4.11[17804]: <<< cmd_endgrent
Apr 03 14:44:58 mod_sql/4.11[17804]: >>> cmd_getgroups
Apr 03 14:44:58 mod_sql/4.11[17804]: entering mysql cmd_escapestring
Apr 03 14:44:58 mod_sql/4.11[17804]: exiting mysql cmd_escapestring
Apr 03 14:44:58 mod_sql/4.11[17804]: cache miss for user 'testuser'
Apr 03 14:44:58 mod_sql/4.11[17804]: : entering mysql cmd_select
Apr 03 14:44:58 mod_sql/4.11[17804]: entering mysql cmd_open
Apr 03 14:44:58 mod_sql/4.11[17804]: connection 'default' count is now 2
Apr 03 14:44:58 mod_sql/4.11[17804]: exiting mysql cmd_open
Apr 03 14:44:58 mod_sql/4.11[17804]: query "SELECT userid, passwd, uid, gid, homedir, shell FROM users WHERE (userid='testuser') LIMIT 1"
Apr 03 14:44:58 mod_sql/4.11[17804]: entering mysql cmd_close
Apr 03 14:44:58 mod_sql/4.11[17804]: connection 'default' count is now 1
Apr 03 14:44:58 mod_sql/4.11[17804]: exiting mysql cmd_close
Apr 03 14:44:58 mod_sql/4.11[17804]: exiting mysql cmd_select
Apr 03 14:44:58 mod_sql/4.11[17804]: NULL shell column value, setting to ""
Apr 03 14:44:58 mod_sql/4.11[17804]: cache miss for user 'testuser'
Apr 03 14:44:58 mod_sql/4.11[17804]: user 'testuser' cached
Apr 03 14:44:58 mod_sql/4.11[17804]: + pwd.pw_name : testuser
Apr 03 14:44:58 mod_sql/4.11[17804]: + pwd.pw_uid : 2500
Apr 03 14:44:58 mod_sql/4.11[17804]: + pwd.pw_gid : 2000
Apr 03 14:44:58 mod_sql/4.11[17804]: + pwd.pw_dir : /home/testuser
Apr 03 14:44:58 mod_sql/4.11[17804]: + pwd.pw_shell :
Apr 03 14:44:58 mod_sql/4.11[17804]: cache miss for gid '2000'
Apr 03 14:44:58 mod_sql/4.11[17804]: : entering mysql cmd_select
Apr 03 14:44:58 mod_sql/4.11[17804]: entering mysql cmd_open
Apr 03 14:44:58 mod_sql/4.11[17804]: connection 'default' count is now 2
Apr 03 14:44:58 mod_sql/4.11[17804]: exiting mysql cmd_open
Apr 03 14:44:58 mod_sql/4.11[17804]: query "SELECT groupname FROM groups WHERE (gid = 2000) LIMIT 1"
Apr 03 14:44:58 mod_sql/4.11[17804]: entering mysql cmd_close
Apr 03 14:44:58 mod_sql/4.11[17804]: connection 'default' count is now 1
Apr 03 14:44:58 mod_sql/4.11[17804]: exiting mysql cmd_close
Apr 03 14:44:58 mod_sql/4.11[17804]: exiting mysql cmd_select
Apr 03 14:44:58 mod_sql/4.11[17804]: : entering mysql cmd_select
Apr 03 14:44:58 mod_sql/4.11[17804]: entering mysql cmd_open
Apr 03 14:44:58 mod_sql/4.11[17804]: connection 'default' count is now 2
Apr 03 14:44:58 mod_sql/4.11[17804]: exiting mysql cmd_open
Apr 03 14:44:58 mod_sql/4.11[17804]: query "SELECT groupname, gid, members FROM groups WHERE (groupname = 'testgruppe')"
Apr 03 14:44:58 mod_sql/4.11[17804]: entering mysql cmd_close
Apr 03 14:44:58 mod_sql/4.11[17804]: connection 'default' count is now 1
Apr 03 14:44:58 mod_sql/4.11[17804]: exiting mysql cmd_close
Apr 03 14:44:58 mod_sql/4.11[17804]: exiting mysql cmd_select
Apr 03 14:44:58 mod_sql/4.11[17804]: cache miss for group 'testgruppe'
Apr 03 14:44:58 mod_sql/4.11[17804]: group 'testgruppe' cached
Apr 03 14:44:58 mod_sql/4.11[17804]: + grp.gr_name : testgruppe
Apr 03 14:44:58 mod_sql/4.11[17804]: + grp.gr_gid : 2000
Apr 03 14:44:58 mod_sql/4.11[17804]: + grp.gr_mem : testuser
Apr 03 14:44:58 mod_sql/4.11[17804]: : entering mysql cmd_select
Apr 03 14:44:58 mod_sql/4.11[17804]: entering mysql cmd_open
Apr 03 14:44:58 mod_sql/4.11[17804]: connection 'default' count is now 2
Apr 03 14:44:58 mod_sql/4.11[17804]: exiting mysql cmd_open
Apr 03 14:44:58 mod_sql/4.11[17804]: query "SELECT groupname, gid, members FROM groups WHERE (members = 'testuser' OR members LIKE 'testuser,%' OR members LIKE '%,testuser' OR members LIKE '%,testuser,%')"
Apr 03 14:44:58 mod_sql/4.11[17804]: entering mysql cmd_close
Apr 03 14:44:58 mod_sql/4.11[17804]: connection 'default' count is now 1
Apr 03 14:44:58 mod_sql/4.11[17804]: exiting mysql cmd_close
Apr 03 14:44:58 mod_sql/4.11[17804]: exiting mysql cmd_select
Apr 03 14:44:58 mod_sql/4.11[17804]: cache hit for group 'testgruppe'
Apr 03 14:44:58 mod_sql/4.11[17804]: <<< cmd_getgroups
Apr 03 14:45:01 mod_sql/4.11[17804]: >>> cmd_endpwent
Apr 03 14:45:01 mod_sql/4.11[17804]: <<< cmd_endpwent
Apr 03 14:45:01 mod_sql/4.11[17804]: >>> cmd_endgrent
Apr 03 14:45:01 mod_sql/4.11[17804]: <<< cmd_endgrent
Apr 03 14:45:01 mod_sql/4.11[17804]: >>> cmd_getgroups
Apr 03 14:45:01 mod_sql/4.11[17804]: cache hit for user 'testuser'
Apr 03 14:45:01 mod_sql/4.11[17804]: cache hit for group testgruppe
Apr 03 14:45:01 mod_sql/4.11[17804]: : entering mysql cmd_select
Apr 03 14:45:01 mod_sql/4.11[17804]: entering mysql cmd_open
Apr 03 14:45:01 mod_sql/4.11[17804]: connection 'default' count is now 2
Apr 03 14:45:01 mod_sql/4.11[17804]: exiting mysql cmd_open
Apr 03 14:45:01 mod_sql/4.11[17804]: query "SELECT groupname, gid, members FROM groups WHERE (members = 'testuser' OR members LIKE 'testuser,%' OR members LIKE '%,testuser' OR members LIKE '%,testuser,%')"
Apr 03 14:45:01 mod_sql/4.11[17804]: entering mysql cmd_close
Apr 03 14:45:01 mod_sql/4.11[17804]: connection 'default' count is now 1
Apr 03 14:45:01 mod_sql/4.11[17804]: exiting mysql cmd_close
Apr 03 14:45:01 mod_sql/4.11[17804]: exiting mysql cmd_select
Apr 03 14:45:01 mod_sql/4.11[17804]: cache hit for group 'testgruppe'
Apr 03 14:45:01 mod_sql/4.11[17804]: <<< cmd_getgroups
Apr 03 14:45:01 mod_sql/4.11[17804]: >>> cmd_getpwnam
Apr 03 14:45:01 mod_sql/4.11[17804]: cache hit for user 'testuser'
Apr 03 14:45:01 mod_sql/4.11[17804]: <<< cmd_getpwnam
Apr 03 14:45:01 mod_sql/4.11[17804]: >>> cmd_gid2name
Apr 03 14:45:01 mod_sql/4.11[17804]: cache hit for group testgruppe
Apr 03 14:45:01 mod_sql/4.11[17804]: <<< cmd_gid2name
Apr 03 14:45:01 mod_sql/4.11[17804]: >>> cmd_auth
Apr 03 14:45:01 mod_sql/4.11[17804]: entering mysql cmd_escapestring
Apr 03 14:45:01 mod_sql/4.11[17804]: exiting mysql cmd_escapestring
Apr 03 14:45:01 mod_sql/4.11[17804]: cache hit for user 'testuser'
Apr 03 14:45:01 mod_sql/4.11[17804]: >>> cmd_check
Apr 03 14:45:01 mod_sql/4.11[17804]: checking auth_type Plaintext
Apr 03 14:45:01 mod_sql/4.11[17804]: 'Plaintext' auth handler reports success
Apr 03 14:45:01 mod_sql/4.11[17804]: cache hit for user 'testuser'
Apr 03 14:45:01 mod_sql/4.11[17804]: <<< cmd_check
Apr 03 14:45:01 mod_sql/4.11[17804]: <<< cmd_auth
Apr 03 14:45:01 mod_sql/4.11[17804]: >>> cmd_setgrent
Apr 03 14:45:01 mod_sql/4.11[17804]: : entering mysql cmd_select
Apr 03 14:45:01 mod_sql/4.11[17804]: entering mysql cmd_open
Apr 03 14:45:01 mod_sql/4.11[17804]: connection 'default' count is now 2
Apr 03 14:45:01 mod_sql/4.11[17804]: exiting mysql cmd_open
P.S.: Ich habe schon viele weitere Config´s getestet ... der Server läuft jedoch noch nicht einmal ohne mod_sql,mod_sql_mysql auf Basis der /etc/passwd ... denn dann kommt immer 530 Login Incorrect...