Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../.././../../../usr/man/man3c/rpc_clnt_auth.3c
Real path: /usr/share/man/man3c/rpc_clnt_auth.3c
Zurück
'\" te .\" Copyright (c) 2002, 2021, Oracle and/or its affiliates. .\" Copyright (c) 1989, AT&T. All rights reserved. .TH rpc_clnt_auth 3C "11 May 2021" "Oracle Solaris 11.4" "Standard C Library Functions" .SH NAME rpc_clnt_auth, auth_destroy, authnone_create, authsys_create, authsys_create_default \- library routines for client-side remote procedure call authentication .SH SYNOPSIS .LP .nf \fBvoid\fR \fBauth_destroy\fR(\fBAUTH *\fR\fIauth\fR); .fi .LP .nf \fBAUTH *\fR\fBauthnone_create\fR(void); .fi .LP .nf \fBAUTH *\fR\fBauthsys_create\fR(\fBconst cha r*\fR\fIhost\fR, \fB const uid_t\fR \fIuid\fR, \fBconst gid_t\fR \fIgid\fR, \fBconst int\fR \fIlen\fR, \fBconst gid_t *\fR\fIaup_gids\fR); .fi .LP .nf \fBAUTH *\fR\fBauthsys_create_default\fR(void); .fi .SH DESCRIPTION .sp .LP These routines are part of the \fBRPC\fR library that allows C language programs to make procedure calls on other machines across the network, with desired authentication. .sp .LP These routines are normally called after creating the \fBCLIENT\fR handle. The \fBcl_auth\fR field of the \fBCLIENT\fR structure should be initialized by the \fBAUTH\fR structure returned by some of the following routines. The client's authentication information is passed to the server when the \fBRPC\fR call is made. .sp .LP Only the \fINULL\fR and the \fBSYS\fR style of authentication is discussed here. For the \fBDES\fR style authentication, please refer to \fBsecure_rpc\fR(3C). .sp .LP The \fINULL\fR and \fBSYS\fR style of authentication are safe in multithreaded applications. For the MT-level of the \fBDES\fR style, see its pages. .SS "Routines" .sp .LP The following routines require that the header \fB<rpc/rpc.h>\fR be included (see \fBrpc\fR(3C) for the definition of the \fBAUTH\fR data structure). .sp .in +2 .nf #include <rpc/rpc.h> .fi .in -2 .sp .sp .ne 2 .mk .na \fB\fBauth_destroy()\fR\fR .ad .RS 26n .rt A function macro that destroys the authentication information associated with \fIauth\fR. Destruction usually involves deallocation of private data structures. The use of \fIauth\fR is undefined after calling \fBauth_destroy()\fR. .RE .sp .ne 2 .mk .na \fB\fBauthnone_create()\fR\fR .ad .RS 26n .rt Create and return an RPC authentication handle that passes nonusable authentication information with each remote procedure call. This is the default authentication used by RPC. .RE .sp .ne 2 .mk .na \fB\fBauthsys_create()\fR\fR .ad .RS 26n .rt Create and return an \fBRPC\fR authentication handle that contains \fBAUTH_SYS\fR authentication information. The parameter \fIhost\fR is the name of the machine on which the information was created; \fIuid\fR is the user's user \fBID\fR; \fIgid\fR is the user's current group \fBID\fR; \fIlen\fR and \fIaup_gids\fR refer to a counted array of groups to which the user belongs. .RE .sp .ne 2 .mk .na \fBauthsys_create_default\fR .ad .RS 26n .rt Call \fBauthsys_create()\fR with the appropriate parameters. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ MT-Level MT-Safe .TE .sp .SH SEE ALSO .sp .LP \fBrpc\fR(3C), \fBrpc_clnt_calls\fR(3C), \fBrpc_clnt_create\fR(3C), \fBsecure_rpc\fR(3C), \fBattributes\fR(7)