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_unix.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_unix.c')
-rw-r--r-- | src/lib/rpc/svc_auth_unix.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/rpc/svc_auth_unix.c b/src/lib/rpc/svc_auth_unix.c index 48632b2248..a947de4128 100644 --- a/src/lib/rpc/svc_auth_unix.c +++ b/src/lib/rpc/svc_auth_unix.c @@ -50,9 +50,10 @@ static char sccsid[] = "@(#)svc_auth_unix.c 1.28 88/02/08 Copyr 1984 Sun Micro"; * Unix longhand authenticator */ enum auth_stat -_gssrpc_svcauth_unix(rqst, msg) +_gssrpc_svcauth_unix(rqst, msg, dispatch) register struct svc_req *rqst; register struct rpc_msg *msg; + bool_t *dispatch; { register enum auth_stat stat; XDR xdrs; @@ -129,9 +130,10 @@ done: */ /*ARGSUSED*/ enum auth_stat -_gssrpc_svcauth_short(rqst, msg) +_gssrpc_svcauth_short(rqst, msg, dispatch) struct svc_req *rqst; struct rpc_msg *msg; + bool_t *dispatch; { rqst->rq_xprt->xp_auth = &svc_auth_any; return (AUTH_REJECTEDCRED); |