From: Chris Provenzano Date: Sat, 28 Jan 1995 20:00:15 +0000 (+0000) Subject: Documented added krb5_keytab argunment to krb5_kt_read_service_key() X-Git-Tag: krb5-1.0-beta5~794 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=70a75b0bbfd34ab6b1b6ae3d21381bfb0c09e3c6;p=krb5.git Documented added krb5_keytab argunment to krb5_kt_read_service_key() and krb5_kt_get_entry(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4861 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/doc/api/ChangeLog b/doc/api/ChangeLog index e03cd0bb4..5622f60fb 100644 --- a/doc/api/ChangeLog +++ b/doc/api/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/doc/api/keytab.tex b/doc/api/keytab.tex index 70ed1c032..c642b17eb 100644 --- a/doc/api/keytab.tex +++ b/doc/api/keytab.tex @@ -60,6 +60,7 @@ Fills in \funcparam{id} with a handle identifying the default keytab. \funcarg{krb5_pointer}{keyprocarg} \funcarg{krb5_principal}{principal} \funcarg{krb5_kvno}{vno} +\funcarg{krb5_keytype}{keytype} \funcout \funcarg{krb5_keyblock **}{key} \end{funcdecl} @@ -71,7 +72,8 @@ If \funcname{keyprocarg} is not NULL, it is taken to be a \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 @@ -124,12 +126,14 @@ Requires that \funcparam{id} identifies a valid credentials cache. \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.