proxy: Set authentication TTL for NTLM authentication also
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Jan 2019 14:49:18 +0000 (15:49 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Jan 2019 14:49:18 +0000 (15:49 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/proxy.cgi

index 5df7bdc..e21cfac 100644 (file)
@@ -3239,6 +3239,7 @@ END
                        print FILE "\n";
 
                        print FILE "auth_param ntlm children $proxysettings{'AUTH_CHILDREN'}\n\n";
+                       print FILE "auth_param ntlm credentialsttl $proxysettings{'AUTH_CACHE_TTL'} minutes\n\n";
 
                        # BASIC authentication
                        if ($proxysettings{'NTLM_AUTH_BASIC'} eq "on") {