BloodHoundAD / SharpHoundCommon

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

Fix LDAP backoff retry logic for serverdown to actually use new connections #100

Closed rvazarkar closed 6 months ago

rvazarkar commented 6 months ago

The current implementation was re-using the cached, invalid connection repeatedly and not actually creating a new one. The new implementation takes multi-consumer into account, properly creates new connections, and cleans up some bad logic around retry implementation.