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_init_creds_opt_set_salt  Set the salt field in krb5_get_init_creds_opt krb5_get_init_creds_opt_set_salt Set the salt field in krb5_get_init_creds_opt
go to next page: krb5_get_init_creds_password  Get the initial credentials passwordkrb5_get_init_creds_password Get the initial credentials password
end of book navigation links

krb5_get_init_creds_opt_set_tkt_life -- Initialize the ticket lifetime for krb5_get_init_creds* routines 



C Prototype 

void krb5_get_init_creds_opt_set_tkt_life (
        krb5_get_init_creds_opt     *opt,
        krb5_deltat                 tkt_life );

Arguments 

opt (input/output)  A pointer to a structure containing flags and options.
tkt_life (input) The ticket lifetime.

Description 

This routine initializes the ticket lifetime information in preparation for calling krb5_get_init_creds* routines. It sets the ticket lifetime flag in the options flag field, and initializes the ticket lifetime in opt to tkt_life.

Return Values 

None.



go to previous page: krb5_get_init_creds_opt_set_salt  Set the salt field in krb5_get_init_creds_opt krb5_get_init_creds_opt_set_salt Set the salt field in krb5_get_init_creds_opt
go to next page: krb5_get_init_creds_password  Get the initial credentials passwordkrb5_get_init_creds_password Get the initial credentials password