Increase ipa-getkeytab LDAP timeout to 100sec

On slower machines, the original time 10s is not enough. Raising timeout
to 100sec should help.

https://fedorahosted.org/freeipa/ticket/5842

Reviewed-By: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
Martin Basti
2016-06-23 16:49:32 +02:00
parent fd840a9cd7
commit deb99c11d4

View File

@@ -267,8 +267,8 @@ static int ipa_ldap_extended_op(LDAP *ld, const char *reqoid,
return ret;
}
/* wait max 10 secs for the answer */
tv.tv_sec = 10;
/* wait max 100 secs for the answer */
tv.tv_sec = 100;
tv.tv_usec = 0;
ret = ldap_result(ld, msgid, 1, &tv, &res);
if (ret == -1) {