SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from PCLinuxOS lib64tirpc-devel-1.0.1-1pclos2017.x86_64.rpm

RPC_CLNT_AUTH

Section: C Library Functions (3)
Index
BSD mandoc
 

NAME

auth_destroy authnone_create authsys_create authsys_create_default - library routines for client side remote procedure call authentication 

SYNOPSIS

In rpc/rpc.hFt voidFn auth_destroy AUTH *authFt AUTH *Fn authnone_create voidFt AUTH *Fn authsys_create const char *host const uid_t uid const gid_t gid const int len const gid_t *aup_gidsFt AUTH *Fn authsys_create_default void 

DESCRIPTION

These routines are part of theRPC library that allows C language programs to make procedurecalls on other machines across the network,with desired authentication.

These routines are normally called after creating theVt CLIENThandle.Thecl_authfield of theVt CLIENTstructure should be initialized by theVt AUTHstructure returned by some of the following routines.The client's authentication informationis passed to the server when theRPCcall is made.

Only theNULLand theSYSstyle of authentication is discussed here. 

Routines

Fn auth_destroy
A function macro that destroys the authenticationinformation associated withFa auth .Destruction usually involves deallocationof private data structures.The use ofFa authis undefined after callingFn auth_destroy .
Fn authnone_create
Create and return an RPCauthentication handle that passes nonusableauthentication information with each remote procedure call.This is the default authentication used by RPC.
Fn authsys_create
Create and return an RPC authentication handle that containsAUTH_SYSauthentication information.TheFa hostargumentis the name of the machine on which the information wascreated;Fa uidis the user's user ID;Fa gidis the user's current group ID;Fa lenandFa aup_gidsrefer to a counted array of groups to which the user belongs.
Fn authsys_create_default
CallFn authsys_createwith the appropriate arguments.

 

AVAILABILITY

These functions are part of libtirpc. 

SEE ALSO

rpc(3),rpc_clnt_calls3,rpc_clnt_create3


 

Index

NAME
SYNOPSIS
DESCRIPTION
Routines
AVAILABILITY
SEE ALSO

This document was created byman2html,using the manual pages.