Is your feature request related to a problem? Please describe.
I am creating an LDAP server using gldap and I can't figure out how to ensure that a user performing a search operation has been successfully authenticated just before.
Describe the solution you'd like
It might be helpful to provide at least the connection ID on each message to know "who" (i.e. which connection) made the request.
Describe alternatives you've considered
I tried to use any accessible information on the request message to bypass that, but couldn't find anything that would help.