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:
committed by
Gerald (Jerry) Carter
parent
ba70737b70
commit
00909194a6
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user