RPC_GSS_SET_SVC_NAME(3NSL) | Networking Services Library Functions | RPC_GSS_SET_SVC_NAME(3NSL) |
rpc_gss_set_svc_name - send a principal name to a server
#include <rpc/rpcsec_gss.h> bool_t rpc_gss_set_svc_name(char *principal, char *mechanism,
u_int req_time,u_int program, u_int version);
rpc_gss_set_svc_name() sets the name of a principal the server is to represent. If a server is going to act as more than one principal, this procedure can be invoked for every such principal.
Information on RPCSEC_GSS data types for parameters may be found on the rpcsec_gss(3NSL) man page.
principal
mech
req_time
program
version
rpc_gss_set_svc_name() returns TRUE if it is successful; otherwise, use rpc_gss_get_error() to get the error associated with the failure.
/etc/gss/mech
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
MT-Level | MT-Safe |
rpc(3NSL), rpc_gss_get_mechanisms(3NSL), rpc_gss_get_principal_name(3NSL), rpcsec_gss(3NSL), mech(5), attributes(7)
ONC+ Developer's Guide
February 5, 2002 | OmniOS |