|
Packit |
00408a |
.\" Copyright (c) 2008 Isilon Inc http://www.isilon.com/
|
|
Packit |
00408a |
.\" Authors: Doug Rabson <dfr@rabson.org>
|
|
Packit |
00408a |
.\" Developed with Red Inc: Alfred Perlstein <alfred@FreeBSD.org>
|
|
Packit |
00408a |
.\"
|
|
Packit |
00408a |
.\" Redistribution and use in source and binary forms, with or without
|
|
Packit |
00408a |
.\" modification, are permitted provided that the following conditions
|
|
Packit |
00408a |
.\" are met:
|
|
Packit |
00408a |
.\" 1. Redistributions of source code must retain the above copyright
|
|
Packit |
00408a |
.\" notice, this list of conditions and the following disclaimer.
|
|
Packit |
00408a |
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
Packit |
00408a |
.\" notice, this list of conditions and the following disclaimer in the
|
|
Packit |
00408a |
.\" documentation and/or other materials provided with the distribution.
|
|
Packit |
00408a |
.\"
|
|
Packit |
00408a |
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
Packit |
00408a |
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
Packit |
00408a |
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
Packit |
00408a |
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
Packit |
00408a |
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
Packit |
00408a |
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
Packit |
00408a |
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
Packit |
00408a |
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
Packit |
00408a |
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
Packit |
00408a |
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
Packit |
00408a |
.\" SUCH DAMAGE.
|
|
Packit |
00408a |
.\"
|
|
Packit |
00408a |
.\" $FreeBSD$
|
|
Packit |
00408a |
.Dd January 26, 2010
|
|
Packit |
00408a |
.Dt RPC_GSS_GET_PRINCIPAL_NAME 3
|
|
Packit |
00408a |
.Os
|
|
Packit |
00408a |
.Sh NAME
|
|
Packit |
00408a |
.Nm rpc_gss_get_principal_name
|
|
Packit |
00408a |
.Nd "Get a principal name"
|
|
Packit |
00408a |
.Sh SYNOPSIS
|
|
Packit |
00408a |
.In rpc/rpcsec_gss.h
|
|
Packit |
00408a |
.Ft bool_t
|
|
Packit |
00408a |
.Fo rpc_gss_get_principal_name
|
|
Packit |
00408a |
.Fa "rpc_gss_principal_t *principal"
|
|
Packit |
00408a |
.Fa "const char *mech"
|
|
Packit |
00408a |
.Fa "const char *name"
|
|
Packit |
00408a |
.Fa "const char *node"
|
|
Packit |
00408a |
.Fa "const char *domain"
|
|
Packit |
00408a |
.Fc
|
|
Packit |
00408a |
.Sh DESCRIPTION
|
|
Packit |
00408a |
This function can be used to generate a client principal name from
|
|
Packit |
00408a |
various strings.
|
|
Packit |
00408a |
.Sh PARAMETERS
|
|
Packit |
00408a |
.Bl -tag -width ".It principal"
|
|
Packit |
00408a |
.It principal
|
|
Packit |
00408a |
If the principal is created successfully,
|
|
Packit |
00408a |
.Fa *principal
|
|
Packit |
00408a |
will be set to point at the new principal in GSS-API exported name form
|
|
Packit |
00408a |
.It mech
|
|
Packit |
00408a |
The name of the mechanism for this principal
|
|
Packit |
00408a |
.It name
|
|
Packit |
00408a |
The name part of the principal
|
|
Packit |
00408a |
.It node
|
|
Packit |
00408a |
If non-null, the hostname or instance part of the principal
|
|
Packit |
00408a |
.It domain
|
|
Packit |
00408a |
If non-null, the domain or realm part of the principal
|
|
Packit |
00408a |
.El
|
|
Packit |
00408a |
.Sh RETURN VALUES
|
|
Packit |
00408a |
Returns
|
|
Packit |
00408a |
.Dv TRUE
|
|
Packit |
00408a |
if the principal was created or
|
|
Packit |
00408a |
.Dv FALSE
|
|
Packit |
00408a |
otherwise
|
|
Packit |
00408a |
.Sh AVAILABILITY
|
|
Packit |
00408a |
The
|
|
Packit |
00408a |
.Fn rpc_gss_get_principal_name
|
|
Packit |
00408a |
function is part of libtirpc.
|
|
Packit |
00408a |
.Sh SEE ALSO
|
|
Packit |
00408a |
.Xr rpc 3 ,
|
|
Packit |
00408a |
.Xr gssapi 3 ,
|
|
Packit |
00408a |
.Xr gss_export_name 3 ,
|
|
Packit |
00408a |
.Xr rpcsec_gss 3
|
|
Packit |
00408a |
.Sh AUTHORS
|
|
Packit |
00408a |
This
|
|
Packit |
00408a |
manual page was written by
|
|
Packit |
00408a |
.An Doug Rabson Aq dfr@FreeBSD.org .
|