diff options
author | Ezra Peisach <epeisach@mit.edu> | 2001-07-05 16:15:42 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2001-07-05 16:15:42 +0000 |
commit | b3ccd7786f77efef5e10f7b331ee22f940940171 (patch) | |
tree | 8f50528afe8bfe8422c606be2196564bf09d4750 /src/lib/rpc/svc_auth.c | |
parent | f47e5a386754320eb19fdfdcb17f86c3bd8f1d8a (diff) | |
download | krb5-b3ccd7786f77efef5e10f7b331ee22f940940171.tar.gz krb5-b3ccd7786f77efef5e10f7b331ee22f940940171.tar.xz krb5-b3ccd7786f77efef5e10f7b331ee22f940940171.zip |
* configure.in: Add AC_TYPE_GETGROUPS to determine argument to
getgroups.
* auth_unix.c (authunix_create_default): Use GETGROUPS_T array in
call to getgroups. Copy into array of int for call to
authunix_create. Note: If auth_unix protection ever used with this
code, we will need to cleanup assumptions in int being 32 bits in
OTW transfer of gids.
* clnt_tcp.c, svc_tcp.c: Change writetcp and readtcp to take char
* as first argument to be compatible with xdrrec_create.
* xdr.c (xdr_opaque): Cast argument in call to XDR_GETBYTES.
* svc.h: Add prototype for gssrpc_svcudp_enablecache.
* svc_auth_gssapi.c (_gssrpc_svcauth_gssapi): Change
_svcauth_gssapi to _gssrpc_svcauth_gssapi for consistancy.
* svc_auth.c: Move prototypes for _gssrpc_svcauth_{unix, null,
short, gssapi} to:
* svc_auth.h: here.
* svc_auth_unix.c: Update _gssrpc_svcauth_short and
_gssrpc_svcauth_unix to match prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13563 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/rpc/svc_auth.c')
-rw-r--r-- | src/lib/rpc/svc_auth.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/rpc/svc_auth.c b/src/lib/rpc/svc_auth.c index 2b65d5b594..2e28b5c059 100644 --- a/src/lib/rpc/svc_auth.c +++ b/src/lib/rpc/svc_auth.c @@ -52,19 +52,6 @@ static char sccsid[] = "@(#)svc_auth.c 2.1 88/08/07 4.0 RPCSRC; from 1.19 87/08/ * */ -#define _svcauth_null _gssrpc_svcauth_null -#define _svcauth_unix _gssrpc_svcauth_unix -#define _svcauth_short _gssrpc_svcauth_short - -/* no authentication */ -enum auth_stat _svcauth_null(struct svc_req *, struct rpc_msg *, bool_t *); -/* unix style (uid, gids) */ -enum auth_stat _svcauth_unix(struct svc_req *, struct rpc_msg *, bool_t *); -/* short hand unix style */ -enum auth_stat _svcauth_short(struct svc_req *, struct rpc_msg *, bool_t *); -/* GSS-API style */ -enum auth_stat _svcauth_gssapi(struct svc_req *, struct rpc_msg *, bool_t *); - static struct svcauthsw_type { unsigned int flavor; enum auth_stat (*authenticator)(struct svc_req *, struct rpc_msg *, |