Skip to content

Commit

Permalink
Catch any negotiate fallbacks we cannot handle
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Feb 13, 2024
1 parent 5a51d70 commit 3408108
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/TestSuite/AuthSources.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,14 @@ public function invokeTest(): void
$this->addTestResults($negoTest->getTestResults());

// We need to do some convertions from Negotiate > LDAP
$authSourceData = $this->authSourceConfig->getValue($authSourceData['fallback']);
switch ($authSourceData['fallback']) {
case 'ldap:Ldap':
$authSourceData = $this->authSourceConfig->getValue($authSourceDat$
default:
// Not implemented
continue 3;
};

$testData->setInput($authSourceData, 'authSourceData');

$ldapTest = new AuthSource\Ldap($configuration, $testData);
Expand Down

0 comments on commit 3408108

Please sign in to comment.