mandiant / gocrack

GoCrack is a management frontend for password cracking tools written in Go
MIT License
1.12k stars 240 forks source link

LDAP connection never closed #27

Closed croustibaie closed 6 years ago

croustibaie commented 6 years ago

Hi, I noticed that the LDAP connection was never closed in ldap.go (Login method), thus resulting in connections not being performed after the TCP connection timed out on the LDAP server.

Adding a "defer s.Close()" worked for me.

tankbusta commented 6 years ago

Thanks for the issue! I'll fix it shortly.