From 38f2a615c691d9fc6230737a5f663996b68fc144 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Filip=20Str=C3=B6mb=C3=A4ck?= <filip.stromback@liu.se>
Date: Mon, 7 Dec 2020 11:58:20 +0100
Subject: [PATCH] Set the server keytab in the startup script for the auth
 server.

---
 files/auth/start.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/files/auth/start.sh b/files/auth/start.sh
index 435ef7e..51242d3 100644
--- a/files/auth/start.sh
+++ b/files/auth/start.sh
@@ -1,5 +1,8 @@
 #!/bin/bash
 
+# Set the keytab. Otherwise, it won't find the appropriate keys.
+export KRB5_KTNAME=$(pwd)/keys/kerberos.keytab
+
 if grep "aes-devel" /etc/hostname > /dev/null
 then
     # Allow debug auth when on the devel system.
-- 
GitLab