Aus SubmersWiki
In order to use LDAP authentication mode,you need to add some lines to your LocalSettings.php:
require_once('extensions/LdapAuthentication.php');
$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array( // (1)
'Ontoprise'
);
$wgLDAPServerNames = array( // (2)
'Ontoprise' => 'localhost'
);
$wgLDAPSearchStrings = array( // (3)
'Ontoprise' => 'uid=USER-NAME,ou=Users,dc=example,dc=com'
);
$wgLDAPUseLocal = false; // (4)
$wgLDAPEncryptionType = array( "Ontoprise"=> "tcl"); // (5)
$wgLDAPOptions['no_url'] = true; // (6)
$wgLDAPOptions['port'] = 10389; // (7)
$wgMinimalPasswordLength = 1; // (8)
- Copyright © 2009 Ontoprise GmbH.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the article "GNU Free Documentation License".

