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:
Nicolas Williams
2023-05-31 13:56:11 -05:00
parent 658db1c2c2
commit 692187e5d6

View File

@@ -948,8 +948,8 @@ main(int argc, char **argv)
if (auth_context) {
krb5_auth_con_free(context, auth_context);
auth_context = NULL;
get_creds(context, &ccache, master);
}
get_creds(context, &ccache, master);
if (verbose)
krb5_warnx(context, "authenticating to master");
ret = krb5_sendauth (context, &auth_context, &master_fd,