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/Principal/index.html

Module Krb_public.PrincipalSource

A principal is a unique identity to which kerberos can assign tickets. Generally, principals are a name (containing an arbitrary number of components separated by '/') followed by "@<REALM>". The Krb library allows for two kinds of principals:

User: <username>@<REALM> Service: <service>/<hostname>.<domain>@<REALM>

See Config for information on how to configure <REALM> and <domain>.

For a more complete explanation, see the MIT krb5 documentation: http://web.mit.edu/kerberos/krb5-1.5/krb5-1.5.4/doc/krb5-user/What-is-a-Kerberos-Principal_003f.html

Sourcemodule Name : sig ... end
Sourceval name : t -> Name.t
Sourceval service_with_canonicalized_hostname : service:string -> hostname:string -> t Async.Deferred.Or_error.t

Constructs a principal <service_name>/<canonicalized_hostname>, where the canonicalized hostname is derived from hostname with the rules defined by the Kerberos config (as described at https://web.mit.edu/kerberos/krb5-devel/doc/admin/princ_dns.html).

Sourcemodule Cross_realm : sig ... end
Sourceval to_string : t -> string
Sourceval check_password : t -> password:string -> unit Async.Deferred.Or_error.t

kvno returns the key version number known by the KDC. Consequently this is an online test and must be called by a user with a valid TGT.

Sourcemodule Stable : sig ... end
OCaml

Innovation. Community. Security.