summaryrefslogtreecommitdiff
path: root/source3/include/local.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-08-22 06:32:03 +0000
committerAndrew Tridgell <tridge@samba.org>1996-08-22 06:32:03 +0000
commit9155889092ac9ff476d950a0c1b624ebad3cdad6 (patch)
tree1b65edac5a195405ee1af46967c5c3e9726aeb38 /source3/include/local.h
parentcebbbffcae8d1fd1521b50010843b79959c08cef (diff)
downloadsamba-9155889092ac9ff476d950a0c1b624ebad3cdad6.tar.gz
samba-9155889092ac9ff476d950a0c1b624ebad3cdad6.tar.bz2
samba-9155889092ac9ff476d950a0c1b624ebad3cdad6.zip
- add timeouts to connect() for password server connections. This
makes multiple password servers practical. (This used to be commit 5c3e8326cc45d3cbd076475e445ce461a2bf7560)
Diffstat (limited to 'source3/include/local.h')
-rw-r--r--source3/include/local.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index 5a577909e1..3f8572e73d 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -150,4 +150,8 @@
by many apps */
#define KEEP_PASSWORD_SERVER_OPEN 1
+/* how long to wait for a socket connect to happen */
+#define LONG_CONNECT_TIMEOUT 30
+#define SHORT_CONNECT_TIMEOUT 5
+
#endif