go-ldap
go-ldap copied to clipboard
Not handling ApplicationAbandonRequest
I'll update this with more details, but basically the server isn't catching ApplicationAbandonRequest's.
To "fix" this issue, the following patch can be applied to ldap/server.go:
225a226
> case ApplicationAbandonRequest:
So now the code looks like this:
// return an error when the client connection should be closed
func (cli *srvClient) processRequest(msgID int, pkt *Packet) error {
var res Response
switch pkt.Tag {
default:
pkt.Format(os.Stdout)
return ErrUnsupportedRequestTag(pkt.Tag)
case ApplicationAbandonRequest:
case ApplicationUnbindRequest:
return io.EOF
...