package krb

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Represents the kind of error that can arise while establishing a kerberized connection.

Incompatible_client: The client and server are not compatible

  • The client is speaking a different known protocol. This can happen if the client is a standard rpc client and the server isn't using serve_with_anon. It can also happen if the client is using a different Mode.t (e.g. the server is using Kerberized and the client is using Test_with_principal)
  • The client and server don't agree on whether there should be authentication, integrity-checking and/or encryption (See conn_type.mli)
  • The client and server don't have any overlapping internal protocol versions. We maintain backwards compatibility so this should only occur in cross-realm environments (which require V5 and above) or when using Internal functions that take ?override_supported_versions

Unexpected_or_no_client_bytes: Issues transmitting or reading data

  • Client unexpectedly closes the connection.
  • Client sends unexpected data that doesn't parse

Unexpected_exception: Other unexpected server-side issues.

type t =
  1. | Incompatible_client
  2. | Unexpected_or_no_client_bytes
  3. | Unexpected_exception
val sexp_of_t : t -> Sexplib0.Sexp.t
OCaml

Innovation. Community. Security.