diff options
Diffstat (limited to 'source/libads/ldap_utils.c')
-rw-r--r-- | source/libads/ldap_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/libads/ldap_utils.c b/source/libads/ldap_utils.c index 16fd32b8079..2f5c11b90c3 100644 --- a/source/libads/ldap_utils.c +++ b/source/libads/ldap_utils.c @@ -38,8 +38,8 @@ static ADS_STATUS ads_do_search_retry_internal(ADS_STRUCT *ads, const char *bind *res = NULL; - if (!ads->ld && - time(NULL) - ads->last_attempt < ADS_RECONNECT_TIME) { + if (!ads->ldap.ld && + time(NULL) - ads->ldap.last_attempt < ADS_RECONNECT_TIME) { return ADS_ERROR(LDAP_SERVER_DOWN); } |