PAM and Apache2.0.40

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody,

I searched the web for this question but no hope.

I am simply trying to get Apache2 to use PAM for
authentication:

My system looks like this:

RH9.0 - Kernel 2.4.20-19.9

Apache from RH9 rpms:
httpd-2.0.40-21.3
httpd-devel-2.0.40-21.3

GCC from RH9 rpms:
gcc-3.2.2-5
compat-gcc-7.3-2.96.118
gcc-gnat-3.2.2-5
gcc-c++-3.2.2-5
gcc-g77-3.2.2-5
compat-gcc-c++-7.3-2.96.118
libgcc-3.2.2-5
gcc-java-3.2.2-5

PAM from RH9 rpms:
pam-0.75-48
pam_krb5-1.60-1
pam_smb-1.1.6-7
pam-devel-0.75-48

mod_auth_pam-2.0-1.1.1 from
http://pam.sourceforge.net/mod_auth_pam/

What I did so far (as root):

1.) unzipped mod_auth_pam-2.0-1.1.1 in an own folder
2.) make
3,) make install

everything compiled without errors.

4.) stopped httpd to edit /etc/httpd/conf/httpd.conf
5.) made following entries :
<Directory /var/www/html/secret>
   AuthPAM_Enabled on
   AllowOverride None
   AuthName "Test Secrets"
   AuthType "basic"
   require group secret
</Directory>
6.) when starting up httpd comes the message:
Starting httpd: Syntax error on line 573 of
/etc/httpd/conf/httpd.conf:
Invalid command 'AuthPAM_Enabled', perhaps mis-spelled
or defined by a 
module not included in the server configuration

7.) so I added the following line to httpd.conf:
LoadModule pam_auth_module
/usr/lib/httpd/modules/mod_auth_pam.so

in the LoadModule section

now I get the following message, when starting httpd:

Can't locate API module structure `pam_auth_module' in
file /usr/lib/httpd/modules/mod_auth_pam.so:
/usr/lib/libapr.so.0: undefined symbol:
pam_auth_module

any ideas how to fix this ?

Thanks in advance,
Robert


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux