diff options
author | Chris Provenzano <proven@mit.edu> | 1995-01-28 20:00:15 +0000 |
---|---|---|
committer | Chris Provenzano <proven@mit.edu> | 1995-01-28 20:00:15 +0000 |
commit | 70a75b0bbfd34ab6b1b6ae3d21381bfb0c09e3c6 (patch) | |
tree | 464541179d873b0a73eabd5b40f39acc47e0cc6a /doc/api/keytab.tex | |
parent | ef5e0999c6cda785158c8b581d472844f4107979 (diff) | |
download | krb5-70a75b0bbfd34ab6b1b6ae3d21381bfb0c09e3c6.tar.gz krb5-70a75b0bbfd34ab6b1b6ae3d21381bfb0c09e3c6.tar.xz krb5-70a75b0bbfd34ab6b1b6ae3d21381bfb0c09e3c6.zip |
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
Diffstat (limited to 'doc/api/keytab.tex')
-rw-r--r-- | doc/api/keytab.tex | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/api/keytab.tex b/doc/api/keytab.tex index 70ed1c0322..c642b17eb2 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. |