|
#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 */ |
|
|
__BEGIN_DECLS bool_t | xdr_des_block (XDR *, des_block *) |
|
__END_DECLS int | authany_wrap (void) |
|
__END_DECLS int | authany_unwrap (void) |
|
__BEGIN_DECLS AUTH * | authunix_create (char *, uid_t, uid_t, int, uid_t *) |
|
AUTH * | authunix_create_default (void) |
|
AUTH * | authnone_create (void) |
|
__END_DECLS __BEGIN_DECLS AUTH * | authdes_create (char *, u_int, struct sockaddr *, des_block *) |
|
AUTH * | authdes_seccreate (const char *, const u_int, const char *, const des_block *) |
|
__END_DECLS __BEGIN_DECLS bool_t | xdr_opaque_auth (XDR *, struct opaque_auth *) |
|
__BEGIN_DECLS int | getnetname (char *) |
|
int | host2netname (char *, const char *, const char *) |
|
int | user2netname (char *, const uid_t, const char *) |
|
int | netname2user (char *, uid_t *, gid_t *, int *, gid_t *) |
|
int | netname2host (char *, char *, const int) |
|
void | passwd2des (char *, char *) |
|
__END_DECLS __BEGIN_DECLS int | key_decryptsession (const char *, des_block *) |
|
int | key_encryptsession (const char *, des_block *) |
|
int | key_gendes (des_block *) |
|
int | key_setsecret (const char *) |
|
int | key_secretkey_is_set (void) |
|
__END_DECLS __BEGIN_DECLS int | getpublickey (const char *, char *) |
|
int | getpublicandprivatekey (char *, char *) |
|
int | getsecretkey (char *, char *, char *) |
|
enum auth_stat | _svcauth_null (struct svc_req *, struct rpc_msg *) |
|
enum auth_stat | _svcauth_short (struct svc_req *, struct rpc_msg *) |
|
enum auth_stat | _svcauth_unix (struct svc_req *, struct rpc_msg *) |
|