王鸿瑞
2007-10-18 01:47:05 UTC
Hi
I have a AD server, it's domain name is exchangetest.umtest.local. I want
to configure mediawiki using AD authentication. For example, A user login
mediawiki, if he is in AD, then he will be created in mediawiki and log on
successfully, if he is not in AD, he will log on failed.
I have read about LDAP Authentication,but can't resolve the issue. my
LocallSeting.php is like below:
$wgGroupPermissions['*' ]['createaccount'] = false;
$wgGroupPermissions['user']['createaccount'] = false;
$wgGroupPermissions['*']['read'] = true;
$wgGroupPermissions['*']['edit'] = false;
$require_once("extensions/LdapAuthentication.php");
$wgAuth= new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array( "exchangetest" );
$wgLDAPServerNames = array( "exchangetest"=>"
exchangetest.exchangetest.umtest.local" );
$wgLDAPProxyAgent =
array("exchangetest"=>"cn=administrator,cn=users,dc=exchangetest,dc=umtest,dc=local");
$wgLDAPProxyAgentPassword = array("exchangetest"=>"Password");
$wgLDAPSearchAttributes = array ("exchangestest"=>"sAMAccountName");
$wgLDAPBaseDNs = array("dc=exchangetest,dc=umtest,dc=local");
$wgLDAPUseSSL = array( "exchangetest"=>"ssl");
$wgLDAPUseLocal = false;
$wgLDAPDisableAutoCreate = array("exchangetest"=>"false");
$wgMinimalPasswordLength = 1;
I am a newbie on mediawiki, Could you please give me some advice?
Best Regards
hrwang
I have a AD server, it's domain name is exchangetest.umtest.local. I want
to configure mediawiki using AD authentication. For example, A user login
mediawiki, if he is in AD, then he will be created in mediawiki and log on
successfully, if he is not in AD, he will log on failed.
I have read about LDAP Authentication,but can't resolve the issue. my
LocallSeting.php is like below:
$wgGroupPermissions['*' ]['createaccount'] = false;
$wgGroupPermissions['user']['createaccount'] = false;
$wgGroupPermissions['*']['read'] = true;
$wgGroupPermissions['*']['edit'] = false;
$require_once("extensions/LdapAuthentication.php");
$wgAuth= new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array( "exchangetest" );
$wgLDAPServerNames = array( "exchangetest"=>"
exchangetest.exchangetest.umtest.local" );
$wgLDAPProxyAgent =
array("exchangetest"=>"cn=administrator,cn=users,dc=exchangetest,dc=umtest,dc=local");
$wgLDAPProxyAgentPassword = array("exchangetest"=>"Password");
$wgLDAPSearchAttributes = array ("exchangestest"=>"sAMAccountName");
$wgLDAPBaseDNs = array("dc=exchangetest,dc=umtest,dc=local");
$wgLDAPUseSSL = array( "exchangetest"=>"ssl");
$wgLDAPUseLocal = false;
$wgLDAPDisableAutoCreate = array("exchangetest"=>"false");
$wgMinimalPasswordLength = 1;
I am a newbie on mediawiki, Could you please give me some advice?
Best Regards
hrwang