package krb

  1. Overview
  2. Docs
A library for using Kerberos for both Rpc and Tcp communication

Install

Dune Dependency

Authors

Maintainers

Sources

krb-v0.16.0.tar.gz
sha256=353675621e4c5a888f2483dc1bb7281bd17ce4ed7dfd2f40142257f98db7c77d

doc/krb.public/Krb_public/Handshake_error/Kind/index.html

Module Handshake_error.KindSource

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.

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

Innovation. Community. Security.