LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache LDAP auth with local users - getting warnings - possible to suppress? (https://www.linuxquestions.org/questions/linux-software-2/apache-ldap-auth-with-local-users-getting-warnings-possible-to-suppress-748237/)

laggerific 08-17-2009 03:34 PM

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

laggerific 08-18-2009 06:32 PM

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.