1RPC_GSS_GET_PRINCIPAL... BSD Library Functions Manual RPC_GSS_GET_PRINCIPAL...
2

NAME

4     rpc_gss_get_principal_name — Get a principal name
5

SYNOPSIS

7     #include <rpc/rpcsec_gss.h>
8
9     bool_t
10     rpc_gss_get_principal_name(rpc_gss_principal_t *principal,
11         const char *mech, const char *name, const char *node,
12         const char *domain);
13

DESCRIPTION

15     This function can be used to generate a client principal name from vari‐
16     ous strings.
17

PARAMETERS

19     principal  If the principal is created successfully, *principal will be
20                set to point at the new principal in GSS-API exported name
21                form
22
23     mech       The name of the mechanism for this principal
24
25     name       The name part of the principal
26
27     node       If non-null, the hostname or instance part of the principal
28
29     domain     If non-null, the domain or realm part of the principal
30

RETURN VALUES

32     Returns TRUE if the principal was created or FALSE otherwise
33

AVAILABILITY

35     The rpc_gss_get_principal_name() function is part of libtirpc.
36

SEE ALSO

38     rpc(3), gssapi(3), gss_export_name(3), rpcsec_gss(3)
39

AUTHORS

41     This manual page was written by Doug Rabson <dfr@FreeBSD.org>.
42
43BSD                            January 26, 2010                            BSD
Impressum