[Mediawiki-l] auth with AD server 2008

Diego Maciel Gomes diego.gomes at cecred.coop.br
Wed Dec 29 14:46:38 UTC 2010


Hello all!

This is my first post, and I need help to do authenticate mediawiki with my Active Directory.

Windows Server 2008 with AD 2008.

Today, I have the authentication with my ldap samba, but, we are change to Active Directory...

I try this lines in the LocalSettings.conf

// LDAP integration - http://www.mediawiki.org/wiki/Extension:LDAP_Authentication
require_once( "$IP/extensions/LdapAuthentication.php" );
$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array("corp.com");
$wgLDAPServerNames =array("corp.com" => "serverAD01 serverAD02");
$wgLDAPSearchStrings = array("corp.com" => "uid=USER-NAME,ou=MyUsers,dc=corp,dc=com");
$wgLDAPEncryptionType = array("corp.com" => "ssl");
$wgMinimalPasswordLength = 1;
$wgLDAPBaseDNs = array("corp.com" => "ou=MyUsers,dc=corp,dc=com");
$wgLDAPSearchAttributes = array("corp.com" => "sAMAccountName");
$wgLDAPProxyAgent =  array("corp.com" => "cn=read_ad,ou=People,dc=corp,dc=com");
$wgLDAPProxyAgentPassword = array("corp.com" => '$passofreadad.,');

Anyone can help me?

Thanks anyway
-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.




More information about the MediaWiki-l mailing list