+Fri Jan 27 22:15:23 1995 Chris Provenzano (proven@mit.edu)
+
+ * keytab.tex Documented added krb5_keytab argunment to
+ krb5_kt_read_service_key() and krb5_kt_get_entry().
+
Mon Nov 21 14:17:50 1994 Theodore Y. Ts'o (tytso@dcl)
* library.tex (internalfunc): Define \internalfunc, which prints a
\funcarg{krb5_pointer}{keyprocarg}
\funcarg{krb5_principal}{principal}
\funcarg{krb5_kvno}{vno}
+\funcarg{krb5_keytype}{keytype}
\funcout
\funcarg{krb5_keyblock **}{key}
\end{funcdecl}
\datatype{char *} denoting the name of a keytab. Otherwise, the default
keytab will be used.
The keytab is opened and searched for the entry identified by
-\funcparam{principal} and \funcparam{vno}, returning the resulting key
+\funcparam{principal}, \funcparam{keytype}, and \funcparam{vno},
+returning the resulting key
in \funcparam{*key} or returning an error code if it is not found.
\funcname{krb5_free_keyblock} should be called on \funcparam{*key} when
\funcarg{krb5_keytab}{id}
\funcarg{krb5_principal}{principal}
\funcarg{krb5_kvno}{vno}
+\funcarg{krb5_keytype}{keytype}
\funcout
\funcarg{krb5_keytab_entry *}{entry}
\end{funcdecl}
Searches the keytab identified by \funcparam{id} for an entry whose
-principal matches \funcparam{principal} and
+principal matches \funcparam{principal}, whose keytype matches
+\funcparam{keytype}, and
whose key version number matches \funcparam{vno}. If \funcparam{vno} is
zero, the first entry whose principal matches is returned.