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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment