RPC_GSS_GETCRED
Section: C Library Functions (3)
Page Index
BSD mandoc
NAME
rpc_gss_getcred
- Get authorization information for an RPC request
SYNOPSIS
In rpc/rpcsec_gss.h
Ft AUTH *
Fo rpc_gss_getcred
Fa struct svc_req *req
Fa rpc_gss_rawcred_t **rcred
Fa rpc_gss_ucred_t **ucred
Fa void **cookie
Fc
DESCRIPTION
This function returns the RPCSEC_GSS authenticated credentials
associated with an RPC request.
PARAMETERS
- req
-
The RPC request to query
- rcred
-
If non-null,
Fa *rcred
is set to point at the raw credentials for this request
- ucred
-
If non-null,
Fa *ucred
is set to point at the corresponding unix credentials
- cookie
-
If non-null,
Fa *cookie
is set to the cookie value returned by a callback function registered with
Fn rpc_gss_set_callback
RETURN VALUES
Returns
TRUE
if successful,
FALSE
otherwise.
AVAILABILITY
The
Fn rpc_gss_getcred
function is part of libtirpc.
SEE ALSO
rpc(3),
gssapi(3),
rpc_gss_set_callback3,
rpcsec_gss3
AUTHORS
This
manual page was written by
An Doug Rabson Aq
dfr@FreeBSD.org .