aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mediawiki
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-06-19 19:15:19 +0000
committerMichael Scherer <misc@mageia.org>2011-06-19 19:15:19 +0000
commita6da54bea946b14d84b0e79d72efd613618e6130 (patch)
tree18caf252db96b0f070f8b5f73d8c00019030cc35 /modules/mediawiki
parent56104406dcb345ba7e21d2c23940fccdf76eea36 (diff)
downloadpuppet-a6da54bea946b14d84b0e79d72efd613618e6130.tar
puppet-a6da54bea946b14d84b0e79d72efd613618e6130.tar.gz
puppet-a6da54bea946b14d84b0e79d72efd613618e6130.tar.bz2
puppet-a6da54bea946b14d84b0e79d72efd613618e6130.tar.xz
puppet-a6da54bea946b14d84b0e79d72efd613618e6130.zip
add some comments in case of needing debug
Diffstat (limited to 'modules/mediawiki')
-rw-r--r--modules/mediawiki/templates/LocalSettings.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/mediawiki/templates/LocalSettings.php b/modules/mediawiki/templates/LocalSettings.php
index 5e4331c7..a84857c8 100644
--- a/modules/mediawiki/templates/LocalSettings.php
+++ b/modules/mediawiki/templates/LocalSettings.php
@@ -125,7 +125,16 @@ $wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) )
require_once 'extensions/LdapAuthentication/LdapAuthentication.php';
$wgAuth = new LdapAuthenticationPlugin();
-
+
+## uncomment to debug
+# $wgLDAPDebug = 10;
+# $wgDebugLogGroups["ldap"] = "/tmp/wiki_ldap.log";
+#
+# $wgDebugLogFile = "/tmp/wiki.log";
+#
+
+$wgLDAPUseLocal = false;
+
$wgLDAPDomainNames = array( 'ldap');
#TODO make it workable with more than one server