Use SSL for LDAP auth

This commit is contained in:
Adam Goldsmith 2021-10-21 01:55:27 -04:00
parent b57b88bb28
commit 8d4282cb27

View File

@ -172,6 +172,7 @@ $wgScribuntoDefaultEngine = 'luastandalone';
$wgScribuntoUseCodeEditor = "true";
# LDAP
putenv('LDAPTLS_REQCERT=never');
wfLoadExtension( 'PluggableAuth' );
wfLoadExtension( 'LDAPProvider' );
wfLoadExtension( 'LDAPUserInfo' );
@ -181,8 +182,8 @@ $LDAPProviderDomainConfigProvider = function() use ($secrets) {
'CMS' => [
"connection" => [
"server" => "self-service.claremontmakerspace.org",
"port" => 7389,
"enctype" => "clear",
"port" => 7636,
"enctype" => "ssl",
"user" => "uid=LDAPSearch,cn=users,dc=sawtooth,dc=claremontmakerspace,dc=org",
"pass" => $secrets['LDAPPass'],
"options" => [