s3-winbind: Increase the negative cache entry timout.
[mat/samba.git] / source3 / include / local.h
index 203f257dca23a094b8349eec1cab57b839fd54ff..281248c0e40e1813ea66e36b2e9ac61b9c97b62c 100644 (file)
 #define INVALID_SHARENAME_CHARS "%<>*?|/\\+=;:\","
 
 /* Seconds between connection attempts to a remote server. */
-#define FAILED_CONNECTION_CACHE_TIMEOUT 30
+#define FAILED_CONNECTION_CACHE_TIMEOUT (LONG_CONNECT_TIMEOUT * 2 / 1000)
 
 /* Default hash size for the winbindd cache. */
 #define WINBINDD_CACHE_TDB_DEFAULT_HASH_SIZE 5000