RPC_GSS_SET_SVC_NAME

Section: C Library Functions (3)
Page Index

BSD mandoc
 

NAME

rpc_gss_set_svc_name - Associate a GSS-API service principal with an RPC service  

SYNOPSIS

In rpc/rpcsec_gss.h Ft bool_t Fo rpc_gss_set_svc_name Fa const char *principal Fa const char *mechanism Fa u_int req_time Fa u_int program Fa u_int version Fc  

DESCRIPTION

This function registers a service principal which will be used to authenticate RPCSEC_GSS security contexts for a given RPC program and version.  

PARAMETERS

principal
A string representing the service principal in the form Qq service@hostname
mechanism
The name of the security mechanism
req_time
The time in seconds that the service credentials should remain valid. See gss_acquire_cred3 for more details. principal.
program
RPC program number for this service
version
RPC program version for this service

 

RETURN VALUES

Returns TRUE if the service principal was registered or FALSE otherwise.  

AVAILABILITY

The Fn rpc_gss_set_svc_name function is part of libtirpc.  

SEE ALSO

rpc(3), gssapi(3), gss_acquire_cred3, rpcsec_gss3  

AUTHORS

This manual page was written by An Doug Rabson Aq dfr@FreeBSD.org .


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUES
AVAILABILITY
SEE ALSO
AUTHORS