1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-03 04:23:50 +03:00

r23888: move elements belonging to the current ldap connection to a

substructure.

metze
This commit is contained in:
Stefan Metzmacher
2007-07-16 11:08:00 +00:00
committed by Gerald (Jerry) Carter
parent ba70737b70
commit 00909194a6
8 changed files with 84 additions and 81 deletions

View File

@@ -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);
}