From 22c51125b59491440e1a655fe0347024f0b2de31 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Wed, 10 Oct 2018 11:46:06 +0200 Subject: [PATCH] Find keytab in cert-directory This setting had to be an absolute path before.. This change is backwards compatible (absolute paths still work) --- modules/negotiate/lib/Auth/Source/Negotiate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/negotiate/lib/Auth/Source/Negotiate.php b/modules/negotiate/lib/Auth/Source/Negotiate.php index b8a23ff1f..5ef72f4cf 100644 --- a/modules/negotiate/lib/Auth/Source/Negotiate.php +++ b/modules/negotiate/lib/Auth/Source/Negotiate.php @@ -62,7 +62,7 @@ class Negotiate extends \SimpleSAML\Auth\Source $this->enableTLS = $config->getBoolean('enable_tls', false); $this->debugLDAP = $config->getBoolean('debugLDAP', false); $this->timeout = $config->getInteger('timeout', 30); - $this->keytab = $config->getString('keytab'); + $this->keytab = \SimpleSAML\Utils\Config::getCertPath($config->getString('keytab')); $this->base = $config->getArrayizeString('base'); $this->attr = $config->getArrayizeString('attr', 'uid'); $this->subnet = $config->getArray('subnet', null); -- GitLab