phpman > man > rpc_gss_getcred(3t)

Markdown | JSON | MCP    

RPC_GSS_GETCRED(3)       BSD Library Functions Manual       RPC_GSS_GETCRED(3)

NAME
     rpc_gss_getcred β€” Get authorization information for an RPC request

SYNOPSIS
     #include <rpc/rpcsec_gss.h>

     AUTH *
     rpc_gss_getcred(struct svc_req *req, rpc_gss_rawcred_t **rcred, rpc_gss_ucred_t **ucred,
         void **cookie);

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, *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 reg‐
               istered with rpc_gss_set_callback()

RETURN VALUES
     Returns TRUE if successful, FALSE otherwise.

AVAILABILITY
     The rpc_gss_getcred() function is part of libtirpc.

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

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

BSD                            January 26, 2010                            BSD

Generated by phpman v3.7.12 Author: Che Dong Under GNU General Public License
2026-06-13 14:51 @216.73.216.28
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!