Skip to content
Snippets Groups Projects
Unverified Commit 22c51125 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Find keytab in cert-directory

This setting had to be an absolute path before.. This change is backwards compatible (absolute paths still work)
parent 4b195a1e
Branches
Tags
No related merge requests found
...@@ -62,7 +62,7 @@ class Negotiate extends \SimpleSAML\Auth\Source ...@@ -62,7 +62,7 @@ class Negotiate extends \SimpleSAML\Auth\Source
$this->enableTLS = $config->getBoolean('enable_tls', false); $this->enableTLS = $config->getBoolean('enable_tls', false);
$this->debugLDAP = $config->getBoolean('debugLDAP', false); $this->debugLDAP = $config->getBoolean('debugLDAP', false);
$this->timeout = $config->getInteger('timeout', 30); $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->base = $config->getArrayizeString('base');
$this->attr = $config->getArrayizeString('attr', 'uid'); $this->attr = $config->getArrayizeString('attr', 'uid');
$this->subnet = $config->getArray('subnet', null); $this->subnet = $config->getArray('subnet', null);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment