diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-08-22 06:32:03 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-08-22 06:32:03 +0000 |
commit | 9155889092ac9ff476d950a0c1b624ebad3cdad6 (patch) | |
tree | 1b65edac5a195405ee1af46967c5c3e9726aeb38 /source3/include/local.h | |
parent | cebbbffcae8d1fd1521b50010843b79959c08cef (diff) | |
download | samba-9155889092ac9ff476d950a0c1b624ebad3cdad6.tar.gz samba-9155889092ac9ff476d950a0c1b624ebad3cdad6.tar.xz 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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/local.h b/source3/include/local.h index 5a577909e14..3f8572e73dc 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 |