-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set the environment variable KRB5RCACHETYPE to none by default, this …
…is to fix issues when rewrite rules cause multiple auth attempts that are sent for each URL which cause replay errors
- Loading branch information
1 parent
3c1a5c4
commit 57c6cea
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1292,6 +1292,11 @@ static void auth_vas_server_init(apr_pool_t *p, server_rec *s) | |
return; | ||
} | ||
|
||
if(setenv("KRB5RCACHETYPE", "none", 1) == 0) | ||
TRACE1_S(s, "%s: KRB5RCACHETYPE set to none, replay cache will be disabled", __func__); | ||
else | ||
ERROR_S(s, "%s: Failed to set KRB5RCACHETYPE", __func__); | ||
|
||
/* If the server_principal has not been set by the user then set it here. | ||
* We no longer set a default when the server config is initialized | ||
* Bug #846 fix: [email protected] (4-1-14) | ||
|