Implement [kdc] derived_keys_maxdots
This commit is contained in:

committed by
Viktor Dukhovni

parent
dfada0ccad
commit
aa5c525e71
@@ -70,6 +70,7 @@ krb5_kdc_get_config(krb5_context context, krb5_kdc_configuration **config)
|
||||
c->logf = NULL;
|
||||
c->enable_derived_keys = FALSE;
|
||||
c->derived_keys_ndots = 2;
|
||||
c->derived_keys_maxdots = -1;
|
||||
|
||||
c->num_kdc_processes =
|
||||
krb5_config_get_int_default(context, NULL, c->num_kdc_processes,
|
||||
@@ -267,6 +268,10 @@ krb5_kdc_get_config(krb5_context context, krb5_kdc_configuration **config)
|
||||
krb5_config_get_int_default(context, NULL, c->derived_keys_ndots,
|
||||
"kdc", "derived_keys_ndots", NULL);
|
||||
|
||||
c->derived_keys_maxdots =
|
||||
krb5_config_get_int_default(context, NULL, c->derived_keys_maxdots,
|
||||
"kdc", "derived_keys_maxdots", NULL);
|
||||
|
||||
*config = c;
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user