From 7744ab1f72ef993f302ff72d3280753201d2a888 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Tue, 13 Feb 2024 18:23:42 +0100 Subject: [PATCH] Set dependencies for ldapRadius module --- src/TestSuite/AuthSources.php | 2 +- src/TestSuite/Modules.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/TestSuite/AuthSources.php b/src/TestSuite/AuthSources.php index 82e7917..b7982b2 100644 --- a/src/TestSuite/AuthSources.php +++ b/src/TestSuite/AuthSources.php @@ -84,7 +84,7 @@ public function invokeTest(): void // We need to do some convertions from Negotiate > LDAP switch ($authSourceData['fallback']) { case 'ldap:Ldap': - $authSourceData = $this->authSourceConfig->getValue($authSourceDat$ + $authSourceData = $this->authSourceConfig->getValue(authSourceData['fallback']); default: // Not implemented continue 3; diff --git a/src/TestSuite/Modules.php b/src/TestSuite/Modules.php index bc5acf5..3d2abdc 100644 --- a/src/TestSuite/Modules.php +++ b/src/TestSuite/Modules.php @@ -26,6 +26,7 @@ class Modules extends \SimpleSAML\Module\monitor\TestSuiteFactory /** @var array */ private array $moduleApacheDependencies = [ 'negotiateext' => 'mod_auth_kerb|mod_auth_gssapi' + // Note to self: mod_auth_kerb seems to no longer exist (02-2024) ]; /** @var array */ @@ -47,6 +48,7 @@ class Modules extends \SimpleSAML\Module\monitor\TestSuiteFactory // 'consent' => 'PDO', 'consentAdmin' => 'PDO', 'ldap' => 'ldap', + 'ldapRadius' => ['ldap', 'radius'], 'memcacheMonitor' => 'memcached|memcache', 'negotiate' => 'krb5', 'radius' => 'radius',