httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terry <td3...@gmail.com>
Subject [users@httpd] multiple authentication methods in a <directory>
Date Mon, 09 Aug 2010 00:44:36 GMT
Hello,

I am using auth_pam to authenticate local users to a directory as such:

        <Directory "/usr/share/nagios">
                Options None
                AllowOverride None
                Order allow,deny
                Allow from all
                AuthType Basic
                AuthName "Nagios"
                require group DOMAIN\administrators
        </Directory>

This works great but I have an automated program that isn't accepting
the credentials so as a workaround, I want to also allow users who are
part of a htpasswd file like this:

        <Directory "/usr/share/nagios">
                Options None
                AllowOverride None
                Order allow,deny
                Allow from all
                AuthType Basic
                AuthName "Nagios"
                require group DOMAIN\administrators
               AuthPAM_FallThrough on
               AuthUserFile /etc/nagios/htpasswd.users
               require user foobar
        </Directory>

It simply doesn't work.  I tried Satisfy Any but that appears to be a
satisfy of "allow from" OR "require".  Any ideas?

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message