summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-31 14:46:15 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-31 18:44:06 +0000
commit5f8adf0efd555e3595c90d4223d06b9638340b1b (patch)
tree0bff88fdb987e49e2e4d0987820ddf1118b8c1d9
parent39d40892c6bf50fc1ed2a8336b4207b6320eb387 (diff)
downloadsamba-5f8adf0efd555e3595c90d4223d06b9638340b1b.tar.gz
samba-5f8adf0efd555e3595c90d4223d06b9638340b1b.tar.bz2
samba-5f8adf0efd555e3595c90d4223d06b9638340b1b.zip
s4:dsdb/dns/dns_update.c - increase the timeout for the SPN and DNS update scripts
Sometimes it can take longer than 10 sec.
-rw-r--r--source4/dsdb/dns/dns_update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/dns/dns_update.c b/source4/dsdb/dns/dns_update.c
index 68ad03f1ba..ae5be44366 100644
--- a/source4/dsdb/dns/dns_update.c
+++ b/source4/dsdb/dns/dns_update.c
@@ -297,7 +297,7 @@ static void dnsupdate_check_names(struct dnsupdate_service *service)
DEBUG(3,("Calling DNS name update script\n"));
service->nameupdate.subreq = samba_runcmd_send(service,
service->task->event_ctx,
- timeval_current_ofs(10, 0),
+ timeval_current_ofs(20, 0),
2, 0,
dns_update_command,
NULL);
@@ -312,7 +312,7 @@ static void dnsupdate_check_names(struct dnsupdate_service *service)
DEBUG(3,("Calling SPN name update script\n"));
service->nameupdate.spnreq = samba_runcmd_send(service,
service->task->event_ctx,
- timeval_current_ofs(10, 0),
+ timeval_current_ofs(20, 0),
2, 0,
spn_update_command,
NULL);