I am trying to get the LDAPAuthentication extension working.

I have samba authenticating against my Windows PDC, so the basic setup works.

Now I need to get mediawiki to authenticate against the same PDC.

I have tried following several different guides:

http://www.pickysysadmin.ca/2013/05/13/how-to-configure-mediawiki-to-authenticate-against-active-directory-on-centos/

http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/AD_Configuration_Examples

and my logins always fail.

What's worse is that there's nothing pertaining to this in any log file
that I can find, so I have no idea what is failing.

Does anyone have AD authentication working?

My latest attempt:

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

$wgAuth = new LdapAuthenticationPlugin();

$wgLDAPDomainNames = array(
  'HPM'
);

$wgLDAPServerNames = array(
  'HPM' => 'xxx.hpm.yyy'
);

$wgLDAPSearchAttributes = array(
  'HPM' => 'sAMAccountName'
);

$wgLDAPBaseDNs = array(
  'HPM' => 'dc=hpm,dc=yyy'
);

$wgLDAPEncryptionType = array(
  'HPM' => 'ssl'
);

$wgMinimalPasswordLength = 1;


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to