shishi_as_check_cname3
Api function
Usage
#include <shishi.h>
int shishi_as_check_cname(Shishi * handle, Shishi_asn1 asreq, Shishi_asn1 asrep);
Arguments
Shishi * handle
|
Shishi handle as allocated by |
|---|---|
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.cname and asrep.cname contain identical 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_CNAME_MISMATCH if the names differ, and an error code otherwise.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.