LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-17-2009, 03:34 PM   #1
laggerific
Member
 
Registered: Jan 2006
Posts: 65

Rep: Reputation: 15
Question 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
 
Old 08-18-2009, 06:32 PM   #2
laggerific
Member
 
Registered: Jan 2006
Posts: 65

Original Poster
Rep: Reputation: 15
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?

Last edited by laggerific; 08-18-2009 at 07:53 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ldap apache auth issues kcorupe Linux - Server 1 05-16-2008 03:34 AM
Apache 2 LDAP auth noir911 Linux - Server 1 02-24-2008 10:42 PM
Enabling LDAP auth for Apache 2.0.55 HSukirman Linux - Software 3 06-07-2006 03:56 AM
Struggling to setup a Debian/etch desktop: LDAP users and LOCAL users jferrando Linux - Networking 1 05-05-2006 03:44 PM
ldap as auth server, users sometimes unknown ?? rhoekstra Fedora 2 09-05-2005 01:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration