1RPC_GSS_SET_SVC_NAME(3) BSD Library Functions Manual RPC_GSS_SET_SVC_NAME(3)
2
4 rpc_gss_set_svc_name — Associate a GSS-API service principal with an RPC
5 service
6
8 #include <rpc/rpcsec_gss.h>
9
10 bool_t
11 rpc_gss_set_svc_name(const char *principal, const char *mechanism,
12 u_int req_time, u_int program, u_int version);
13
15 This function registers a service principal which will be used to authen‐
16 ticate RPCSEC_GSS security contexts for a given RPC program and version.
17
19 principal A string representing the service principal in the form
20 "service@hostname"
21
22 mechanism The name of the security mechanism
23
24 req_time The time in seconds that the service credentials should remain
25 valid. See gss_acquire_cred(3) for more details. principal.
26
27 program RPC program number for this service
28
29 version RPC program version for this service
30
32 Returns TRUE if the service principal was registered or FALSE otherwise.
33
35 The rpc_gss_set_svc_name() function is part of libtirpc.
36
38 rpc(3), gssapi(3), gss_acquire_cred(3), rpcsec_gss(3)
39
41 This manual page was written by Doug Rabson <dfr@FreeBSD.org>.
42
43BSD January 26, 2010 BSD