[packages/nagios] - require all granted defeats the whole purpoese of auth, remove it - comment out ldap example

baggins baggins at pld-linux.org
Sat Aug 17 14:57:15 CEST 2013


commit 2e1c5faa9e26ab60d3e58f6bf4d860b1b03efd29
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Aug 17 14:55:08 2013 +0200

    - require all granted defeats the whole purpoese of auth, remove it
    - comment out ldap example

 nagios-httpd.conf | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/nagios-httpd.conf b/nagios-httpd.conf
index f7baaec..ea8da10 100644
--- a/nagios-httpd.conf
+++ b/nagios-httpd.conf
@@ -11,15 +11,14 @@
 	<IfModule mod_ssl.c>
 		SSLRequireSSL
 
-		Require all granted
 		AuthType Basic
 		AuthName "Nagios"
 
 		# LDAP based Authz. Apache 1.3
-		<IfModule mod_auth_ldap.c>
-			AuthLDAPEnabled on
-			AuthLDAPURL ldap://ldap.example.org/ou=People,dc=example,dc=org?uid?sub?(objectClass=*)
-		</IfModule>
+#		<IfModule mod_auth_ldap.c>
+#			AuthLDAPEnabled on
+#			AuthLDAPURL ldap://ldap.example.org/ou=People,dc=example,dc=org?uid?sub?(objectClass=*)
+#		</IfModule>
 
 		AuthUserFile /etc/webapps/nagios/passwd
 		AuthGroupFile /etc/webapps/nagios/group
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios.git/commitdiff/2b88845925831aa57221e99167fc9aeabc0c4f15



More information about the pld-cvs-commit mailing list