summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* ignore tmpdirKen Raeburn2002-08-291-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14787 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-29192-124/+499
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn2002-08-2930-0/+68
| | | | | | | | | those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the moment, may need updates for other configurations. (Second try; this time, deal with the cases where "cvs add"/"cvs ci" choked on previously deleted versions numbered 5.x.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14785 dc483132-0cff-0310-8789-dd5450dbe970
* retry checkin reviving dead fileKen Raeburn2002-08-291-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14784 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn2002-08-2939-0/+128
| | | | | | | 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
* * btree/bt_split.c (bt_psplit): Correctly account forTom Yu2002-08-282-2/+9
| | | | | | | sizeof(indx_t) when computing space used in a page by an item. [patch from www.sleepycat.com] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14780 dc483132-0cff-0310-8789-dd5450dbe970
* undo quoting changesKen Raeburn2002-08-272-10/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14779 dc483132-0cff-0310-8789-dd5450dbe970
* more quotingKen Raeburn2002-08-272-4/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14778 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for using the encrypted part of a krb5 ticket as an AFS token--Sam Hartman2002-08-273-56/+227
| | | | | | af krb5-encpart-only (kvno 213) and enable this support by default. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14777 dc483132-0cff-0310-8789-dd5450dbe970
* Quote targets of some copy operations within the build tree. NeededKen Raeburn2002-08-2712-12/+40
| | | | | | | now for Windows since we use "/" as a directory separator in places where Windows would also look for command options. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14776 dc483132-0cff-0310-8789-dd5450dbe970
* Remove release notes as the content is 100% incorrect.Sam Hartman2002-08-261-16/+0
| | | | | | Changelog batch with future commit git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14769 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use $krb5_cv_host instead of $hostEzra Peisach2002-08-262-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14768 dc483132-0cff-0310-8789-dd5450dbe970
* 2002-08-26 Ezra Peisach <epeisach@bu.edu>Ezra Peisach2002-08-262-1/+8
| | | | | | | * configure.in: Use KRB5_LIB_PARAMS instead of AC_CANONICAL_HOST to set krb5_cv_host. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14767 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in: Set host to @krb5_cv_host@ instead of @host@. The wayEzra Peisach2002-08-262-1/+8
| | | | | | | | aclocal.m4 is setup, AC_CANONICAL_HOST may only be evaluated as a cached variable and autoconf 2.52 will only allow one inclusion of the code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14766 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_LIB_PARAMS): Substitute krb5_cv_host inEzra Peisach2002-08-262-7/+7
| | | | | | | Makefiles. Remove K5_OUTPUT_FILES as nothing depends on it anymore. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14765 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4: Require autoconf 2.52 or laterKen Raeburn2002-08-242-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14764 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile: DeletedKen Raeburn2002-08-242-23/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14763 dc483132-0cff-0310-8789-dd5450dbe970
* * sendto_kdc.c (merge_addrlists): Truncate source address list after copyingKen Raeburn2002-08-242-0/+4
| | | | | | its data into the destination list. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14762 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-23212-138/+548
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (auth_data, reply_gss_code): Use OM_uint32 instead of intEzra Peisach2002-08-232-2/+7
| | | | | | to match arguments to gssapi functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14760 dc483132-0cff-0310-8789-dd5450dbe970
* * compat_recv.c: Include defines.h for prototypesEzra Peisach2002-08-232-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14759 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c (dump_db): Update usage comment. Add "-rev" andTom Yu2002-08-234-16/+80
| | | | | | | | | | | | | | | | | | "-recurse" flags to permit reverse and recursive dumping of the database, respectively. Check for dump filename beginning with "-" to avoid accidental dumps to such filenames. * kdb5_util.c (usage): Update to match reality, primarily by updating the "dump" usage, but also showing global options before the command, which is how they were being interpreted anyway. * kdb5_util.M: Update to match reality. Document "-mkey_convert", "-new_mkey_file", "-rev", and "-recurse" options to "dump". Document "dump to stdout" behavior. Show global options before the command. Make some formatting fixes. s/binary tree/btree/ since the btree back end is actually an n-ary tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14757 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_db2.h: Add prototype and rename forTom Yu2002-08-234-5/+53
| | | | | | | | | | | | | krb5_db2_db_iterate_ext(). * kdb_db2.c (krb5_db2_db_iterate_ext): New function; allow optional backwards or recursive (if btree) traversal of the database. * Makefile.in (LIBMINOR): Bump due to addition of krb5_db_iterate_ext(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14755 dc483132-0cff-0310-8789-dd5450dbe970
* * dbtest.c: Include btree.h if we're compiled with -DSTATISTICSTom Yu2002-08-233-1/+21
| | | | | | * Makefile.in: Add rules for bttest; also add a clean rule. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14754 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c: Disable append(); we don't have R_APPEND in this releaseTom Yu2002-08-232-8/+88
| | | | | | | | | | | | | | of DB for some reason. Disable load() due to lack of fgetline(). Conditionalize lots of things on -DSTATISTICS or -DDEBUG as appropriate. (rlist): New function; does recursive listing of principals. (main): Fix up naming of *_ENDIAN macros. Default to read-only open, with new "-w" option for opening read/write. Actually call db->sync with the correct number of arguments. (show): Update call to __bt_dpage(). (usage): Update. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14753 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIBMINOR): Bump due to addition of bt_rseq()Tom Yu2002-08-238-12/+474
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hash/hash_debug.c: Remove inclusion of compat.h, as we don't have it in our build system. * btree/extern.h: Add missing prototypes/renames for __bt_dmpage(). Add renames for bt_rseq() support functions. * btree/bt_seq.c (bt_rseq): New function; like __bt_seq() but does recursive descent rather than using the prev/next pointers. This will catch some pages that might be missed if the database is inconsistent. Added support functions for bt_rseq() as well. * btree/bt_page.c (__bt_free): Set B_METADIRTY when updating free list. (__bt_new): Set B_METADIRTY when updating free list. [patch from www.sleepycat.com] * btree/bt_debug.c (__bt_dump): Bound loop by number of pages actually in file to avoid getting a nigh-infinite number of all-zeroes pages. (__bt_dmpage): Print a newline after dumping the meta page. (__bt_dpage): Add DB* parameter; use this to get pagesize in order to limit dumping of page contents, in case NEXTINDEX(h) happens to be bogus. (__bt_stat): Bound loop by number of pages actually in file so as to stop counting pages after the actual end of file. * btree/bt_close.c (__bt_sync): Apply a Kerbnet fix from long ago; don't return prematurely when B_METADIRTY is set but B_MODIFIED is clear. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14752 dc483132-0cff-0310-8789-dd5450dbe970
* * db.h: Add rename and prototype for bt_rseq(); this is a kludgeTom Yu2002-08-232-0/+7
| | | | | | to avoid stuffing more things into the DB handle. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14751 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SUBDIROBJLISTS): New variableKen Raeburn2002-08-232-0/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14749 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (krb5_locate_kdc): Don't look up kerberos-sec for TCP serviceKen Raeburn2002-08-232-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14748 dc483132-0cff-0310-8789-dd5450dbe970
* turn off debug codeKen Raeburn2002-08-231-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14747 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ctx.c (init_common): Initialize udp_pref_limit fieldKen Raeburn2002-08-232-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14746 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in ($(HDRS)): Depend on "includes"Ken Raeburn2002-08-222-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14745 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SUBDIROBJLISTS): New variableKen Raeburn2002-08-224-1/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14744 dc483132-0cff-0310-8789-dd5450dbe970
* * accessor.c (krb5int_accessor): Use krb5int_sendto instead ofKen Raeburn2002-08-222-1/+3
| | | | | | krb5int_sendto_udp. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14743 dc483132-0cff-0310-8789-dd5450dbe970
* * sendto_kdc.c (MAX_PASS, dprint): New macros.Ken Raeburn2002-08-222-402/+539
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (krb5int_debug_fprint, merge_addrlists): New function. (krb5int_debug_sendto_kdc): New variable. (krb5_sendto_kdc): Use dprint. Call krb5int_locate_kdc in two places, with socket type selection done separately. (debug_log_connect): Function deleted; use dprint instead. (dperror): Use dprint. (print_fdsets): Function deleted; use dprint instead. (struct conn_state): Use struct instead of union so incoming and outgoing buffer pointers can co-exist. Add INITIALIZING state. (state_strings): Add INITIALIZING. (krb5int_sendto_udp, krb5int_sendto_tcp): Functions integrated into krb5int_sendto. (call_select): Use dprint. (setup_connection): New function, handles data structure initialization. (start_connection): Renamed from start_tcp_connection. Don't do data structure initialization, just start connection, and transmit UDP datagrams. Use dprint. (maybe_send): Create socket for "INITIALIZING" connections; transmit datagrams. (kill_conn): New function split out from service_tcp_fd. (SSF_READ, SSF_WRITE, SSF_EXCEPTION): New macros. (service_tcp_fd): Accept a flag word rather than separate int arguments for read, write, exception. Use dprint. (service_udp_fd): New function. (service_fd): New function, calls one of the above two. (service_fds): Call it. Use a flag word instead of separate r/w/x values. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14742 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (krb5int_grow_addrlist): Renamed from grow_list, now external.Ken Raeburn2002-08-222-2/+9
| | | | | | (grow_list): New macro. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14741 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h (krb5int_sendto_udp, krb5int_sendto_tcp): Declarations deleted.Ken Raeburn2002-08-212-5/+8
| | | | | | (krb5int_sendto, krb5int_grow_addrlist): New decls. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14740 dc483132-0cff-0310-8789-dd5450dbe970
* * port-sockets.h (SG_BUF): New macroKen Raeburn2002-08-212-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14739 dc483132-0cff-0310-8789-dd5450dbe970
* * string2key.c: Work around possible bug with AFS salts;Tom Yu2002-08-162-0/+8
| | | | | | [krb5-clients/1146] from <Wolfgang.Friebel@cern.ch>. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14734 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h (struct _krb5_context): Add new member udp_pref_limitKen Raeburn2002-08-162-8/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14733 dc483132-0cff-0310-8789-dd5450dbe970
* * sendto_kdc.c (DEFAULT_UDP_PREF_LIMIT, HARD_UDP_LIMIT): New macros.Ken Raeburn2002-08-152-3/+47
| | | | | | | | (debug_log_connect): Look up "udp_preference_limit" in libdefaults part of profile; try TCP before UDP if the packet size is larger than specified. Don't try UDP at all if the packet is over about 32K. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14732 dc483132-0cff-0310-8789-dd5450dbe970
* * krb524d.c (kdc_get_server_key): Check for DISALLOW_ALL_TIX andTom Yu2002-08-152-1/+12
| | | | | | DISALLOW_SVR when looking up server key. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14728 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (krb5_ktkdb_get_entry): For consistency, check forTom Yu2002-08-152-0/+11
| | | | | | DISALLOW_ALL_TIX and DISALLOW_SVR when looking up keys. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14727 dc483132-0cff-0310-8789-dd5450dbe970
* * kerberos_v4.c: For consistency, check for both DISALLOW_ALL_TIXTom Yu2002-08-152-1/+29
| | | | | | and DISALLOW_SVR when looking up services. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14726 dc483132-0cff-0310-8789-dd5450dbe970
* * kvno.c (do_v4_kvno): Initialize name, inst, realm to emptyTom Yu2002-08-152-0/+6
| | | | | | strings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14725 dc483132-0cff-0310-8789-dd5450dbe970
* * cc_file.c (ALLOC): Use calloc, not malloc.Ken Raeburn2002-08-152-2/+15
| | | | | | | (krb5_fcc_read_principal): Check bounds on number of components before calling ALLOC. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14724 dc483132-0cff-0310-8789-dd5450dbe970
* * t_cc.c: Remove references to STDIO ccacheTom Yu2002-08-152-7/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14723 dc483132-0cff-0310-8789-dd5450dbe970
* * t_ser.c (ser_ccache_test): Remove references to STDIO ccachesTom Yu2002-08-152-19/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14722 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (EXTRADEPSRCS): New variable.Ken Raeburn2002-08-152-0/+14
| | | | | | (.d): Depend on includes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14721 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SUBDIROBJLISTS): New variableKen Raeburn2002-08-152-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14720 dc483132-0cff-0310-8789-dd5450dbe970