1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
krb5_kt_resolve - Get a handle for a key table.
=================================================
..
.. c:function:: krb5_error_code krb5_kt_resolve(krb5_context context, const char * name, krb5_keytab * ktid)
..
:param:
**[in]** **context** - Library context
**[in]** **name** - Name of the key table
**[out]** **ktid** - Key table handle
..
:retval:
- 0 Success
:return:
- Kerberos error codes
..
Resolve the key table name *name* and set *ktid* to a handle identifying the key table. Use :c:func:`krb5_kt_close()` to free *ktid* when it is no longer needed.
*name* must be of the form **type:residual** , where *type* must be a type known to the library and *residual* portion should be specific to the particular keytab type. If no *type* is given, the default is **FILE** .
If *name* is of type **FILE** , the keytab file is not opened by this call.
..
|