summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-06-23 16:49:32 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-27 09:33:02 +0200
commitdeb99c11d4c0f7c5f68ed36b183f69281b2222f6 (patch)
tree137d32bdb9d679a9c487d1be833fa14b615f43ef /client
parentfd840a9cd7974c735ab7b0f6773fd5cda8638585 (diff)
downloadfreeipa-deb99c11d4c0f7c5f68ed36b183f69281b2222f6.tar.gz
freeipa-deb99c11d4c0f7c5f68ed36b183f69281b2222f6.tar.xz
freeipa-deb99c11d4c0f7c5f68ed36b183f69281b2222f6.zip
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>
Diffstat (limited to 'client')
-rw-r--r--client/ipa-getkeytab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/ipa-getkeytab.c b/client/ipa-getkeytab.c
index d49258653..0f549a5cf 100644
--- a/client/ipa-getkeytab.c
+++ b/client/ipa-getkeytab.c
@@ -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) {