Apache Authentication: Realm AuthName


I think the directive AuthName <Realm> is the problem.  As the name is NOT consistent before, it must have kept popping up dialogs for different “Realms”.  
      (please refer to apache httpd doc 2.2 http://httpd.apache.org/docs/2.2/howto/auth.html )
PLEASE test it now.  Apache is restarted.


PS: 
We changed ALL the scopes of directive “<Directory…>” to fit into a template as shown below:

<Directory “<directory-for-an-FTS-TOOL>” >
        AllowOverride None
        AuthType Basic
        AuthName "CEC Realm"
        AuthBasicProvider ldap
        AuthLDAPURL "ldaps://ds.cisco.com:636/ou=Employees,ou=Cisco Users,dc=cisco,dc=com?cn?sub"
        AuthLDAPBindDN "cn=eportal_adm_gen.gen,ou=Generics,ou=Cisco Users,dc=cisco,dc=com"
        AuthLDAPBindPassword "chang3m3"
        AuthzLDAPAuthoritative off
        Require valid-user
        ErrorDocument 401 "Please use your CEC username and password to login."

</Directory>

Popular Posts