ReactOS 0.4.16-dev-1007-g2e85425
|
Go to the source code of this file.
Classes | |
struct | sec_data |
struct | des_clnt_data |
union | des_block |
struct | opaque_auth |
struct | __auth |
struct | __auth::auth_ops |
Macros | |
#define | MAX_AUTH_BYTES 400 |
#define | MAXNETNAMELEN 255 /* maximum length of network user's name */ |
#define | AUTH_F_RPCTIMESYNC 0x001 /* use RPC to do time sync */ |
#define | AUTH_F_TRYNONE 0x002 /* allow fall back to AUTH_NONE */ |
#define | AUTH_NEXTVERF(auth) ((*((auth)->ah_ops->ah_nextverf))(auth)) |
#define | auth_nextverf(auth) ((*((auth)->ah_ops->ah_nextverf))(auth)) |
#define | AUTH_MARSHALL(auth, xdrs, seq) ((*((auth)->ah_ops->ah_marshal))(auth, xdrs, seq)) |
#define | auth_marshall(auth, xdrs, seq) ((*((auth)->ah_ops->ah_marshal))(auth, xdrs)) |
#define | AUTH_VALIDATE(auth, verfp, seq) ((*((auth)->ah_ops->ah_validate))((auth), verfp, seq)) |
#define | auth_validate(auth, verfp, seq) ((*((auth)->ah_ops->ah_validate))((auth), verfp, seq)) |
#define | AUTH_REFRESH(auth, msg) ((*((auth)->ah_ops->ah_refresh))(auth, msg)) |
#define | auth_refresh(auth, msg) ((*((auth)->ah_ops->ah_refresh))(auth, msg)) |
#define | AUTH_DESTROY(auth) ((*((auth)->ah_ops->ah_destroy))(auth)) |
#define | auth_destroy(auth) ((*((auth)->ah_ops->ah_destroy))(auth)) |
#define | AUTH_WRAP(auth, xdrs, xfunc, xwhere) |
#define | auth_wrap(auth, xdrs, xfunc, xwhere) |
#define | AUTH_UNWRAP(auth, xdrs, xfunc, xwhere, seq) |
#define | auth_unwrap(auth, xdrs, xfunc, xwhere, seq) |
#define | authsys_create(c, i1, i2, i3, ip) authunix_create((c),(i1),(i2),(i3),(ip)) |
#define | authsys_create_default() authunix_create_default() |
#define | AUTH_NONE 0 /* no authentication */ |
#define | AUTH_NULL 0 /* backward compatibility */ |
#define | AUTH_SYS 1 /* unix style (uid, gids) */ |
#define | AUTH_UNIX AUTH_SYS |
#define | AUTH_SHORT 2 /* short hand unix style */ |
#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 */ |
Typedefs | |
typedef struct sec_data | sec_data_t |
typedef struct des_clnt_data | dh_k4_clntdata_t |
typedef u_int32_t | u_int32 |
typedef union des_block | des_block |
typedef struct __auth | AUTH |
Enumerations | |
enum | auth_stat { AUTH_OK =0 , AUTH_BADCRED =1 , AUTH_REJECTEDCRED =2 , AUTH_BADVERF =3 , AUTH_REJECTEDVERF =4 , AUTH_TOOWEAK =5 , AUTH_INVALIDRESP =6 , AUTH_FAILED =7 , RPCSEC_GSS_CREDPROBLEM = 13 , RPCSEC_GSS_CTXPROBLEM = 14 } |
Variables | |
__BEGIN_DECLS struct opaque_auth | _null_auth |
#define AUTH_DESTROY | ( | auth | ) | ((*((auth)->ah_ops->ah_destroy))(auth)) |
#define auth_destroy | ( | auth | ) | ((*((auth)->ah_ops->ah_destroy))(auth)) |
#define AUTH_MARSHALL | ( | auth, | |
xdrs, | |||
seq | |||
) | ((*((auth)->ah_ops->ah_marshal))(auth, xdrs, seq)) |
#define auth_marshall | ( | auth, | |
xdrs, | |||
seq | |||
) | ((*((auth)->ah_ops->ah_marshal))(auth, xdrs)) |
#define AUTH_NEXTVERF | ( | auth | ) | ((*((auth)->ah_ops->ah_nextverf))(auth)) |
#define auth_nextverf | ( | auth | ) | ((*((auth)->ah_ops->ah_nextverf))(auth)) |
#define AUTH_UNWRAP | ( | auth, | |
xdrs, | |||
xfunc, | |||
xwhere, | |||
seq | |||
) |
#define auth_unwrap | ( | auth, | |
xdrs, | |||
xfunc, | |||
xwhere, | |||
seq | |||
) |
#define AUTH_VALIDATE | ( | auth, | |
verfp, | |||
seq | |||
) | ((*((auth)->ah_ops->ah_validate))((auth), verfp, seq)) |
#define auth_validate | ( | auth, | |
verfp, | |||
seq | |||
) | ((*((auth)->ah_ops->ah_validate))((auth), verfp, seq)) |
#define AUTH_WRAP | ( | auth, | |
xdrs, | |||
xfunc, | |||
xwhere | |||
) |
#define auth_wrap | ( | auth, | |
xdrs, | |||
xfunc, | |||
xwhere | |||
) |
#define authsys_create_default | ( | ) | authunix_create_default() |
typedef struct des_clnt_data dh_k4_clntdata_t |
typedef struct sec_data sec_data_t |
Enumerator | |
---|---|
AUTH_OK | |
AUTH_BADCRED | |
AUTH_REJECTEDCRED | |
AUTH_BADVERF | |
AUTH_REJECTEDVERF | |
AUTH_TOOWEAK | |
AUTH_INVALIDRESP | |
AUTH_FAILED | |
RPCSEC_GSS_CREDPROBLEM | |
RPCSEC_GSS_CTXPROBLEM |
Definition at line 144 of file auth.h.
Definition at line 138 of file svc_auth.c.
Referenced by _authenticate().
Definition at line 142 of file svc_auth_unix.c.
Referenced by _authenticate().
Definition at line 51 of file svc_auth_unix.c.
Referenced by _authenticate().
__END_DECLS int authany_unwrap | ( | void | ) |
__END_DECLS int authany_wrap | ( | void | ) |
__END_DECLS __BEGIN_DECLS AUTH * authdes_create | ( | char * | , |
u_int | , | ||
struct sockaddr * | , | ||
des_block * | |||
) |
AUTH * authdes_seccreate | ( | const char * | servername, |
const | u_int, | ||
const char * | timehost, | ||
const des_block * | ckey | ||
) |
Definition at line 123 of file auth_des.c.
Definition at line 100 of file auth_none.c.
Referenced by clnt_dg_create(), clnt_raw_create(), and clnt_vc_create().
Definition at line 198 of file auth_unix.c.
Referenced by rpc_broadcast_exp().
__BEGIN_DECLS int getnetname | ( | char * | ) |
Definition at line 89 of file getpublickey.c.
Referenced by __getpublickey_real().
__END_DECLS __BEGIN_DECLS int getpublickey | ( | const char * | , |
char * | |||
) |
__END_DECLS __BEGIN_DECLS int key_decryptsession | ( | const char * | , |
des_block * | |||
) |
Definition at line 225 of file key_call.c.
Referenced by authdes_pk_seccreate().
Definition at line 116 of file key_call.c.
__BEGIN_DECLS bool_t xdr_des_block | ( | XDR * | xdrs, |
des_block * | blkp | ||
) |
Definition at line 100 of file rpc_prot.c.
Referenced by key_gendes(), xdr_cryptkeyarg(), xdr_cryptkeyarg2(), and xdr_cryptkeyres().
__END_DECLS __BEGIN_DECLS bool_t xdr_opaque_auth | ( | XDR * | xdrs, |
struct opaque_auth * | ap | ||
) |
Definition at line 82 of file rpc_prot.c.
|
extern |
Definition at line 37 of file rpc_commondata.c.
Referenced by _authenticate(), _svcauth_gss(), authgss_marshal(), authnone_create(), authsspi_marshal(), authunix_create(), clnt_cb_thread(), rpc_broadcast_exp(), and svc_vc_create().