summaryrefslogtreecommitdiffstats
path: root/src/lib/rpc
Commit message (Collapse)AuthorAgeFilesLines
* * svc.c: Fix to reference the correct xprt because we're no longerTom Yu1999-04-242-4/+6
| | | | | | calling ffs(); also remove some unused variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11392 dc483132-0cff-0310-8789-dd5450dbe970
* * svc.c (xprt_unregister): Fix typoTom Yu1999-04-212-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11371 dc483132-0cff-0310-8789-dd5450dbe970
* svc.c (svc_getreq, svc_getreqset): Avoid using internal, privateTheodore Tso1999-04-142-7/+20
| | | | | | fd_set structure elements (Needed for Linux/glibc 2.1) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11360 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_commondata.c: Add initializers to prevent lossage on systemsTom Yu1999-04-022-5/+13
| | | | | | that don't deal with common blocks in libraries. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11339 dc483132-0cff-0310-8789-dd5450dbe970
* Change K5_OUTPUT_FILES to be K5_AC_OUTPUTTheodore Tso1999-03-121-2/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11265 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-052-1/+10
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11087 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-052-0/+7
| | | | | | | | to buildtop and thisconfigdir, respectively.) configure.in: Use K5_AC_OUTPUT isntead of K5_OUTPUT_FILES git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11086 dc483132-0cff-0310-8789-dd5450dbe970
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-304-10/+50
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_EXPDEPS):Tom Yu1998-04-152-2/+7
| | | | | | (SHLIB_EXPLIBS): Rename libcrypto -> libk5crypto. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10532 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (includes): Don't mkdir unless the directory doesn'tTom Yu1998-04-062-1/+6
| | | | | | exist yet. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10522 dc483132-0cff-0310-8789-dd5450dbe970
* Remove trailing slash from thisconfigdir. Change directory syntaxTom Yu1998-02-183-3/+8
| | | | | | used in BUILDTOP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c: Update header locations. Rename of xdr_freeTom Yu1998-02-144-8/+23
| | | | | | | | * rpc_test.h: Update header locations. * server.c: Update header locations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10448 dc483132-0cff-0310-8789-dd5450dbe970
* "Renames" in the following refer to renaming of various exportedTom Yu1998-02-1459-589/+337
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions and global variables to prefix them with "gssrpc_" or "_gssrpc" as might be appropriate. Some symbols which are unlikely to occur in vendor rpc implementations have retained their old names (notably the gssapi specific ones). * auth.h: Renames. * auth_any.c: Update header locations. * auth_gssapi.c: Punt naughty RCS keywords. Update header locations. Remove explicit extern decl of rpc_createrr (clnt.h gets it). Renames. * auth_gssapi.h: Punt naughty RCS keywords. * auth_gssapi_misc.c: Punt naught RCS keywords. Update header locations. * auth_none.c: Update header locations. Renames. * auth_unix.c: Update header locations. Renames. * auth_unix.h: Renames. * authunix_prot.c: Update header locations. * bindresvport.c: Renames. * clnt.h: Renames. * clnt_generic.c: Update header locations. * clnt_perror.c: Update header locations. * clnt_raw.c: Update header locations. Renames. * clnt_simple.c: Update header locations. Renames. * clnt_tcp.c: Update header locations. Renames. * clnt_udp.c: Upate header loations. Renames. * get_myaddress.c: Update header locations. Renames. * getrpcent.c: Update header locations. * getrpcport.c: Update header locations. Renames. * netdb.h: Update header locations. * pmap_clnt.c: Update header locations. Renames. * pmap_clnt.h: Renames. * pmap_getmaps.c: Update header locations. * pmap_getport.c: Update header locations. * pmap_prot.c: Update header locations. * pmap_prot.h: Renames. * pmap_prot2.c: Update header locations. * pmap_rmt.c: Update header locations. Renames. * pmap_rmt.h: Renames. * rpc.h: Update header locations. No longer include rpc/netdb.h. * rpc_callmsg.c: Update header locations. Renames. * rpc_commondata.c: Update header locations. * rpc_dtablesize.c: Renames. * rpc_msg.h: Renames. * rpc_prot.c: Update header locations. Renames. * svc.c: Update header locations. Renames. * svc.h: Renames. * svc_auth.c: Update header locations. Renames. * svc_auth.h: Renames. * svc_auth_any.c: Update header locations. * svc_auth_gssapi.c: Punt naughty RCS keywords. Update header locations. Renames. * svc_auth_unix.c: Renames. * svc_raw.c: Update header locations. * svc_run.c: Update header locations. Renames. * svc_simple.c: Update header locations. Renames. Make pl static. * svc_tcp.c: Update header locations. Renames. * svc_udp.c: Update header locations. Renames. * xdr.c: Update header locations. Renames. * xdr.h: Renames. * xdr_alloc.c: Punt naughty RCS keywords. Update header locations. * xdr_array.c: Update header locations. * xdr_float.c: Update header locations. * xdr_mem.c: Update header locations. * xdr_rec.c: Update header locations. * xdr_reference.c: Update header locations. * xdr_stdio.c: Update header locations. * Makefile.in: Bump major version due to changes. Don't build getrpcent.o, since we don't use it, and dealing with the rpc/netdb.h lossage was a major pain. Also, rename HDRDIR to $(BUILDTOP)/gssrpc in order to avoid problems with system headers including rpc/*.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10447 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c (main): Tweak the kludge variableTom Yu1998-02-122-0/+14
| | | | | | | krb5_gss_dbg_clietn_expcreds so we can send expired creds to the server. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10427 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add commented out AC_OUTPUT to force autoreconf toTom Yu1998-02-122-0/+6
| | | | | | rebuild the configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10425 dc483132-0cff-0310-8789-dd5450dbe970
* Mass makefile/configure.in build system revampTheodore Tso1998-02-125-20/+48
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* * bindresvport.c: Include string.h for memset prototypeEzra Peisach1998-01-212-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10367 dc483132-0cff-0310-8789-dd5450dbe970
* * svc_auth_gssapi.c (_svcauth_gssapi): When looping over services,Ezra Peisach1997-12-162-0/+14
| | | | | | free previous output_tokens. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10339 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (types.h): Add rules to generate file by runningEzra Peisach1997-11-212-0/+19
| | | | | | config.status. Remove on make clean. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10306 dc483132-0cff-0310-8789-dd5450dbe970
* Fix to not lose entries in the chain linked client listEzra Peisach1997-10-212-1/+16
| | | | | | | | | A pointer was not being updated resulting in the situation where random clients would sudenly fail with a misc. rpc. error as the client handle could not be found. The scenario required three active clients to trigger the problem. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10241 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in, Makefile.in: Add test to disable udp test underTom Yu1997-10-103-2/+19
| | | | | | | Solaris 2.0 thru 2.5; a getsockname() bug prevents channel bindings from working. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10221 dc483132-0cff-0310-8789-dd5450dbe970
* * get_myaddress.c: Include string.h for memcpy prototypeEzra Peisach1997-10-072-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10214 dc483132-0cff-0310-8789-dd5450dbe970
* * Make shared libs work on AIXSam Hartman1997-02-222-5/+9
| | | | | | * Fix dependencies for library git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9952 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for sys/uio.hEzra Peisach1997-02-103-0/+10
| | | | | | | | | * svc_udp.c: Include sys/uio.h is available for struct iovec. Needed for Irix 5.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9836 dc483132-0cff-0310-8789-dd5450dbe970
* * svc_udp.c (svcudp_recv): Avoid coredumps under Solaris (andTom Yu1997-02-102-0/+11
| | | | | | | possibly other systems) by passing in a non-NULL iovec to recvmsg(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9834 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-096-76/+90
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
* Merge V1_0_FREEZE_3 into the mainline. (Note this merge does *not*Theodore Tso1996-12-139-9/+74
| | | | | | include the doc subtree!!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9632 dc483132-0cff-0310-8789-dd5450dbe970
* * Various changes to allow channel bindings to work with both UDPBarry Jaspan1996-12-047-25/+82
| | | | | | | | | | | | | | | | | | | | | | and TCP cleanly [krb5-libs/180]: * auth_gssapi.c: remove the special-case exception to channel bindings failure added in the previous revision, since we now solve the problem by making channel bindings not fail * clnt_udp.c: use a connected socket so that the client can determine its own source address with getsockname * svc.h: add xp_laddr and xp_laddrlen fields to SVCXPRT structure * svc_tcp.c: set xp_laddr and xp_laddrlen when a connection is established * svc_udp.c (svcudp_recv): use recvmsg with MSG_PEEK followed by recvfrom in order to determine both source and dest address on unconnected UDP socket, set xp_laddr and xp_laddrlen git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9600 dc483132-0cff-0310-8789-dd5450dbe970
* * server.c (main): Add declaration of optind for systems thatTom Yu1996-11-152-0/+6
| | | | | | don't have it in stdio.h or the like. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9419 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_test_setup.sh: VERBOSE is now inherited from env-setup.shBarry Jaspan1996-11-142-8/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9416 dc483132-0cff-0310-8789-dd5450dbe970
* clean: Remove test programs and objectsEzra Peisach1996-11-132-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9404 dc483132-0cff-0310-8789-dd5450dbe970
* * auth_gssapi.c (auth_gssapi_create): handle channel bindingsBarry Jaspan1996-11-122-2/+13
| | | | | | failure so UDP connections can work [krb5-libs/180] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9390 dc483132-0cff-0310-8789-dd5450dbe970
* * lib/helpers.exp, client.c, server.c, config/unix.exp,Barry Jaspan1996-11-126-22/+79
| | | | | | | Makefile.in: test GSS-RPC with both TCP and UDP transport layers [krb5-libs/180] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9389 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_test_setup.sh: Fix test of $VERBOSE_TEST so that $VERBOSETom Yu1996-11-122-2/+10
| | | | | | only gets set if $VERBOSE_TEST is not empty. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9388 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_test_setup.sh: Use a temp file rather than a here documentTom Yu1996-11-122-3/+8
| | | | | | feeding into eval because Ultrix sh doesn't deal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9379 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to support AC_CANONICAL_HOST for runtest flags; seeTom Yu1996-11-122-1/+6
| | | | | | ChangeLogs for details. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9378 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (client.o, server.o): client.o and server.o, notTom Yu1996-11-112-4/+6
| | | | | | client.c and server.c, depend on rpc_test.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9369 dc483132-0cff-0310-8789-dd5450dbe970
* Remove calls to macros that are a part of CONFIG_RULES;Tom Yu1996-11-082-2/+2
| | | | | | see ChangeLogs for details git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9338 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (server.o): Fix typo in previous checkinTom Yu1996-11-072-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9336 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Add dependencies on $(srcdir)/foo.c so that someTom Yu1996-11-062-0/+7
| | | | | | makes can deal with VPATH properly (e.g. NetBSD pmake) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9305 dc483132-0cff-0310-8789-dd5450dbe970
* We don't need the special case for linux anymore, since we'reTheodore Tso1996-11-062-11/+6
| | | | | | including the output from rpcgen in the source tree now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9303 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Revert removal of CopySrcHeader, etc., for nowTom Yu1996-11-053-33/+25
| | | | | | | | * Makefile.in (OBJS): Remove dependency of $(OBJS) on shared, also remove dependency of $(HDRS) on $(HDRDIR). Both of these to avoid unecessary copying. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9301 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(LD) instead of $(CC) at link stage - this allows one to useEzra Peisach1996-10-312-2/+7
| | | | | | purify correctly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9266 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo in lastEzra Peisach1996-10-311-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9259 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Only run tests if required programs, librariesEzra Peisach1996-10-313-1/+26
| | | | | | | | available. * configure.in: Check for runtest, Perl, and tcl before making checks. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9258 dc483132-0cff-0310-8789-dd5450dbe970
* * xdr_stdio.c: Remove the #ifndef mc68000 cruft. I'm not sureBarry Jaspan1996-10-302-5/+12
| | | | | | | | | | what it was supposed to accomplish, but in both places it appeared it was unquestionably wrong. I suspect that the ifdef was put in originally to optimize byte-alignment code that wasn't necessary on the 68000. Who knows? Someone will complain if this isn't right. [krb5-libs/47] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9253 dc483132-0cff-0310-8789-dd5450dbe970
* * auth_gssapi.c (auth_gssapi_create): #ifdef GSSAPI_KRB5, a nullBarry Jaspan1996-10-292-1/+9
| | | | | | | | mech_type implies gss_mech_krb5, so include that in the version 3 fallback test. This change, along with the other changes for rpc version 4, complete the fix for [krb5-libs/106]. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9246 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, rpc_test_clnt.c, rpc_test_svc.c, rpc_test.h:Barry Jaspan1996-10-245-9/+125
| | | | | | | distribute generated rpc_test_* files instead of running rpcgen on rpc_text.x [krb5-admin/133] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9240 dc483132-0cff-0310-8789-dd5450dbe970
* Change #ifdef sparc to #ifdef sun for more portability.Theodore Tso1996-10-233-3/+9
| | | | | | [PR#123] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9238 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in: Fixes to work with new directoryTom Yu1996-10-223-16/+65
| | | | | | recursion method. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9234 dc483132-0cff-0310-8789-dd5450dbe970