Anonymous
Not logged in
Log in
Request account
Search
Changes
From Pumping Station One
Namespaces
Page
Discussion
More
More
Languages
Page actions
Read
View source
History
← Older edit
Newer edit →
Howto Add a Samba4 Domain Controller
(view source)
Revision as of 05:52, 12 April 2013
961 bytes added
,
05:52, 12 April 2013
Adding MediaWiki Settings
Line 69:
Line 69:
|Security || User Notification || check
|Security || User Notification || check
|}
|}
+
=== MediaWiki ===
+
+
At the bottom of Mediawikis LocalSettings.php
+
+
require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" );
+
$wgAuth = new LdapAuthenticationPlugin();
+
$wgLDAPDomainNames = array( 'PS1' );
+
$wgLDAPServerNames = array( 'PS1' => 'auth.pumpingstationone.org' );
+
$wgLDAPSearchSrings = array( 'PS1' => '
[email protected]
' );
+
$wgLDAPEncryptionType = array( 'PS1' => 'clear' );
+
$wgLDAPUseLocal = false;
+
+
#proxy agent
+
# TODO this shouldn't use the Administrator account, another service account should suffice.
+
$wgLDAPProxyAgent = array( 'PS1' => 'CN=Administrator,CN=Users,DC=ad,DC=pumpingstationone,DC=org' );
+
$wgLDAPProxyAgentPassword = array( 'PS1' => 'password’);
+
+
$wgMinimalPasswordLength = 1;
+
$wgLDAPBaseDNs = array( 'PS1' => 'CN=Users,DC=AD,DC=pumpingstationone,DC=org' );
+
$wgLDAPSearchAttributes = array( 'PS1' => 'sAMAccountName' );
+
$wgLDAPRetrivePrefs = array( "PS1" => "true" );
Hef
Bureaucrats
,
Administrators
3,430
edits
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information
OK
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
Userpage tools
More
Printable version