shishi_keys_to_keytab_file(3)

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_init().

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.

  1. 6.0
  2. 7
  3. 8–11
  4. 12–13

Reporting bugs

Report bugs to <[email protected]>. GNU Shishi home page: http://www.gnu.org/software/shishi/ General help using GNU software: http://www.gnu.org/gethelp/

From shishi-doc 1.0.3-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.