carta
krb5_set_real_time(3)

krb5_set_real_time3

Kerberos 5 time handling functions

Usage

krb5_error_code

krb5_error_code

krb5_error_code

krb5_error_code

krb5_error_code

Library

Kerberos 5 Library (libkrb5, -lkrb5)

Overview

krb5_set_real_time sets the absolute time that the caller knows the KDC has. With this the Kerberos library can calculate the relative difference between the KDC time and the local system time and store it in the context. With this information the Kerberos library can adjust all time stamps in Kerberos packages.

krb5_timeofday() returns the current time, but adjusted with the time difference between the local host and the KDC. krb5_us_timeofday() also returns microseconds.

krb5_format_time formats the time t into the string s of length len. If include_time is set, the time is set include_time.

krb5_string_to_deltat parses delta time string into deltat.

History

  • Debian 13 (Trixie) to Debian 9 (Stretch): the text shown here
  • Debian 8 (Jessie) to Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)
  • Debian 4.0 (Etch)

From heimdal-dev 7.8.git20221117.28daf24+dfsg-9+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.