RPC_GSS_SECCREATE(3)
okay so bestie, welcome to RPC_GSS_SECCREATE(3) β the Library Functions Manual page for rpc_gss_seccreate, and yes, we're gonna get you comfy with it π
β¨
π NAME π
rpc_gss_seccreate β create a security context using the RPCSEC_GSS protocol
π LIBRARY π
RPC GSS-API Authentication Library (librpcsec_gss, -lrpcsec_gss)
β¨ SYNOPSIS β¨
#include <rpc/rpcsec_gss.h>
AUTH *
rpc_gss_seccreate(CLIENT *clnt, const char *principal,
const char *mechanism, rpc_gss_service_t service, const char *qop,
rpc_gss_options_req_t *options_req,
rpc_gss_options_ret_t *options_ret);
π DESCRIPTION π
This function is used to establish a security context between an application and a remote peer using the RPSEC_GSS protocol. That's the whole vibe: app on one side, remote peer on the other, security context getting set up between them π«Ά
πΈ PARAMETERS πΈ
clntβ an RPC handle that's connected to the remote peer.principalβ the name of the service principal on the remote peer. For example, an application that needs to contact an NFS server might use a principal such as"nfs@server.example.com".mechanismβ the desired mechanism for this security context. The value ofmechanismshould be the name of one of the security mechanisms listed in/etc/gss/mech.serviceβ the type of service requested. The options are:rpc_gss_svc_defaultβ the default; typically the same asrpc_gss_svc_none.rpc_gss_svc_noneβ only RPC headers are integrity protected by a checksum.rpc_gss_svc_integrityβ RPC headers and data are integrity protected by a checksum.rpc_gss_svc_privacyβ RPC headers are integrity protected by a checksum, and data is encrypted.
qopβ desired quality of protection, orNULLfor the default. Available values are listed in/etc/gss/qop.options_reqβ extra security context options to pass to the underlying GSS-API mechanism. PassNULLto supply default values.options_retβ various values returned by the underlying GSS-API mechanism. PassNULLif you don't need these values.
π₯ RETURN VALUES π₯
If the security context was created successfully, you get back a pointer to an AUTH structure that represents the context. To use this security context for later RPC calls, set clnt->cl_auth to this value. slay π
π SEE ALSO π
π HISTORY π
The rpc_gss_seccreate function first appeared in FreeBSD 8.0.
π«Ά AUTHORS π«Ά
This manual page was written by Doug Rabson <dfr@FreeBSD.org>.
okay that's the page, bestie β sourced from Debian, dated January 26, 2010, and the manual page is RPC_GSS_SECCREATE(3). mwah ππ
π¦ 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