Skip to content

Not handling ApplicationAbandonRequest #3

@shellster

Description

@shellster

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
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions