On Tue, 2003-04-29 at 07:19, David Lupo wrote:
Try the apache PAM authentication module:
http://pam.sourceforge.net/mod_auth_pam/
You can configure it to use the same users/passwords that are used for login. If you use shadow passwords, be sure to read the note on that in the FAQ.
I always wondered why this module is not included in the Red Hat distribution. It sounds like such a basic feature, and like something that many users would need. Maybe it's kinda buggy yet, or something like that?
It doesn't work if you're using shadow passwords, because apache can't read the shadow file.
It doesn't work if you're using pam_smb, because that module will only work for the root user (built-in limitation).
It doesn't work if you're using pam_ldap, probably for the same reason.
Two out of three are stupid built-in limitations that should be eliminated, AFAIK. That may not be why Red Hat doesn't include it, but that's why it's currently so hard to use.