Forum Moderators: phranque
I've installed apache 2.2.4 on a windows server. For my documentroot folder, I have this <directory> block:
<Directory "Q:\browsethevob">
Options Indexes FollowSymLinks Includes ExecCGI
Order allow,deny
Allow from all
AuthType Basic
AuthName "BTV - please use corporate login (lowercase)"
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthLDAPURL ldap://ourldap.company.com:389/ou=people,dc=company,dc=com?cn
require valid-user
</Directory>
I am not an apache hero, more like hacking around till it works...
Two problems:
1. When I turn on AuthzLDAPAuthoritative, the login box will reappaer each time I type my login and pass, not giving me access but just asking for the login/pass over and over again. Do note that I have no other auth methods defined in my httpd.conf. Anyone any idea on this?
2. When I turn off AuthzLDAPAuthoritative, I will get the login box. So far so good? Anyway:
a. I type my correct login and pass: I get access to my page.
b. I type in a wrong login and/or pass: the login box will reappear over and over till I get it right.
c. When I just leave the login field empty (regardless of what I type as a password) and press ok, I will get a 500 server error.
d. Regardless of what I type, when I press cancel, I will get my proper "Failed to authenticate" page.
Any ideas? Anyone seen this?
Thank you very much in advance for any hints you might come up with.
Jaz