credential_krb5_kinit()

Initialize or renew a Kerberos ticket-granting ticket (TGT) for the given credential.

Synopsis:

#include <sys/credential/credential_krb5.h>
 
int credential_krb5_kinit(const credential_t *cred,
                                        unsigned int flag,
                                        credential_auth_status_t *result)

Since:

BlackBerry 10.3.1

Arguments:

cred

The credential to use to generate the kerberos ticket.

flag

Unused flag, reserved for future use.

result

The result of the kerberos ticket generation.

Library:

libcredential (For the qcc command, use the -l bps option to link against this library)

Description:

This step is mandatory before using the given credential for Kerberos-based authentication. If the operation is successfull, Credential manager will associate the resulting TGT with the given credential, and use that TGT when Kerberos-based authentication is performed.

Returns:

0 if operation was successful, error code otherwise.

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus