logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rpc_gss_getcred — Get authorization information for an RPC request

Authors

       This manual page was written by Doug Rabson <dfr@FreeBSD.org>.

Debian                                          January 26, 2010                              RPC_GSS_GETCRED(3)

Availability

       The rpc_gss_getcred() function is part of libtirpc.

Description

       This function returns the RPCSEC_GSS authenticated credentials associated with an RPC request.

Name

       rpc_gss_getcred — Get authorization information for an RPC request

Parameters

       req       The RPC request to query

       rcred     If non-null, *rcred is set to point at the raw credentials for this request

       ucred     If non-null, *ucred is set to point at the corresponding unix credentials

       cookie    If non-null, *cookie is set to the cookie value returned by a callback function registered with
                 rpc_gss_set_callback()

Return Values

       Returns TRUE if successful, FALSE otherwise.

See Also

rpc(3), gssapi(3), rpc_gss_set_callback(3), rpcsec_gss(3)

Synopsis

#include<rpc/rpcsec_gss.h>AUTH*rpc_gss_getcred(structsvc_req*req, rpc_gss_rawcred_t**rcred, rpc_gss_ucred_t**ucred, void**cookie);

See Also