rpc_clnt_auth(3R)

rpc_clnt_auth: auth_destroy, authnone_create, authunix_create, authunix_create_default - Authentication routines of Remote Procedure Call (RPC) library

As shipped in IRIX 6.5.30. Added in IRIX 6.5.30.

NAME
     rpc_clnt_auth: auth_destroy, authnone_create, authunix_create,
     authunix_create_default - Authentication routines of Remote Procedure
     Call (RPC) library

SYNOPSIS AND DESCRIPTION
     This page describe routines from Irix standard C library (libc) which are
     used to modify authentication parameters for Remote Procedure Calls.

     #include <rpc/rpc.h>

     void
     auth_destroy(AUTH *auth)

          A macro that destroys the authentication information associated with
          auth.  Destruction usually involves deallocation of private data
          structures. The use of auth is undefined after calling
          auth_destroy().


     AUTH *
     authnone_create(void)

          Create and returns an RPC authentication handle that passes
          nonusable authentication information with each remote procedure
          call. This is the default authentication used by RPC.


     AUTH *
     authunix_create(const char *host, uid_t uid,
          gid_t gid, int len, gid_t *aup_gids)

          Create and return an RPC authentication handle that contains UNIX
          authentication information.  The parameter host is the name of the
          machine on which the information was created; uid is the user's user
          ID; gid is the user's current group ID; len and aup_gids refer to a
          counted array of groups to which the user belongs.  It is easy to
          impersonate a user.


     AUTH *
     authunix_create_default(void)

          Call authunix_create() with the appropriate parameters.

SEE ALSO
     rpc_clnt_cr(3R), rpc(3R), xdr(3R), IRIX Network Programming Guide.