Initialize or renew a Kerberos ticket-granting ticket (TGT) for the given credential.
#include <sys/credential/credential_krb5.h>
int credential_krb5_kinit(const credential_t *cred,
unsigned int flag,
credential_auth_status_t *result)
BlackBerry 10.3.1
The credential to use to generate the kerberos ticket.
Unused flag, reserved for future use.
The result of the kerberos ticket generation.
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.
0 if operation was successful, error code otherwise.