Joe Seeley wrote:
I am trying to use Apache LDAP authentication and proxying to make sure users exist in our LDAP repository. This is working, but the user is always prompted to login multiple times. In Firefox the users are prompted twice for their login; in IE the users are prompted three times for their login.My conf file looks something like this. ProxyRequests Off ProxyPass / http://localhost:5000/ ProxyPassReverse / http://localhost:5000 <http://localhost:5000>
Why do you have <http://localhost:5000> ?
ProxyHTMLURLMap http://localhost:5000 http://1.2.3.4 ProxyHTMLURLMap http://localhost:5000 http://1.2.3.5 <Location /> ProxyPassReverse http://localhost:5000 SetOutputFilter proxy-html ProxyHTMLURLMap / / AuthLDAPEnabled on AuthLDAPAuthoritative onAuthLDAPURL "ladp://myserver:3268/DC=FOO,DC=BAR,DC=COM?sAMAccountName?sub?"
I assume from this that you are trying to bind and authenticate against an AD server?
AuthLDAPBindDN 'ldapuser@xxxxxxxxxxx <mailto:ldapuser@xxxxxxxxxxx>"
AuthLDAPBindPassword "password" AuthType Basic AuthName "Login in using your domain login." require valid-user </Location>If you see a mistake in my conf file, or understand why this is prompting for multiple logins I would appreciate any advice.Thanks, Joe
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature