jtblin / go-ldap-client

Simple ldap client to authenticate, retrieve basic information and groups for a user.
Other
261 stars 90 forks source link

Handling Reconnect #12

Open Arttii opened 6 years ago

Arttii commented 6 years ago

Hi,

I was wondering whats the best way to handle reconnections? I looked around the code and it seems this is somehow handled, but our LDAP sometimes closes the connection and the client does not seem to reopen it. It remains closed. The errors looks something like

write tcp ip1:54466->ip2:636: write: broken pipe

Thanks

tooptoop4 commented 5 years ago

@Arttii did u find workaround?