carta
rpc_gss_get_principal_name(3)

rpc_gss_get_principal_name3

Get a principal name

Usage

bool_t

Library

library “librpcsec_gss”

Overview

This function can be used to generate a client principal name from various strings.

Parameters

principal

If the principal is created successfully, *principal will be set to point at the new principal in GSS-API exported name form

mech

The name of the mechanism for this principal

name

The name part of the principal

node

If non-null, the hostname or instance part of the principal

domain

If non-null, the domain or realm part of the principal

Return values

Returns TRUE if the principal was created or FALSE otherwise

History

  • FreeBSD 16.0-CURRENT (2026-10-27) to FreeBSD 14.0-RELEASE: the text shown here
  • FreeBSD 13.5-RELEASE to FreeBSD 13.3-RELEASE
  • FreeBSD 13.2-RELEASE to FreeBSD 13.0-RELEASE
  • FreeBSD 12.4-RELEASE
  • FreeBSD 12.3-RELEASE
  • FreeBSD 12.2-RELEASE
  • FreeBSD 12.1-RELEASE
  • FreeBSD 12.0-RELEASE
  • FreeBSD 11.4-RELEASE
  • FreeBSD 11.3-RELEASE
  • FreeBSD 11.2-RELEASE
  • FreeBSD 11.1-RELEASE
  • FreeBSD 11.0-RELEASE
  • FreeBSD 10.4-RELEASE
  • FreeBSD 10.3-RELEASE
  • FreeBSD 10.2-RELEASE
  • FreeBSD 10.1-RELEASE
  • FreeBSD 10.0-RELEASE
  • FreeBSD 9.3-RELEASE
  • FreeBSD 9.2-RELEASE
  • FreeBSD 9.1-RELEASE
  • FreeBSD 9.0-RELEASE
  • FreeBSD 8.4-RELEASE
  • FreeBSD 8.3-RELEASE
  • FreeBSD 8.2-RELEASE
  • FreeBSD 8.1-RELEASE
  • FreeBSD 8.0-RELEASE

History

The rpc_gss_get_principal_name function first appeared in FreeBSD 8.0.

Authors

This manual page was written by Doug Rabson ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.