diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 2008-08-06 14:02:05 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 2008-08-06 14:02:05 +0000 |
| commit | 8f55a568f69c5b2fadaa020a452c2043a7dcf65f (patch) | |
| tree | a928d209076dec713f636439ec8dc5be13863460 /include/rpc/auth.h | |
| parent | 503765e486a9c33dc1875451a7c94e761a8d8a8d (diff) | |
Notes
Diffstat (limited to 'include/rpc/auth.h')
| -rw-r--r-- | include/rpc/auth.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/include/rpc/auth.h b/include/rpc/auth.h index fd48421de8a0..d39ad1205379 100644 --- a/include/rpc/auth.h +++ b/include/rpc/auth.h @@ -132,7 +132,7 @@ enum auth_stat { * failed locally */ AUTH_INVALIDRESP=6, /* bogus response verifier */ - AUTH_FAILED=7 /* some unknown reason */ + AUTH_FAILED=7, /* some unknown reason */ #ifdef KERBEROS /* * kerberos errors @@ -142,8 +142,14 @@ enum auth_stat { AUTH_TIMEEXPIRE = 9, /* time of credential expired */ 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 */ + AUTH_NET_ADDR = 12, /* wrong net address in ticket */ #endif /* KERBEROS */ + /* + * RPCSEC_GSS errors + */ + RPCSEC_GSS_CREDPROBLEM = 13, + RPCSEC_GSS_CTXPROBLEM = 14, + RPCSEC_GSS_NODISPATCH = 0x8000000 }; union des_block { @@ -352,5 +358,13 @@ __END_DECLS #define AUTH_DH 3 /* for Diffie-Hellman mechanism */ #define AUTH_DES AUTH_DH /* for backward compatibility */ #define AUTH_KERB 4 /* kerberos style */ +#define RPCSEC_GSS 6 /* RPCSEC_GSS */ + +/* + * Pseudo auth flavors for RPCSEC_GSS. + */ +#define RPCSEC_GSS_KRB5 390003 +#define RPCSEC_GSS_KRB5I 390004 +#define RPCSEC_GSS_KRB5P 390005 #endif /* !_RPC_AUTH_H */ |
