proxy: Use entered setting for auth children for AD
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Jan 2019 14:46:20 +0000 (15:46 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Jan 2019 14:46:20 +0000 (15:46 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/proxy.cgi

index 74ad48b..4c20fbf 100644 (file)
@@ -3250,7 +3250,7 @@ END
                                        print FILE " --require-membership-of=$ntlm_auth_group";
                                }
                                print FILE "\n";
-                               print FILE "auth_param basic children 10\n";
+                               print FILE "auth_param basic children $proxysettings{'AUTH_CHILDREN'}\n";
                                print FILE "auth_param basic realm $authrealm\n";
                                print FILE "auth_param basic credentialsttl 2 hours\n\n";
                        }