BloodHoundAD / SharpHoundCommon

Common library used by SharpHound.
GNU General Public License v3.0
75 stars 47 forks source link

ServerDown Retry Logic #79

Closed rvazarkar closed 11 months ago

rvazarkar commented 11 months ago

Description

This MR adds logic if we hit a serverdown to create a new ldap connectin and retry the search

Motivation and Context

Occasionally, we get kicked off the ldap server because reasons. In theory we should be able to retry the request with the same cookie after a delay to let the LDAP server get itself together.

How Has This Been Tested?

Unfortunately, no real way to test this, this is experimental logic since we cant repro this in any lab

Types of changes

Checklist: