The config looks like this:
# Password protect bugzilla with native LDAP plugin
<Location /bugzilla>
AuthType Basic
AuthName "User principal name"
AuthLDAPEnabled on
AuthLDAPBindDN zzz
AuthLDAPBindPassword zzz
AuthLDAPURL ldap://zzz:3268/?userPrincipalName,mail,cn?sub
AuthLDAPAuthoritative on
require valid-user
Satisfy all
</Location>
# Password protect this entire website using Redhat LDAP plugin
<Location />
AuthName "Username"
AuthzLDAPMethod ldap
AuthzLDAPAuthoritative on
AuthzLDAPServer zzz:3268
AuthzLDAPUserBase zzz
AuthzLDAPUserKey sAMAccountName
AuthzLDAPUserScope subtree
AuthzLDAPBindDN zzz
AuthzLDAPBindPassword zzz
AuthType basic
require valid-user
Order allow,deny
Allow from 127.0.0.1/32 10.182.227.16
Satisfy Any
</Location>
Untested (don't have an LDAP server at hand to test) : Create two
aliases with AuthnProviderAlias, and use AuthBasicProvider with the
alias names in the Location containers.
Joost