diff options
Diffstat (limited to 'tirpc/rpc/auth.h')
-rw-r--r-- | tirpc/rpc/auth.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/tirpc/rpc/auth.h b/tirpc/rpc/auth.h index 434d35c..3e44863 100644 --- a/tirpc/rpc/auth.h +++ b/tirpc/rpc/auth.h @@ -97,18 +97,6 @@ struct des_clnt_data32 { }; #endif /* _SYSCALL32_IMPL */ -#ifdef KERBEROS -/* - * flavor specific data to hold the data for AUTH_DES/AUTH_KERB(v4) - * in sec_data->data opaque field. - */ -typedef struct krb4_svc_data { - int window; /* window option value */ -} krb4_svcdata_t; - -typedef struct krb4_svc_data des_svcdata_t; -#endif /* KERBEROS */ - /* * authentication/security specific flags */ @@ -134,7 +122,6 @@ enum auth_stat { */ AUTH_INVALIDRESP=6, /* bogus response verifier */ AUTH_FAILED=7, /* some unknown reason */ -#ifdef KERBEROS /* * kerberos errors */ @@ -143,8 +130,6 @@ enum auth_stat { AUTH_TKT_FILE = 10, /* something wrong with ticket file */ AUTH_DECODE = 11, /* can't decode authenticator */ AUTH_NET_ADDR = 12, /* wrong net address in ticket */ -#endif /* KERBEROS */ - /* * RPCSEC_GSS errors */ @@ -391,47 +376,6 @@ extern int getsecretkey (char *, char *, char *); } #endif -#ifdef KERBEROS -/* - * Kerberos style authentication - * AUTH *authkerb_seccreate(service, srv_inst, realm, window, timehost, status) - * const char *service; - service name - * const char *srv_inst; - server instance - * const char *realm; - server realm - * const u_int window; - time to live - * const char *timehost; - optional hostname to sync with - * int *status; - kerberos status returned - */ -#ifdef __cplusplus -extern "C" { -#endif -extern AUTH *authkerb_seccreate(const char *, const char *, const char *, - const u_int, const char *, int *); -#ifdef __cplusplus -} -#endif - -/* - * Map a kerberos credential into a unix cred. - * - * authkerb_getucred(rqst, uid, gid, grouplen, groups) - * const struct svc_req *rqst; - request pointer - * uid_t *uid; - * gid_t *gid; - * short *grouplen; - * int *groups; - * - */ -#ifdef __cplusplus -extern "C" { -#endif -extern int authkerb_getucred(/* struct svc_req *, uid_t *, gid_t *, - short *, int * */); -#ifdef __cplusplus -} -#endif -#endif /* KERBEROS */ - #ifdef __cplusplus extern "C" { #endif |