MiediwWiki LDAP配置脚本

# LDAP

require_once 'extensions/LdapAuthentication/LdapAuthentication.php';

require_once 'includes/AuthPlugin.php';

$wgLDAPDomainNames = array( 'phicomm-networks');

$wgLDAPServerNames = array( 'phicomm-networks'=> '172.16.100.8');

$wgLDAPEncryptionType = array('phicomm-networks'=> 'SSL');

$wgLDAPProxyAgent =  array('phicomm-networks' => 'CN=admini,OU=freecomm,DC=freecomm-networks,DC=com');

$wgLDAPProxyAgentPassword = array('phicomm-networks' => 'freecommfreecomm');

$wgLDAPUseLocal = true;

$wgMinimalPasswordLength = 1;

$wgLDAPBaseDNs = array ('phicomm-networks'=> 'OU=freecomm,DC=freecomm-networks,DC=com');

$wgLDAPSearchAttributes = array ('phicomm-networks'=> 'sAMAccountName');

$wgLDAPDebug = 5;

$wgFileExtensions = array('pdf','png','jpg','jpeg','ogg','doc','xls','ppt','mp3','sxc','nse','mmp','docx','xlsx','txt','et','wps','dps');

#以新窗口打开外部链接
$wgExternalLinkTarget='_blank';

$wgUseImageResize = true;
$wgUseImageMagick = true;

$wgImageMagickConvertCommand = "/usr/bin/convert"



你可能感兴趣的:(配置管理工具)