summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* fix typo in commentKen Raeburn2000-07-141-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12545 dc483132-0cff-0310-8789-dd5450dbe970
* Collapse ccache implementations file, stdio, memory into single files.Ken Raeburn2000-07-149-36/+7588
| | | | | | | (Old files not removed yet.) Add a new file for krb5_cc_* dispatch functions that are no longer macros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12544 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin (krb5_cc_*): Replace macro definitions with function declarations.Ken Raeburn2000-07-143-51/+102
| | | | | | | (struct _krb5_ccache, struct _krb5_cc_ops): Declare only; move definitions... * k5-int.h: To here. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12543 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_LIB_PARAMS): Moved bulk of the work into config/shlib.conf.Ken Raeburn2000-07-142-256/+18
| | | | | | | (K5_AC_CHECK_FILES): Require AC_PROG_CC be run first. (WITH_CC): If we're using gcc, enable a bunch of warning options. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12542 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf: New file, taken from KRB5_LIB_PARAMS in ../aclocal.m4Ken Raeburn2000-07-142-0/+259
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12541 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c: Various message char arrays turned into macros, to permit gcc toKen Raeburn2000-07-052-64/+69
| | | | | | | | verify format strings and arguments match. (k5beta6_dump_header, k5beta7_dump_header): Deleted. (dump_ov_princ): Use %lx for aux_attributes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12534 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Drain buffers on klist test to avoid wedging rsh onTom Yu2000-07-052-2/+9
| | | | | | exit under HP/UX. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12533 dc483132-0cff-0310-8789-dd5450dbe970
* * test/dbtest.c: Cleanup gcc -Wall complaints with printf formatEzra Peisach2000-07-042-12/+20
| | | | | | strings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12532 dc483132-0cff-0310-8789-dd5450dbe970
* * encrypt_key.c, kdb_cpw.c, kdb_xdr.c: Add parenthesis aboutEzra Peisach2000-07-044-22/+24
| | | | | | assignment in conditional and remove unused variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12531 dc483132-0cff-0310-8789-dd5450dbe970
* * gssapi.exp: Rework significantly to deal with HP/UX lossage thatTom Yu2000-07-042-381/+105
| | | | | | | | | probably resulted from when either the client or the server wound up blocking on tty output. Abstract things a little more. Remove dead duplicate code that used to deal with "-v2". Should figure out why the "-v2" stuff disappeared mysteriously. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12530 dc483132-0cff-0310-8789-dd5450dbe970
* * cr_tkt.c: Frob prototypes so they don't involve narrow typesTom Yu2000-07-042-8/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12529 dc483132-0cff-0310-8789-dd5450dbe970
* * krb.h: Add prototypes for get_pw_tkt() and unix_time_gmt_unixsec()Ezra Peisach2000-07-032-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12528 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: Add prototypes for krb5_libdefault_boolean,Ezra Peisach2000-07-032-0/+13
| | | | | | _krb5_use_dns_realm, _krb5_use_dns_kdc, _krb5_conf_boolean. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12527 dc483132-0cff-0310-8789-dd5450dbe970
* admin.h: Add kadm5_free_name_list prototypeEzra Peisach2000-07-032-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12526 dc483132-0cff-0310-8789-dd5450dbe970
* Added prototype for ss_create_invocation()Ezra Peisach2000-07-032-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12525 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (ktutil): Do not link with the V4Ezra Peisach2000-07-034-5/+18
| | | | | | | | | | | | | libraries. Although the program can write out a v4 srvtab, the one necessary function is here. * ktutil_funcs.c (ktutil_read_keytab): Add explicit braces to avoid ambiguous `else'. (getstr): register count -> register int count * ktutil.c (main): ss_listen() takes only one argument. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12524 dc483132-0cff-0310-8789-dd5450dbe970
* * ss_wrapper.c (main): ss_listen() takes only one argumentEzra Peisach2000-07-032-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12523 dc483132-0cff-0310-8789-dd5450dbe970
* * test_ss.c (main): Change usage of ss_listen to agree withEzra Peisach2000-07-033-2/+10
| | | | | | | | prototype. * ss.h: Add prototype for ss_listen() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12522 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Remove linking of krb5util library fromEzra Peisach2000-07-032-8/+13
| | | | | | applications that never use it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12521 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (rtest): Link in the kdb5 libraryEzra Peisach2000-07-032-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12520 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in: Remove the kdb5 and db libraries from theEzra Peisach2000-07-032-2/+7
| | | | | | | | | | common application list but list them for server applications. Clients in general do not depend on the database libraries. (this improves startup time with shared libraries by not requiring the resolve of a library that is not used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12519 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: v5passwd does not depend on the kadm5Ezra Peisach2000-07-032-2/+7
| | | | | | libraries. This is the older protocol. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12518 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: kadmin4d depends on the kdb5 libEzra Peisach2000-07-032-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12517 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: The client library does not depend on the databaseEzra Peisach2000-07-032-4/+6
| | | | | | library. Remove reference to it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12516 dc483132-0cff-0310-8789-dd5450dbe970
* * recno/rec_seq.c: Include unused sccsid when LIBC_SCCS definedEzra Peisach2000-07-039-11/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | * recno/rec_close.c (__rec_close): Explicit braces to avoid ambiguous `else' * btree/bt_split.c (bt_psplit): Parenthesis about && and || conditional. * btree/bt_put.c (__bt_put): Extra {} to make nested if/else unambiguous. * btree/bt_open.c (__bt_open): Add parenthesis to ensure precedence ordering. * hash/dbm.c (kdb2_dbm_firstkey): Conditionalize defintion of variables based on use. * hash/hash_func.c: Ifdef out unused static hash functions. * hash/hash.c (init_htab): Remove unused variable. gcc -Wall warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12515 dc483132-0cff-0310-8789-dd5450dbe970
* t_imp_name.c: Define GSSAPI_V2 for proper variable typesEzra Peisach2000-07-032-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12514 dc483132-0cff-0310-8789-dd5450dbe970
* kdb5_mkdums.c: Remove unused variableEzra Peisach2000-07-032-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12513 dc483132-0cff-0310-8789-dd5450dbe970
* kdb5_verify.c: Remove unused variableEzra Peisach2000-07-032-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12512 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.shin: Do not override the EXPECT environment variableEzra Peisach2000-07-032-1/+8
| | | | | | if set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12511 dc483132-0cff-0310-8789-dd5450dbe970
* back out format-attribute changeKen Raeburn2000-07-022-5/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12510 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Add rudimentary support for multiple passes. ForTom Yu2000-07-022-73/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | now, iterate over a few combinations of des_krbtgt and assorted enctype lists. Will eventually allow for separate krb5.conf files for clients and servers. Add varibles RLOGIN and RLOGIN_FLAGS to permit run-time configuration of rlogin program if necessary. Set up an onexit handler that calls stop_kerberos_daemons. Replace many uses of doubled-up send_log and verbose with single calls to verbose -log. Replace instances of send_error with perror where appropriate, since this will cause successor test to fail, which is usually what we want. (setup_root_shell): Replace calls to untested with calls to unsupported; also use note for explanatory text previously printed using untested. Add match string for "connection refused" and collapse common code into a single expect clause by using the -re flag. (start_kerberos_daemons): Conditionalize calls to fail based on $standalone; in the !$standalone case, call perror instead. Calls to fail and pass for a given test should have consistent strings, and extraneous calls to fail should not be made in order to keep the total number of passed and failed tests constant regardless of success of setup steps. Much remains to be done in this area though. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12509 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_EXPLIBS): Use $(LIBS) not @RESOLV_LIB@ inTom Yu2000-07-012-1/+6
| | | | | | order to get -lnsl, -lsocket, etc. if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12508 dc483132-0cff-0310-8789-dd5450dbe970
* * acconfig.h: Add function replacement renaming symbols forTom Yu2000-07-012-0/+11
| | | | | | util/db2/include/config.h.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12507 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in: Fix up lib build rules to deal properly (hopefuly) withTom Yu2000-07-012-3/+8
| | | | | | empty objlist files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12506 dc483132-0cff-0310-8789-dd5450dbe970
* * clib/strerror.c: #include config.hTom Yu2000-07-017-13/+43
| | | | | | | | | | | | | | | | | * clib/mkstemp.c: #include config.h. * clib/memmove.c: #include config.h. * clib/Makefile.in (LOCALINCLUDES): Add -I../include to get config.h. * configure.in: Generate two config headers, one for internal use and one for external use. Rework clib replacement code to use AC_DEFINE rather than ADD_DEF. * Makefile.in (STOBJLISTS): Add clib. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12505 dc483132-0cff-0310-8789-dd5450dbe970
* * db-config.h.in: New file; contains useful tidbits fromTom Yu2000-07-014-3/+44
| | | | | | | | | | | | | config.h.in generated by autoheader. It is needed because config.h.in has some thing we don't want to leak, like renaming of missing libc functions. * .cvsignore: Twiddle to reflect current reality. * db-int.h: #include config.h since db.h includes db-config.h which is not quite the same now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12504 dc483132-0cff-0310-8789-dd5450dbe970
* Run RPC tests with one invocation of DejaGnu rather than twoKen Raeburn2000-07-014-15/+23
| | | | | | | | | | | | * 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
* pullup from 1.2.1 releaseKen Raeburn2000-07-0121-39/+210
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12502 dc483132-0cff-0310-8789-dd5450dbe970
* * adb.h: Add btinfoTom Yu2000-07-012-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12501 dc483132-0cff-0310-8789-dd5450dbe970
* * adb_openclose.c (osa_adb_create_db): Default to btree.Tom Yu2000-07-012-12/+34
| | | | | | | (osa_adb_init_db): Set up btinfo as well. (osa_adb_open_and_lock): Try btree, then hash. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12500 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2-beta4Ken Raeburn2000-07-019-38/+80
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12499 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2-beta4Ken Raeburn2000-07-019-168/+148
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12498 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2-beta4Ken Raeburn2000-07-0125-484/+657
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12497 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c: Add a new dump version, r1_3_version, and make it theTom Yu2000-07-012-6/+68
| | | | | | | | default; it will be used in krb5-1.3 and will permit a principal's kadm5 data to be dumped. This is an interim measure until we redesign the dump format somewhat. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12496 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_test_setup.sh: Error out if server_handle doesn't get set in the Tcl ↵Ken Raeburn2000-06-302-0/+11
| | | | | | script git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12495 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (all-unix, clean_unix): Removed util/db2 includeTom Yu2000-06-302-21/+3
| | | | | | symlinking rules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12494 dc483132-0cff-0310-8789-dd5450dbe970
* add include file copyingTom Yu2000-06-301-2/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12493 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_EXPDEPS): Add libdb.Tom Yu2000-06-304-2/+16
| | | | | | (SHLIB_EXPLIBS): Add -ldb. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12492 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Remove AIX_DB_LIB kludge as we're now buildingTom Yu2000-06-302-12/+5
| | | | | | libdb reasonably. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12491 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_EXPDEPS): Add libdb, since we can build thisTom Yu2000-06-302-2/+9
| | | | | | | shared now. (SHLIB_EXPLIBS): Add -ldb. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12490 dc483132-0cff-0310-8789-dd5450dbe970