VMS Help
TCPIP Services, Programming Interfaces, RPC Client Routines, authunix_create_default
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Returns a default authentication handle.
Format
#include <rpc/rpc.h>
AUTH *authunix_create_default( )
None
Calls the authunix_create routine with the local host name,
effective process ID and group ID, and the process default
groups.
AUTH * Authentication handle containing the pertinent
information.
NULL Indicates allocation of AUTH handle failed.
1.auth_destroy(client->cl_auth)
client->cl_auth = authunix_create_default();
This example overrides the default authnone_create action. The
client handle, client, is returned by the clnt_create, clnt_
create_vers, clnttcp_create, or clntudp_create routine.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.