diff options
Diffstat (limited to 'usr/src/man/man3nsl/rpcsec_gss.3nsl')
-rw-r--r-- | usr/src/man/man3nsl/rpcsec_gss.3nsl | 69 |
1 files changed, 23 insertions, 46 deletions
diff --git a/usr/src/man/man3nsl/rpcsec_gss.3nsl b/usr/src/man/man3nsl/rpcsec_gss.3nsl index c5de52cab2..dc3e9bfdbe 100644 --- a/usr/src/man/man3nsl/rpcsec_gss.3nsl +++ b/usr/src/man/man3nsl/rpcsec_gss.3nsl @@ -3,14 +3,14 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH rpcsec_gss 3NSL "29 Jun 2001" "SunOS 5.11" "Networking Services Library Functions" +.TH RPCSEC_GSS 3NSL "Jun 29, 2001" .SH NAME rpcsec_gss \- security flavor incorporating GSS-API protections .SH SYNOPSIS .LP .nf cc [ \fIflag\fR... ] \fIfile\fR... -lnsl [ \fIlibrary\fR... ] -#include <rpc/rpcsec_gss.h> +#include <rpc/rpcsec_gss.h> .fi .SH DESCRIPTION @@ -79,10 +79,10 @@ Structure containing options passed directly through to the \fBGSS-API.\fR .in +2 .nf typedef struct { - int req_flags; /*GSS request bits */ - int time_req; /*requested credential lifetime */ - gss_cred_id_t my_cred; /*GSS credential struct*/ - gss_channel_bindings_t; + int req_flags; /*GSS request bits */ + int time_req; /*requested credential lifetime */ + gss_cred_id_t my_cred; /*GSS credential struct*/ + gss_channel_bindings_t; input_channel_bindings; } rpc_gss_options_req_t ; .fi @@ -149,11 +149,11 @@ Structure for raw credentials. Used by \fBrpc_gss_getcred()\fR and .in +2 .nf typedef struct { - u_int version; /*RPC version # */ - char *mechanism; /*security mechanism*/ - char *qop; /*Quality of Protection*/ - rpc_gss_principal_t client_principal; /*client name*/ - char *svc_principal; /*server name*/ + u_int version; /*RPC version # */ + char *mechanism; /*security mechanism*/ + char *qop; /*Quality of Protection*/ + rpc_gss_principal_t client_principal; /*client name*/ + char *svc_principal; /*server name*/ rpc_gss_service_t service; /*service (integrity, etc.)*/ } rpc_gss_rawcred_t; .fi @@ -167,9 +167,9 @@ alternative to \fBrpc_gss_rawcred_t\fR. .sp .in +2 .nf -typedef struct { +typedef struct { uid_t uid; /*user ID*/ - gid_t gid; /*group ID*/ + gid_t gid; /*group ID*/ short gidlen; git_t *gidlist; /*list of groups*/ } rpc_gss_ucred_t; @@ -184,8 +184,8 @@ Callback structure used by \fBrpc_gss_set_callback()\fR. .in +2 .nf typedef struct { - u_int program; /*RPC program #*/ - u_int version; /*RPC version #*/ + u_int program; /*RPC program #*/ + u_int version; /*RPC version #*/ bool_t (*callback)(); /*user-defined callback routine*/ } rpc_gss_callback_t; .fi @@ -232,7 +232,6 @@ The following lists \fBRPCSEC_GSS\fR routines and the manual reference pages on which they are described. An (S) indicates it is a server-side function: .sp .ne 2 -.mk .na \fB\fBRoutine\fR (Manual Page) \fR .ad @@ -243,7 +242,6 @@ on which they are described. An (S) indicates it is a server-side function: .sp .ne 2 -.mk .na \fB\fBrpc_gss_seccreate\fR(3NSL) \fR .ad @@ -254,7 +252,6 @@ Create a secure \fBRPCSEC_GSS\fR context .sp .ne 2 -.mk .na \fB\fBrpc_gss_set_defaults\fR(3NSL) \fR .ad @@ -265,7 +262,6 @@ Switch service, QOP for a session .sp .ne 2 -.mk .na \fB\fBrpc_gss_max_data_length\fR(3NSL) \fR .ad @@ -276,7 +272,6 @@ Get maximum data length allowed by transport .sp .ne 2 -.mk .na \fB\fBrpc_gss_set_svc_name\fR(3NSL) \fR .ad @@ -287,7 +282,6 @@ Set server's principal name (S) .sp .ne 2 -.mk .na \fB\fBrpc_gss_getcred\fR(3NSL) \fR .ad @@ -298,7 +292,6 @@ Get credentials of caller (S) .sp .ne 2 -.mk .na \fB\fBrpc_gss_set_callback\fR(3NSL) \fR .ad @@ -309,7 +302,6 @@ Specify callback to see context use (S) .sp .ne 2 -.mk .na \fB\fBrpc_gss_get_principal_name\fR(3NSL) \fR .ad @@ -320,7 +312,6 @@ Get client principal name (S) .sp .ne 2 -.mk .na \fB\fBrpc_gss_svc_max_data_length\fR(3NSL) \fR .ad @@ -331,7 +322,6 @@ Get maximum data length allowed by transport (S) .sp .ne 2 -.mk .na \fB\fBrpc_gss_get_error\fR(3NSL) \fR .ad @@ -342,7 +332,6 @@ Get error number .sp .ne 2 -.mk .na \fB\fBrpc_gss_get_mechanisms\fR(3NSL) \fR .ad @@ -353,7 +342,6 @@ Get valid mechanism strings .sp .ne 2 -.mk .na \fB\fBrpc_gss_get_mech_info\fR(3NSL) \fR .ad @@ -364,7 +352,6 @@ Get valid QOP strings, current service .sp .ne 2 -.mk .na \fB\fBrpc_gss_get_versions\fR(3NSL) \fR .ad @@ -375,7 +362,6 @@ Get supported \fBRPCSEC_GSS\fR versions .sp .ne 2 -.mk .na \fB\fBrpc_gss_is_installed\fR(3NSL) \fR .ad @@ -386,7 +372,6 @@ Checks if a mechanism is installed .sp .ne 2 -.mk .na \fB\fBrpc_gss_mech_to_oid\fR(3NSL) \fR .ad @@ -397,7 +382,6 @@ Maps ASCII mechanism to OID representation .sp .ne 2 -.mk .na \fB\fBrpc_gss_qop_to_num\fR(3NSL) \fR .ad @@ -415,23 +399,19 @@ mappings of principal names between network and local credentials. See .SH FILES .sp .ne 2 -.mk .na \fB\fB/etc/gss/mech\fR \fR .ad .RS 18n -.rt List of installed mechanisms .RE .sp .ne 2 -.mk .na \fB\fB/etc/gss/qop\fR \fR .ad .RS 18n -.rt List of valid QOPs .RE @@ -443,22 +423,19 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE -_ -MT-LevelMT-Safe +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ +MT-Level MT-Safe +.TE .SH SEE ALSO .sp .LP -\fBgsscred\fR(1M), \fBrpc\fR(3NSL), \fBrpc_clnt_auth\fR(3NSL), \fBxdr\fR(3NSL), \fBattributes\fR(5), \fBenviron\fR(5) +\fBgsscred\fR(1M), \fBrpc\fR(3NSL), \fBrpc_clnt_auth\fR(3NSL), \fBxdr\fR(3NSL), \fBattributes\fR(5), \fBenviron\fR(5) .sp .LP -\fIONC+ Developer\&'s Guide\fR +\fIONC+ Developer\&'s Guide\fR .sp -.LP -Linn, J. \fIRFC 2743, Generic Security Service Application Program Interface Version 2, Update 1\fR. Network Working Group. January 2000. |