extension for mediawiki 1.28
I'm getting closer to figuring this out, but stuck on automatically creating accounts. Here's my current (sanitized) configuration. I can authenticate, but I then get the message:
Auto-creation of a local account failed: Automatic account creation is not allowed.
require_once ("$IP/extensions/LdapAuthentication/LdapAuthentication.php"); $wgAuth = new LdapAuthenticationPlugin(); $wgLDAPUseLocal = true; $wgLDAPDebug = 3; $wgDebugLogGroups['ldap'] = '/tmp/debug.log'; $wgLDAPDomainNames = array('LOCAL'); $wgLDAPServerNames = array('LOCAL' => 'local-dc2.local.domain'); $wgLDAPEncryptionType = array('LOCAL' => 'clear'); $wgMinimalPasswordLength = 1; $wgLDAPBaseDNs = array('LOCAL' => 'ou=Users,ou=LOCAL,dc=domain,dc=local'); $wgLDAPSearchStrings = array('LOCAL' => 'LOCAL\\USER-NAME'); $wgLDAPSearchAttributes = array('LOCAL' => 'sAMAccountName' ); $wgLDAPDisableAutoCreate = array('LOCAL' => false);
Any help would be greatly appreciated!