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

NAME

4     rpc_gss_getcred — Get authorization information for an RPC request
5

SYNOPSIS

7     #include <rpc/rpcsec_gss.h>
8
9     AUTH *
10     rpc_gss_getcred(struct svc_req *req, rpc_gss_rawcred_t **rcred,
11         rpc_gss_ucred_t **ucred, void **cookie);
12

DESCRIPTION

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

PARAMETERS

18     req     The RPC request to query
19
20     rcred   If non-null, *rcred is set to point at the raw credentials for
21             this request
22
23     ucred   If non-null, *ucred is set to point at the corresponding unix
24             credentials
25
26     cookie  If non-null, *cookie is set to the cookie value returned by a
27             callback function registered with rpc_gss_set_callback()
28

RETURN VALUES

30     Returns TRUE if successful, FALSE otherwise.
31

AVAILABILITY

33     The rpc_gss_getcred() function is part of libtirpc.
34

SEE ALSO

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

AUTHORS

39     This manual page was written by Doug Rabson <dfr@FreeBSD.org>.
40
41BSD                            January 26, 2010                            BSD
Impressum