LDAP BlueSpice for MediaWiki

I am confused to integrate BlueSpice login system. I have code like this to link BlueSpice to an LDAP server. But that won't work. This is my code inLocalSettings.php

require_once("$IP/extensions/LdapAuthentication/LdapAuthentication.php");
$wgAuth = new LdapAuthenticationPlugin();

$wgLDAPDomainNames = array('mydomain');
$wgLDAPServerNames = array('mydomain' => 'merahputih.domain.co.id');
$wgLDAPSearchStrings = array('mydomain' => 'domain\USER-NAME');
$wgLDAPUseLocal = false;
$wgLDAPEncryptionType = array('mydomain' => 'clear');
$wgMinimalPasswordLength = 1;
$wgLDAPBaseDNs = array('mydomain' => 'dc=domain,dc=co,dc=id');
$wgLDAPSearchAttributes = array('mydomain' => 'sAMAccountName');
$wgLDAPRetrievePrefs = array('mydomain' => 'true');
$wgLDAPDebug = 3;
$wgShowExceptionDetails = true;
$wgLDAPOption = array('mydomain' => array(LDAP_OPT_DEREF,1));
$wgLDAPPort = array('mydomain' => 389);

      

And I have an auth realm when I get the domain from the client. I am not aware of this and I have read any links but still cannot be found.

+3


source to share





All Articles