/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* onc720 src/oncplus/usr/include/tirpc/rpc/kerb_private.h 1.1 */ /* */ /* */ /* */ /* COPYRIGHT International Business Machines Corp. 1996,1999 */ /* All Rights Reserved */ /* */ /* IBM_PROLOG_END_TAG */ /* @(#)77 1.1 src/oncplus/usr/include/tirpc/rpc/kerb_private.h, onchdrs, onc720 1/21/99 14:28:55 */ /* * COMPONENT_NAME: onchdrs * * FUNCTIONS: none * * ORIGINS: 162 * */ /* * kerb_private.h, Protocol for Kerberos style authentication for RPC * * Copyright (C) 1990, Sun Microsystems, Inc. */ #ifndef _RPC_KERB_PRIVATE_H #define _RPC_KERB_PRIVATE_H #ifdef __cplusplus extern "C" { #endif /* * This struct is pointed to by the ah_private field of an "AUTH *" */ struct _ak_private { char ak_service[ANAME_SZ]; /* service name */ char ak_srv_inst[INST_SZ]; /* server instance */ char ak_realm[REALM_SZ]; /* realm */ u_int ak_window; /* client specified window */ bool_t ak_dosync; /* synchronize? */ char *ak_timehost; /* remote host to sync with */ struct timeval ak_timediff; /* server's time - client's time */ u_long ak_nickname; /* server's nickname for client */ struct timeval ak_timestamp; /* timestamp sent */ struct authkerb_cred ak_cred; /* storage for credential */ struct authkerb_verf ak_verf; /* storage for verifier */ KTEXT_ST ak_ticket; /* kerberos ticket */ }; extern AUTH_STAT kerb_get_session_cred(char *, char *, u_long, KTEXT, authkerb_clnt_cred *); extern AUTH_STAT kerb_error(int); #ifdef __cplusplus } #endif #endif /* !_RPC_KERB_PRIVATE_H */