tail head cat sleep
QR code linking to this page

Manual Pages  — RPC_GSS_GET_PRINCIPAL_NAME

NAME

rpc_gss_get_principal_name – Get a principal name

CONTENTS

LIBRARY

RPC GSS-API Authentication Library (librpcsec_gss, -lrpcsec_gss)

SYNOPSIS

#include <rpc/rpcsec_gss.h>

bool_t
rpc_gss_get_principal_name(rpc_gss_principal_t *principal, const char *mech, const char *name, const char *node, const char *domain);

DESCRIPTION

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

SEE ALSO

gss_export_name(3), gssapi(3), rpc(3), rpcset_gss(3)

HISTORY

The rpc_gss_get_principal_name function first appeared in FreeBSD 8.0 .

AUTHORS

This manual page was written by Doug Rabson <Mt dfr@FreeBSD.org>.

RPC_GSS_GET_PRINCIPAL_NAME (3) January 26, 2010

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Do you laugh when the waiter drops a tray full of dishes? Unix weenies do. They're the first ones to laugh at hapless users, trying to figure out an error message that doesn't have anything to do with what they just typed.
— The Unix Haters' handbook