From bc23e0056bfc3f94c679dcf66329e658244aa3a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 1 Dec 2005 12:41:22 +0000 Subject: [PATCH] Memory keytab are now named and refcounted. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16327 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5_keytab.3 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/krb5/krb5_keytab.3 b/lib/krb5/krb5_keytab.3 index 52b185800..6fc635625 100644 --- a/lib/krb5/krb5_keytab.3 +++ b/lib/krb5/krb5_keytab.3 @@ -230,10 +230,11 @@ The residual part is a filename. The keytab is stored in a memory segment. This allows sensitive and/or temporary data not to be stored on disk. The type's name is .Li MEMORY . -There are no residual part, the only pointer back to the keytab is the -.Fa id -returned by -.Fn krb5_kt_resolve . +Each +.Li MEMORY +keytab is referenced counted by and open by the residual name, so two +handles can point to the same memory area. +When the last user closes the entry, it disappears. .El .Pp .Nm krb5_keytab_entry