diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-10-22 23:11:13 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-10-22 23:11:13 +0000 |
commit | 89110d3f9537e8bc5dfc49b106407063ff5c3aa8 (patch) | |
tree | e0b5ffb09193b2f52cc725dec1c939590c5e4872 /modules/mediawiki/templates | |
parent | e1e0fdff23652aa840b7e24b402abad10c52c35b (diff) | |
download | puppet-89110d3f9537e8bc5dfc49b106407063ff5c3aa8.tar puppet-89110d3f9537e8bc5dfc49b106407063ff5c3aa8.tar.gz puppet-89110d3f9537e8bc5dfc49b106407063ff5c3aa8.tar.bz2 puppet-89110d3f9537e8bc5dfc49b106407063ff5c3aa8.tar.xz puppet-89110d3f9537e8bc5dfc49b106407063ff5c3aa8.zip |
add ldap groups config
Diffstat (limited to 'modules/mediawiki/templates')
-rw-r--r-- | modules/mediawiki/templates/LocalSettings.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/mediawiki/templates/LocalSettings.php b/modules/mediawiki/templates/LocalSettings.php index 7fa8279a..8a511898 100644 --- a/modules/mediawiki/templates/LocalSettings.php +++ b/modules/mediawiki/templates/LocalSettings.php @@ -144,7 +144,9 @@ $wgLDAPSearchStrings = array( 'ldap' => 'uid=USER-NAME,ou=People,<%= dc_suffix % $wgLDAPEncryptionType = array( 'ldap' => 'tls'); -$wgLDAPBaseDNs = array( 'ldap' => 'ou=People,<%= dc_suffix %>'); +$wgLDAPBaseDNs = array( 'ldap' => '<%= dc_suffix %>'); +$wgLDAPUserBaseDNs = array( 'ldap' => 'ou=People,<%= dc_suffix %>'); +$wgLDAPGroupBaseDNs = array ( 'ldap' => 'ou=Group,<%= dc_suffix %>' ); $wgLDAPProxyAgent = array( 'ldap' => 'cn=mediawiki-alamut,ou=System Accounts,<%= dc_suffix %>'); @@ -152,6 +154,10 @@ $wgLDAPProxyAgentPassword = array( 'ldap' => '<%= ldap_password %>' ); $wgLDAPUseLDAPGroups = array( "ldap" => true ); $wgLDAPGroupNameAttribute = array( "ldap" => "cn" ); +$wgLDAPGroupUseFullDN = array( 'ldap' => true ); +$wgLDAPLowerCaseUsername => array( 'ldap' => true ); +$wgLDAPGroupObjectclass => array( 'ldap' => 'posixGroup' ); +$wgLDAPGroupAttribute => array( 'ldap' => 'member' ); $wgLDAPLowerCaseUsername = array( "ldap" => true ); |