diff options
author | Russ Allbery <rra@stanford.edu> | 2008-01-19 01:20:38 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2008-01-19 01:20:38 +0000 |
commit | cf71c7dac06561b14c8be3383fdb2ca4f3a318d9 (patch) | |
tree | d6b05a005c67710a6d2831abba193923f2070f93 /client/internal.h | |
parent | b4f2b5bf10e32777b1fcfa8417aa190755247815 (diff) |
The wallet client now supports a -u option, saying to obtain Kerberos
credentials for the given user and use those for authentication rather
than using an existing ticket cache.
Diffstat (limited to 'client/internal.h')
-rw-r--r-- | client/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/internal.h b/client/internal.h index 8595412..88b0e24 100644 --- a/client/internal.h +++ b/client/internal.h @@ -29,6 +29,11 @@ struct remctl; BEGIN_DECLS +/* Given a Kerberos context and a principal name, obtain Kerberos credentials + for that principal and store them in a memory cache for use by later + operations. */ +void kinit(krb5_context, const char *principal); + /* Given a remctl object, run a remctl command. If data is non-NULL, saves the standard output from the command into data with the length in length. Otherwise, prints it to standard output. Either way, prints standard error |