| United States-English |
|
|
|
![]() |
HP-UX Reference > Rrpc_gss_set_svc_name(3N)HP-UX 11i Version 3: February 2007 |
|
NAMErpc_gss_set_svc_name() — send a principal name to a server SYNOPSIS#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); DESCRIPTIONrpc_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. PARAMETERSInformation on RPCSEC_GSS data types for parameters may be found on the rpcsec_gss(3N) manpage.
MULTITHREAD USAGE
These functions can be called safely in a multithreaded environment. They may be cancellation points in that they call functions that are cancel points. In a multithreaded environment, these functions are not safe to be called by a child process after fork() and before exec(). These functions should not be called by a multithreaded application that supports asynchronous cancellation or asynchronous signals. RETURN VALUErpc_gss_set_svc_name() returns TRUE if it is successful; otherwise, use rpc_gss_get_error() to get the error associated with the failure. SEE ALSOrpc(3N), rpc_gss_get_mechanisms(3N), rpc_gss_get_principal_name(3N), rpcsec_gss(3N), mech(4). ONC+ Developer's Guide Network Working Group RFC 2078 |
||||||||||||||||||||||||||||
|
|||||||||||||||