ipropd-slave: Fetch new credentials more often
If the master is unreachable for a while we can end up with expired tickets that don't get refreshed, then ipropd-slave gets stuck until it's manually restarted.
This commit is contained in:
@@ -948,8 +948,8 @@ main(int argc, char **argv)
|
|||||||
if (auth_context) {
|
if (auth_context) {
|
||||||
krb5_auth_con_free(context, auth_context);
|
krb5_auth_con_free(context, auth_context);
|
||||||
auth_context = NULL;
|
auth_context = NULL;
|
||||||
get_creds(context, &ccache, master);
|
|
||||||
}
|
}
|
||||||
|
get_creds(context, &ccache, master);
|
||||||
if (verbose)
|
if (verbose)
|
||||||
krb5_warnx(context, "authenticating to master");
|
krb5_warnx(context, "authenticating to master");
|
||||||
ret = krb5_sendauth (context, &auth_context, &master_fd,
|
ret = krb5_sendauth (context, &auth_context, &master_fd,
|
||||||
|
Reference in New Issue
Block a user