diff options
Diffstat (limited to 'source3/include/ads.h')
-rw-r--r-- | source3/include/ads.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h index 49dcdd9a43..36351c1c2b 100644 --- a/source3/include/ads.h +++ b/source3/include/ads.h @@ -11,9 +11,16 @@ typedef struct { char *kdc_server; int ldap_port; char *bind_path; + time_t last_attempt; } ADS_STRUCT; +/* time between reconnect attempts */ +#define ADS_RECONNECT_TIME 5 + +/* timeout on searches */ +#define ADS_SEARCH_TIMEOUT 10 + #define UF_DONT_EXPIRE_PASSWD 0x10000 #define UF_MNS_LOGON_ACCOUNT 0x20000 #define UF_SMARTCARD_REQUIRED 0x40000 |