[users@httpd] problem with mod_auth and mod_auth_pam working together

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

 



I'm running Apache 1.3.34 along with mod_auth and mod_auth_pam.
I am trying to make a link available to anyone in /etc/passwd or VIA
mod_auth basic authentication.

The .htaccess is as follows:

AuthType Basic
AuthUserFile /cs/home/jas/passwords
AuthPAM_Enabled on
AuthPAM_FallThrough on
AuthAuthoritative Off
Require valid-user

Everything works except when the username that is entered does not exist in /etc/passwd AND does not exist in the basic password file. When this
happens, the web server records:

configuration error:  couldn't check user.  No user file?: /~jas/mylink

... but there is definately a user file there since valid username and password combos work.

I don't think the problem is mod_auth_pam .. it seems to be falling through correctly. It is as if when mod_auth fails, it sends the request off into the bit bucket instead of realizing that it is at the end of the chain.

How can I tell Apache with AuthAuthoritative turned off to "stop" after mod_auth fails? How can I determine if there is some other authentication it is secretly trying?

Thanks for any help you can provide..

Jason.


---------------------------------------------------------------------
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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux