RPC_GSS_SECCREATE(3) | Library Functions Manual | RPC_GSS_SECCREATE(3) |
rpc_gss_seccreate
—
create a security context using the RPCSEC_GSS
protocol
#include
<rpc/rpcsec_gss.h>
AUTH *
rpc_gss_seccreate
(CLIENT *clnt,
const char *principal, const char
*mechanism, rpc_gss_service_t service,
const char *qop, rpc_gss_options_req_t
*options_req, rpc_gss_options_ret_t
*options_ret);
This function is used to establish a security context between an application and a remote peer using the RPSEC_GSS protocol.
rpc_gss_svc_none
.NULL
to supply default
values.NULL
if these values are not required.If the security context was created successfully, a pointer to an AUTH structure that represents the context is returned. To use this security context for subsequent RPC calls, set clnt->cl_auth to this value.
The
rpc_gss_seccreate
()
function is part of libtirpc.
This manual page was written by Doug Rabson ⟨dfr@FreeBSD.org⟩.
January 26, 2010 | Debian |