RPC_GSS_SET_SVC_NAME(3)
π rpc_gss_set_svc_name(3) β Associate a GSS-API service principal with an RPC service
okay so bestie, welcome to rpc_gss_set_svc_name(3) from the Library Functions Manual β this one is short, sweet, and very much about making RPC security know who it is. β¨
πΈ NAME
rpc_gss_set_svc_name β Associate a GSS-API service principal with an RPC service
π LIBRARY
RPC GSS-API Authentication Library (librpcsec_gss, -lrpcsec_gss) β like, that's the whole library vibe, no cap. π«Ά
β¨ SYNOPSIS
#include <rpc/rpcsec_gss.h>
bool_t
rpc_gss_set_svc_name(const char *principal, const char *mechanism,
u_int req_time, u_int program, u_int version);
π¦ DESCRIPTION
This function registers a service principal which will be used to authenticate RPCSEC_GSS security contexts for a given RPC program and version. It's giving "put this identity on the guest list so the security handshake knows what's up." π
π PARAMETERS
principalβ A string representing the service principal in the form"service@hostname"β yes, exactly that shape, bestie. πΈmechanismβ The name of the security mechanism. πreq_timeβ The time in seconds that the service credentials should remain valid. Seegss_acquire_cred(3)for more details.principal.(and yes, that trailingprincipal.is right there in the original β keeping every detail, periodt.) πprogramβ RPC program number for this service. πversionβ RPC program version for this service. π·οΈ
π RETURN VALUES
Returns TRUE if the service principal was registered or FALSE otherwise. Simple vibe check: TRUE = slay, FALSE = not slay. β
π
π SEE ALSO
Go check out gss_acquire_cred(3), gssapi(3), rpc(3), and rpcsec_gss(3) β the whole friend group is linked here. πβ¨
π§ HISTORY
The rpc_gss_set_svc_name function first appeared in FreeBSD 8.0. throwback era, honestly. π°οΈ
π AUTHORS
This manual page was written by Doug Rabson <dfr@FreeBSD.org>. credited and iconic. π
mwah π β this little page comes to you from Debian, dated January 26, 2010, with the footer id RPC_GSS_SET_SVC_NAME(3). That's the whole manual, bestie β facts intact, vibe immaculate. ππ¦π
π¦ 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