Krb_public.PrivateSourcelib/krb makes some decisions based on the currently running user. In order to play nicely with setuid programs, it uses the effective UID.
The following functions are used to reduce code duplication between this implementation and lib/krb_for_low_latency_transport. They implement the guts of kerberized_tcp.ml abstractly over a Protocol_with_test_mode.
The following functions are used to reduce code duplication between this implementation and lib/krb_for_low_latency_transport. They implement the guts of kerberized_rpc.ml abstractly over a Protocol.Connection.