diff options
| author | Nicolas Williams <nico@cryptonector.com> | 2012-09-24 17:48:48 -0500 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2012-10-05 15:20:35 -0400 |
| commit | 1d7c107c9e9239674b5c7aed32931ab47c50f239 (patch) | |
| tree | 107e91a47dfed79b6463927eba199f5df8fe97bc /src/lib/kadm5 | |
| parent | a298ab2ab8b9eb384fdbf5f3625172ded61ece9f (diff) | |
| download | krb5-1d7c107c9e9239674b5c7aed32931ab47c50f239.tar.gz krb5-1d7c107c9e9239674b5c7aed32931ab47c50f239.tar.xz krb5-1d7c107c9e9239674b5c7aed32931ab47c50f239.zip | |
Remove MAX_ULOGENTRIES
If a master KDC uses only a 64-bit libkadm5srv then there is no reason
to impose any limit on ulog size: the practical maximum will be given by
the filesystem and available storage space.
Even when using a 32-bit libkadm5srv the maximum practical ulog size
will be found easily enough when mmap() fails.
ticket: 7368
Diffstat (limited to 'src/lib/kadm5')
| -rw-r--r-- | src/lib/kadm5/alt_prof.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/kadm5/alt_prof.c b/src/lib/kadm5/alt_prof.c index 769f5f93ff..2a587e4226 100644 --- a/src/lib/kadm5/alt_prof.c +++ b/src/lib/kadm5/alt_prof.c @@ -817,9 +817,7 @@ krb5_error_code kadm5_get_config_params(context, use_kdc_config, } else { if (aprofile && !krb5_aprof_get_int32(aprofile, hierarchy, TRUE, &ivalue)) { - if (ivalue > MAX_ULOGENTRIES) - params.iprop_ulogsize = MAX_ULOGENTRIES; - else if (ivalue <= 0) + if (ivalue <= 0) params.iprop_ulogsize = DEF_ULOGENTRIES; else params.iprop_ulogsize = ivalue; |
