multiple authentication methods in a <directory>

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

 



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