I am authenticating my users with the following configuration (simplified)
<AuthnProviderAlias ldap server1>
AuthLDAPURL ldap://server1/whatever?uid?one?
</AuthnProviderAlias>
<AuthnProviderAlias ldap server2>
AuthLDAPURL ldap://server2/whatever?uid?one?
</AuthnProviderAlias>
<Location />
AuthName "Realm"
AuthType Basic
AuthBasicProvider server1 server2
AuthzLDAPAuthoritative off
require valid-user
</Location>
Is there any way I can know if which LDAP server my user was authenticated from? When the authentication is sucessful I'd like to set an HTTP header (something like "SourceLDAPServer: server2") to be able to tell which server the user was valid in. Is that possible with Apache 2.2.x?