shishi_as_check_crealm(3)

shishi_as_check_crealm3

Api function

Usage

#include <shishi.h>

int shishi_as_check_crealm(Shishi * handle, Shishi_asn1 asreq, Shishi_asn1 asrep);

Arguments

Shishi * handle

Shishi handle as allocated by shishi_init().

Shishi_asn1 asreq

Request of type AS-REQ.

Shishi_asn1 asrep

Reply structure of type AS-REP.

Overview

Verifies that the fields asreq.req-body.realm and asrep.crealm contain identical realm names. This is one of the steps that has to be performed when processing an exchange of AS-REQ and AS-REP; see shishi_kdc_process() for more details.

Return value

Returns SHISHI_OK if successful, SHISHI_REALM_MISMATCH whenever the realm names differ, and an error code otherwise.

Releases

10 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8–11
  6. 12–13

Reporting bugs

Report bugs to <[email protected]>. GNU Shishi home page: http://www.gnu.org/software/shishi/ General help using GNU software: http://www.gnu.org/gethelp/

From shishi-doc 1.0.3-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.