Initial patch to add as-use-strongest-session-key and same for tgs krb5.conf parameters for the KDC. These control the session key enctype selection algorithm for the AS and TGS respectively: if TRUE then they prefer the strongest enctype supported by the client, the KDC and the target principal, else they prefer the first enctype fromt he client's list that is also supported by the KDC and the target principal.
Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hörnquist Åstrand

parent
ec35b8d4a2
commit
a7a8a7e95c
@@ -246,9 +246,14 @@ struct _krb5_get_init_creds_opt_private {
|
||||
} lr;
|
||||
};
|
||||
|
||||
typedef uint32_t krb5_enctype_set;
|
||||
|
||||
typedef struct krb5_context_data {
|
||||
krb5_enctype *etypes;
|
||||
krb5_enctype *etypes_des;
|
||||
krb5_enctype *etypes_des;/* deprecated */
|
||||
krb5_enctype *as_etypes;
|
||||
krb5_enctype *tgs_etypes;
|
||||
krb5_enctype *permitted_enctypes;
|
||||
char **default_realms;
|
||||
time_t max_skew;
|
||||
time_t kdc_timeout;
|
||||
|
Reference in New Issue
Block a user