Apache LDAP auth with local users - getting warnings - possible to suppress?
I have an Apache 2.x setup that is configured to authenticate over LDAP primarily, but there are 2 local htpasswd accounts that we want to utilize. This config is working, that is LDAP users and the local accounts can all log in, but we are getting a massive amount of LDAP authentication errors, which are caused by the local accounts failing LDAP auth - which makes sense. These logs quickly fill up the file system.
Is there a way to suppress these warnings? I am curious if there is something in the configuration to alleviate the problem. AuthzLDAPAuthoritative off AuthUserFile /htpasswd AuthType Basic AuthName "Production" Require usery userx AuthBasicProvider ldap file AuthLDAPBindDN "somestring" AuthLDAPBindPassword "pass" AuthLDAPURL "URL" Require ldap-group FQDN Require ldap-group FQDN |
I did turn off warning for the time being, as I figured it would be better to at least get error logging and above, than to leave warning on and have the log directory fill up.
I'm really curious, though, if there is a way to get apache to deal better with multiple authentication paths. Now, as for logging...is it generally better to leave warn level logging on? Or can I use it similar to debug level, such as turn it on when an issue is showing up? |
All times are GMT -5. The time now is 07:50 PM. |