Note that the unbind operation cannot be used to destroy an authentication session while leaving the underlying connection established. If the client does not close the connection after sending an unbind request, then the server will. If there is a need to revert a connection to an unauthenticated state, then an Anonymous bind operation should be performed.
The LDAP unbind request protocol op is defined as follows:
UnbindRequest ::= [APPLICATION 2] NULL
An unbind request does not contain any elements, and the server will not send a response to an unbind request.