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_set_default_realm  Sets the default realm krb5_set_default_realm Sets the default realm
go to next page: krb5_set_principal_realm  Set the realm in the current contextkrb5_set_principal_realm Set the realm in the current context
end of book navigation links

krb5_set_default_tgs_enctypes -- Set default TGS encryption types 



C Prototype 

krb5_error_code krb5_set_default_tgs_enctypes (
        krb5_context            context,
        const krb5_enctype      *ktypes );

Arguments 

context
(input/output)
 The context structure.
ktypes (input)  The encryption type(s) to set as the default.

Description 

This routine sets the default Ticket Granting Service encryption types for the given Kerberos context.

Return Values 

This routine returns the following KRB5 status codes:

0
Successful completion.
ENOMEM
Insufficient memory.
KRB5_PROG_ETYPE_NOSUPP
Program lacks support for encryption type.


go to previous page: krb5_set_default_realm  Sets the default realm krb5_set_default_realm Sets the default realm
go to next page: krb5_set_principal_realm  Set the realm in the current contextkrb5_set_principal_realm Set the realm in the current context