#include <krb5.h>
krb5_error_code krb5_copy_principal(
krb5_context context,
krb5_const_principal from_princ,
krb5_principal * to_princ);
Service Program Name: QSYS/QKRBGSSThe krb5_copy_principal() function copies a Kerberos principal.
No authorities are required.
If no errors occur, the return value is 0. Otherwise, a Kerberos error code is returned.
| Message ID | Error Message Text |
|---|---|
| CPE3418 E | Possible APAR condition or hardware failure. |
| Top | Security APIs UNIX-Type APIs | APIs by category |