[Mediawiki-l] Cannot authenticate through AD

zham rock zhamrock at gmail.com
Mon Sep 3 14:11:59 UTC 2007


Guys - need some help on this:

require_once( "$IP/extensions/LdapAuthentication.php" );

$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array( "intranet" );
$wgLDAPServerNames = array( "intranet"=>"myserver.intranet.mydomain.com"  );

$wgLDAPSearchStrings = array( "intranet"=>"EXAMPLEDOMAIN\\USER-NAME"  );
$wgLDAPEncryptionType = array( "intranet"=>"ssl" );
$wgLDAPUseLocal = false;
$wgMinimalPasswordLength = 1;

$wgLDAPBaseDNs = array( "intranet"=>"dc=intranet,dc=mydomain,dc=com" );
$wgLDAPSearchAttributes = array( "intranet"=>"sAMAccountName" );


This is My AD:

LDAP://intranet.mydomain.com/CN=rock\,
zham:OU=GLB,DC=INTRANET,DC=MYDOMAIN,DC=com

I cant authenticate through AD with the above setup.

Appreciate any help on this.

-zham


More information about the MediaWiki-l mailing list