RPC_GSS_GETCRED(3)
β¨ NAME β¨
rpc_gss_getcred β Get authorization information for an RPC request. Thatβs the whole vibe, bestie: youβre pulling the auth info for an RPC request, and this function is the main character. π
okay so this is the RPC_GSS_GETCRED(3) page from the Library Functions Manual, and itβs here to explain the creds situation. π«Ά
π LIBRARY π
RPC GSS-API Authentication Library (librpcsec_gss, -lrpcsec_gss). Slay, thatβs the library youβre linking against. β¨
π 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. No cap, thatβs literally the whole functionβs job. π₯
π PARAMETERS π
reqβ The RPC request to query. This is the request youβre asking about. πrcredβ If non-null,*rcredis set to point at the raw credentials for this request.ucredβ (the original page leaves this one with no description here, so Iβm not inventing one π«Ά)rcredβ If non-null,*ucredis set to point at the corresponding unix credentials. Yes, the label shows up twice in the original β Iβm preserving the whole thing exactly, bestie πcookieβ If non-null,*cookieis set to the cookie value returned by a callback function registered withrpc_gss_set_callback(). πͺ
π RETURN VALUES π
Returns TRUE if successful, FALSE otherwise. Thatβs it β iconic binary behavior. β
π¦ SEE ALSO π¦
Go read those too if you want the full lore. iykyk. π§
π HISTORY π
The rpc_gss_getcred function first appeared in FreeBSD 8.0. A historic moment, honestly. π
π AUTHORS π
This manual page was written by Doug Rabson <dfr@FreeBSD.org>. Respect the author, bestie. π«Ά
mwah π β this oneβs from Debian, dated January 26, 2010, and itβs the RPC_GSS_GETCRED(3) page. Bye bestie! πβ¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2008 Isilon Inc http://www.isilon.com/
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms