skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_get_credentials_renew  Renew a set of existing credentials krb5_get_credentials_renew Renew a set of existing credentials
go to next page: krb5_get_default_realm Retrieve the default realmkrb5_get_default_realm Retrieve the default realm
end of book navigation links

krb5_get_credentials_validate -- Validate a set of existing credentials 



C Prototype 

krb5_error_code krb5_get_credentials_validate (
        krb5_context            context,
        krb5_flags              options,
        krb5_ccache             ccache,
        krb5_creds              *in_creds,
        krb5_creds              **out_creds );

Arguments 

context
(input/output)
 The context structure.
options (input) Unused flag field.
ccache (input/output) The credentials cache.
in_creds (input) The credentials to be validated.
out_creds (output) The validated credentials.

Description 

This routine attempts to contact a KDC to validate a set of existing Kerberos credentials.

Return Values 

This routine returns one of the following KRB5 status codes:

0
Successful completion.
ENOMEM
Insufficient memory.
KRB5_PROG_ETYPE_NOSUPP
Program lacks support for encryption type.
KRB5_KDCREP_MODIFIED
KDC reply did not match expectations.
Kerberos errors.



go to previous page: krb5_get_credentials_renew  Renew a set of existing credentials krb5_get_credentials_renew Renew a set of existing credentials
go to next page: krb5_get_default_realm Retrieve the default realmkrb5_get_default_realm Retrieve the default realm