Apache not failing back to UserFile authentication after ldap fails why?

Solution Unverified - Updated -

Issue

  • Apache not failing back to UserFile authentication after ldap fails. Ldap authentication is working with apache, it fails to read the htpasswd file for a non ldap user.

Configuration file for apache

 
DocumentRoot /var/www/html/ 
ServerName blabla
 
    Options ExecCGI Includes +Indexes FollowSymLinks 
    AllowOverride None 
    Order allow,deny 
    Allow from all 
    AuthzUserAuthoritative Off 
    AuthzLDAPAuthoritative off 
    AuthUserFile /etc/httpd/user 
    AuthBasicProvider ldap 
    AuthLDAPURL ldap://xxx/OU=xx,DC=xx,DC=xx?sAMAccountName?sub?(ob                                                                                                                               jectClass=user) 
    AuthLDAPBindDN "cn=Apache DPR1,ou=xxxx,ou=DP,ou=Linux Servers,ou=Server                                                                                                                               s,dc=na,dc=ipsos" 
    AuthLDAPBindPassword ****** 
    AuthType Basic 
    AuthName "SecureLogin" 
    require valid-user 
  

Environment

Red Hat Enterprise linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.