Use SSL for LDAP auth
This commit is contained in:
parent
b57b88bb28
commit
8d4282cb27
@ -172,6 +172,7 @@ $wgScribuntoDefaultEngine = 'luastandalone';
|
|||||||
$wgScribuntoUseCodeEditor = "true";
|
$wgScribuntoUseCodeEditor = "true";
|
||||||
|
|
||||||
# LDAP
|
# LDAP
|
||||||
|
putenv('LDAPTLS_REQCERT=never');
|
||||||
wfLoadExtension( 'PluggableAuth' );
|
wfLoadExtension( 'PluggableAuth' );
|
||||||
wfLoadExtension( 'LDAPProvider' );
|
wfLoadExtension( 'LDAPProvider' );
|
||||||
wfLoadExtension( 'LDAPUserInfo' );
|
wfLoadExtension( 'LDAPUserInfo' );
|
||||||
@ -181,8 +182,8 @@ $LDAPProviderDomainConfigProvider = function() use ($secrets) {
|
|||||||
'CMS' => [
|
'CMS' => [
|
||||||
"connection" => [
|
"connection" => [
|
||||||
"server" => "self-service.claremontmakerspace.org",
|
"server" => "self-service.claremontmakerspace.org",
|
||||||
"port" => 7389,
|
"port" => 7636,
|
||||||
"enctype" => "clear",
|
"enctype" => "ssl",
|
||||||
"user" => "uid=LDAPSearch,cn=users,dc=sawtooth,dc=claremontmakerspace,dc=org",
|
"user" => "uid=LDAPSearch,cn=users,dc=sawtooth,dc=claremontmakerspace,dc=org",
|
||||||
"pass" => $secrets['LDAPPass'],
|
"pass" => $secrets['LDAPPass'],
|
||||||
"options" => [
|
"options" => [
|
||||||
|
Loading…
Reference in New Issue
Block a user