RPC_GSS_SET_SVC_NAME(3)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

πŸ’… 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. See gss_acquire_cred(3) for more details. principal. (and yes, that trailing principal. 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