Dear, I would like to add authentication (against the unix shadow file) to my apache web server. But with the ability to lockout a user after 5 incorrect attempts (in order to lockout script-kiddies / password-trial-programs). For what I 've read about this on the web. This combination should work : - Red Hat Enterprise linux 3 (3.2.3-20) - Kernel 2.4.21-4.EL - apache 2.0.46-25.ent - mod_auth_external-2.2.11 - pwauth-2.3.2 - pam-0.75-51 at least : I 'm trying to get this working. Everything went fine, until the moment I try to compile pwauth with PAM support Before compiling pwauth, I changed the config.h to use PAM : < /* #define SHADOW_SUN /* Linux, Solaris, IRIX */ < #define PAM /* Linux PAM or OpenPAM*/ < /* #define NOLOGIN_FILE "/etc/nologin" /**/ < /* #define MIN_NOLOGIN_UID 1 /**/ < #define SERVER_UIDS 48 /* user "apache" */ Compilation of all pwauth-c-files goes fine, but the linker gives this error : gcc -o pwauth -g main.o auth_aix.o auth_bsd.o auth_hpux.o \ auth_mdw.o auth_openbsd.o auth_pam.o auth_sun.o fail_log.o \ lastlog.o nologin.o snooze.o -lcrypt auth_pam.o(.text+0x1f8): In function `check_auth': /root/download/mod_auth/pwauth-2.3.2/auth_pam.c:174: undefined reference to `pam_start' auth_pam.o(.text+0x214):/root/download/mod_auth/pwauth-2.3.2 /auth_pam.c:177: undefined reference to `pam_authenticate' auth_pam.o(.text+0x22d):/root/download/mod_auth/pwauth-2.3.2 /auth_pam.c:180: undefined reference to `pam_acct_mgmt' auth_pam.o(.text+0x241):/root/download/mod_auth/pwauth-2.3.2 /auth_pam.c:182: undefined reference to `pam_end' collect2: ld returned 1 exit status make: *** [pwauth] Error 1 Two questions about this : 1) What am I doing wrong / What am I missing .... to make this program compile without errors ??? 2) Am I using the right programs to achive my goal (ie: password authentication against simple user-database with the ability to lockout password-trial-programs) ?? Thanks in Advance, Koen. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx