1
krb5_init_creds_set_service - Specify a service principal for acquiring initial credentials.
2
==============================================================================================
6
.. c:function:: krb5_error_code krb5_init_creds_set_service(krb5_context context, krb5_init_creds_context ctx, const char * service)
13
**[in]** **context** - Library context
15
**[in]** **ctx** - Initial credentials context
17
**[in]** **service** - Service principal string
24
- 0 Success; otherwise - Kerberos error codes
35
This function supplies a service principal string to acquire initial credentials for instead of the default krbtgt service. *service* is parsed as a principal name; any realm part is ignored.