[38561] in Kerberos
Re: Relation between krb5_creds and krb5_context
daemon@ATHENA.MIT.EDU (Philipp Gesang)
Wed Jul 17 02:25:26 2019
Date: Wed, 17 Jul 2019 08:25:01 +0200
From: Philipp Gesang <philipp.gesang@intra2net.com>
To: Greg Hudson <ghudson@mit.edu>
Message-ID: <20190717062501.GB12023@drift.m.i2n>
Mail-Followup-To: Greg Hudson <ghudson@mit.edu>, kerberos@mit.edu
MIME-Version: 1.0
In-Reply-To: <0437aacc-fcad-367d-3c03-a9df873353e0@mit.edu>
Cc: kerberos@mit.edu
Content-Type: multipart/mixed; boundary="===============8111862138183828426=="
Errors-To: kerberos-bounces@mit.edu
--===============8111862138183828426==
Content-Type: multipart/signed; micalg=pgp-sha512;
protocol="application/pgp-signature"; boundary="3uo+9/B/ebqu+fSQ"
Content-Disposition: inline
--3uo+9/B/ebqu+fSQ
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi Greg,
-<| Quoting Greg Hudson <ghudson@mit.edu>, on Tuesday, 2019-07-16 12:26:48 =
PM |>-
> On 7/16/19 10:23 AM, Philipp Gesang wrote:
> > what is the significance of the krb5_context that
> > krb5_free_creds() takes as its first argument?
>=20
> In the beginning there was a design principle that every libkrb5 API
> would take a context parameter (though there are a few exceptions). The
> context parameter for krb5_free functions is unused and is likely to
> remain unused.
thanks for providing the background.
> I have considered making a pass through the API and
> documenting that the context parameter is optional for a bunch of
> functions, including krb5_free functions.
That would be very much appreciated. For now I=E2=80=99ll have to do some
digging in the code to find out which of the APIs we use actually
require a context.
Best regards,
Philipp
--3uo+9/B/ebqu+fSQ
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEc8fuSIDXOZ07wD2Q8S2brBeKCUwFAl0uvz0ACgkQ8S2brBeK
CUyVExAAgKHYwsegVy0RVIgVdUaZ9N8irrnGM2brfBv2g84lCzASz7TBim6WbXuS
dTaJbo5N3UlGB9oztDmQp+BwGPpYsufahKJSfQCOhVlQj7YsnZ62m0QDoUPXwVLg
uHcFXrUOBUavqFoMkE47vFmMbN3hMtjLn29s56TQal9ga0B/Y4UEMDXiOyMiaIeK
Ji3ixznj5EikEP4jkVsmIT5umcGU+KgXoHyupoFTugpe8DUXJ4QItdchcxeSqbdE
KjVIglKWN/ER1p7XYAxBWP7SXxTaVlwmQO3QZUPJYYSw+4IgPMg6cmhQV4OPrc4L
gjbfYy4CU4D/oyeWfmafWvyd5WSSNuofFmo2uhOBBs9uALgR9sgeu63csf4qT5hj
QMcnIkbuTUJ6O5sx3g1hzFHOvdIznNmUWp56QxiWmjxbkOL+0u2VhuKEJRpBd3c7
ZiWrzSxnC60MLscBfKNNX+U/Yutd9bz+jfOFNGwI8gg/nCYFFfETE9ct9yIg1UN9
HWmY8Ci8YtLznWpvsu0BHWqLR/dbM8sI4StznfbKy9v4RKiK1ju5G0pYHOI5f+MZ
WG8KOj8m5kKcO69YP6ErnZ1yHrWPlrFnhpCJz+o/m2UfcQo2bMnNNMfvIVU50Egf
0VbFnSboduVlHyI63MVoLqmJYm4H0GVNvJvhNNQmgc5pur4uIJ8=
=SqHQ
-----END PGP SIGNATURE-----
--3uo+9/B/ebqu+fSQ--
--===============8111862138183828426==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos
--===============8111862138183828426==--