| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
comparisons
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14870 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
match end of output.
(expect_kadm_ok): s/error/perror.
(setup_database): Work around tcl 8.4's (incorrect?) output EOL
translation.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14867 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the
moment, may need updates for other configurations.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14783 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14768 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
since we don't call it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14701 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
encoded array count.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14681 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14656 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14522 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
setup happens properly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14485 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14097 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
variable declared enum auth_stat instead of int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14072 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ensure argument alignment.
* pmap_clnt.c, pmap_clnt.h (pmap_set): Change port argument to int
to avoid width warnings.
* rpc_callmsg.c (xdr_callmsg): Cast argument to XDR_INLINE to
avoid signed vs. unsigned warning.
* svc.c: Cast assignment to avoid signed warning.
* xdr.c (xdr_u_short, xdr_u_long): cast pointers to long * in
invocation of XDR_PUTLONG.
* xdr_alloc.c (xdralloc_putbytes): Cast argument to DynInsert to
avoid signed/unsigned warning.
* auth_gssapi.c, svc_auth_gssapi, xdr_rec.c: Cast arguments to
avoid alignment warnings.
* svc_tcp.c, xdr_stdio.c: Cast argument to fread/fwrite/read/write.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14054 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13828 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
$(OBJEXT). Change a couple of UNIX rules to not trigger incorrectly on
Windows. Rebuild dependencies.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13801 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
don't worry about restoring them when importing new versions of code.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13792 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
FAR/NEAR specs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13786 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13725 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
change the timeout struct timeval. Under Linux, this reflects the
time left available - which might result in 0 in the case of a
timeout. When attempting to resend a request, this may results in
a timeout of zero - flooding the server with replay requests.
* clnt_tcp.c (readtcp): Same.
* pmap_rmt.c (clnt_broadcast): Same
* svc_tcp.c (readtcp): Same
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13679 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* svc_auth_gssapi.c: In call to gss_accept_sec_context, pass
OM_uint32 * instead of int *;
* pmap_clnt.h, pmap_getport.c (pmap_getport): Prototype changed
for protocol from unsigned int to rpc_u_int32 to match struct
pmap.
* getrpcport.c (gssrpc_getrpcport): Update to reflect proper
calling conventions.
* rpc.h (callrpc): Change prototype from expecting ints for
prognum, versnum and procnum to rpc_u_int32 for consistancy.
(getrpcport): Update arguments in similar fashion.
* clnt_simple.c (gssrpc_callrpc): Update to reflect prototype change.
* auth_gssapi_misc.c (auth_gssapi_display_status_1): Local
variable msg_ctx should be OM_uint32 instead of int as argument to
gss_display_status.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13645 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
| |
from passing ints as arguments to OM_uint32 to match spec for
gss_init_sec_context.
* auth_gssapi.h: Update prototype for auth_gssapi_create.
* svc.h (struct svc_req): The rq_clntcred and rq_svccred elements
are now void *.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13639 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13621 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* clnt.h: CLIENT cl_private structure element changed to type void *.
* svc.h: SVCXRPT elements xp_p1 and xp_p2 changed to void * from
caddr_t.
* svc_udp.c: su_cache element of svcudp_data from caddr_t to void *.
* clnt_tcp.c, svc_tcp.c (writetcp, readtcp): Cleanup alignment
warning in casts.
* types.hin (mem_alloc): Do not cast type of malloc to char *.
* xdr.h: Change type of x_private of XDR from caddr_t to void *.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13620 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13596 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
xdr_array.c, xdr_reference.c : Include string.h for memset and
memcmp prototypes.
* auth_gssapi.c, auth_gssapi_misc.c, svc_auth_gssapi.c: Cast
argment to PRINTF to match format.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13595 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13594 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
FD_ZERO it.
* rpc_commondata.c: Do not assume what the structure of an
fd_set looks like. Add variable gssrpc_svc_fdset_init to
determine if initialized.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13585 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13569 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rpc_test_prog_1_svc.
* rpc_test.h: Create prototypes for rpc_test_echo_1_svc and
rpc_test_prog_1_svc.
* server.c: Declare usage and handlesig static. Change
rpc_test_echo_1 to rpc_test_echo_1_svc and rpc_test_prog_1 to
rpc_test_prog_1_svc.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13547 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* auth_gssapi.h: Complete prototypes for
_svcauth_gssapi_unset_names().
* clnt.h: Prototype dispatch functions and all functions.
* clnt_perror.c: Prototype static auth_errmsg().
* clnt_raw.h clnt_tcp.c, clnt_udp.c: Provide prototypes to static
functions and match dispatch table prototypes. control function
takes void * instead of caddr_t.
* pmap_rmt.c: Move prototype for resultproc_t to pmap_clnt.h.
* rpc.h: get_myaddress returns int. Add prototypes for callrpc and
getrpcport.
* rpc_commondata.c (rpc_createerr): When initializing rpc_creaerr
use RPC_SUCCESS instead of 0.
* get_myaddress.c, rpc_dtablesize.c: Include gssrpc/rpc.h for
prototype.
* pmap_clnt.h, pmap_prot.h, pmap_rmt.h, rpc_msg.h: Full prototypes
for all functions.
* svc.c: Provide full prototype for static function.
* svc.h: Prototypes for dispatch functions added. Flushed out
prototypes for all functions missing prototypes. Added prototype
for svcfd_create.
* svc_auth.c: Prototypes for all functions referenced.
* svc_auth.h: Prototype dispatch functions to svc_auth_ops.
* svc_auth_any.c: Replace use of authany_wrap() with a new local
function that matches svc_auth_ops dispatch table.
* svc_simple.c: Provide prototype for static function
universal. Fill in missing types of parameters to
gssrpc_registerrpc.
* svc_raw.c svc_tcp.c, svc_udp.c: Provide prototypes for static
functions and match prototypes in dispatch table. Change getargs
and freeargs argument to void * from caddr_t.
* xdr.c (xdr_void): Function to match prototype of arguments given.
* xdr.h: Provide full prototypes for xdr_ops dispatch table and
xdr_void().
* svc_auth_gssapi.c, xdr_alloc.c, xdr_mem.c, xdr_rec.c,
xdr_stdio.c: Provide protypes for static functions and match
dispatch tables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13528 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* auth_unix.h: Expand prototype for xdr_authunix_params to include
arguments.
* auth_gssapi.h: Give full prototypes for xdr_gss_buf,
xdr_authgssapi_creds, xdr_authgssapi_init_arg and
xdr_authgssapi_init_res.
* auth_gssapi.c, auth_none.c, auth_unix.c: For struct AUTH
disptach functions, provide full prototypes and ensure consistant
usage in functions
* auth.h: Provide prototypes dispatch functions in struct
AUTH. Give a forward declaration of struct rpc_msg. Change
duplicate definitions of AUTH_WRAP and AUTH_UNWRAP into auth_wrap
and auth_unwrap. Give full prototype for authany_wrap.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13521 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
shadow filewide static definition of name.
Move file wide definition of "pl" into respective functions.
* pmap_rmt.c: Change sin->sockin and socket->sock.
* pmap_getmaps.c, pmap_getport.c: Change socket to sock to not
shadow network function.
* bindresvport.c, clnt_generic.c: Change sin to sockin to not
shadow function declaration.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13486 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13387 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
gss_OID for gssapi functions.
* xdr.c (xdr_u_int, xdr_int32, xdr_u_int32): If enumerated
operation is not XDR_ENCODE, XDR_DECODE or XDR_FREE - return FALSE
instead falling off end of function.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13361 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Check for unistd.h.
* server.c: Include unistd.h for getopt() prototype. Fix
rpc_test_badauth() prototype to be consistant with error
handler. Declare main as returning int. If POSIX_SIGNALS is
defined, the handler expects an argument.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13312 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
_svcauth_gssapi_set_log_XXX_func to match code.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13311 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
gss_buffer_desc strings are '\0' terminated.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13301 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
gss_buffer_desc for printf.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13271 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13270 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
switch.
* getrpcport.c: Include string.h for memmove() prototype and
pmap_clnt.h for pmap_getport() prototype.
* rpc_dtablesize.c (_gssrpc_rpc_dtablesize): Declare as returning int.
* get_myaddress.c (gssrpc_get_myaddress): Likewise.
* rpc_prot.c (gssrpc_xdr_accepted_reply, sunrpc_seterr_reply):
Enumerate missing cases for switch.
(rejected): Fix typo: RPC_VERMISMATCH -> RPC_MISMATCH for
enumerated switch.
* svc_auth.c: Add braces to svcauthsw[] initialization.
* svc_simple.c: Include pmap_clnt.h for pmap_unset prototype.
* bindresvport.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c, pmap_clnt.c,
pmap_getmaps.c, pmap_gtport.c, pmap_rmt.c, svc_tcp.c, svc_udp.c:
Include unistd.h for close() prototype.
* xdr.c (xdr_opaque): Specify internal buffer as ints.
(xdr_u_int32): Declare as returning bool_t.
* clnt_generic.c, rpc_callmsg.c, svc_auth_unix.c, xdr_mem.c:
Include string.h for memmove() prototype.
* xdr_rec.c: Include string.h for memmove() prototype. Add dummy
XDR_FREE cases for switches.
* xdr_reference.c (xdr_reference): Add XDR_ENCODE case. (gcc warning).
* xdr_array.c (xdr_array): Likewise.
* auth.h: Include gssrpc/xdr.h and provide prototype for
gssrpc_xdr_opaque_auth().
* auth_gssapi.h: Add prototypes for auth_gssapi_seal_seq() and
auth_gssapi_unseal_seq().
* clnt.h: Add prototype for _gssrpc_rpc_dtablesize().
* rpc.h: Add prototypes for gssrpc_get_myaddress() and
gssrpc_bindresvport().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13269 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
instead of assuming buffer initialized to 0. Include <string.h>
for memset prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13187 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13060 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13059 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
xdrstdio_create(), xdrrec_create(), xdralloc_create(),
xdralloc_release(), xdrrec_endofrecord(), xdrrec_skiprecord(),
xdrrec_eof(), xdralloc_getdata(). Add prototype for
gssrpc_xdr_fre().
* xdr.c: Argument to gssrpc_xdr_free(0 changed from char * to void
*. xdr_u_char() changed to take unsigned char * instead of char *.
* auth_unix.c: Include unistd.h and string.h for
prototypes. Declare marshal_new_auth() as static void instead of
static bool_t based on usage.
* auth.h, svc_auth.h: Provide full prototypes for a number of
functions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13010 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.in (unit-test-body): Combine -tcp and -udp versions, setting PASS
instead of PROT.
* configure.in: Set and substitute PASS instead of UDP_TEST.
* config/unix.exp: Don't invoke rpc_test_start. Set MULTIPASS, including a
setting for PROT and a dummy to trigger rpc_test_start invocation.
(rpc_test_start): If a server has already been started, call rpc_test_exit to
verify that it's still running.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12503 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12502 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
script
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12495 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12442 dc483132-0cff-0310-8789-dd5450dbe970
|