shishi_keys_to_keytab_file3
Api function
Usage
#include <shishi.h>
int shishi_keys_to_keytab_file(Shishi * handle, Shishi_keys * keys, const char * filename);
Arguments
Shishi * handle
|
shishi handle as allocated by |
|---|---|
Shishi_keys * keys
|
keyset to write. |
const char * filename
|
name of file to write. |
Overview
Write keys to a MIT keytab data structure.
The format of keytab's is proprietary, and this function writes the 0x0502 format. See the section The MIT Kerberos Keytab Binary File Format in the Shishi manual for a description of the reverse-engineered format.
Returns
SHISHI_FOPEN_ERROR if there is a problem opening filename for writing, SHISHI_IO_ERROR if there is problem writing the file, and SHISHI_OK on success.
Since
0.0.42
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 3 times.