summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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-0127-107/+436
| | | | 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
* * Makefile.in (all-unix, clean_unix): Update for current geographyTom Yu2000-06-302-7/+10
| | | | | | | of util/db2; needs to be moved to util/db2/Makefile.in at some point. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12489 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in: Twiddle things around to support building libdb underTom Yu2000-06-302-2/+7
| | | | | | krb5 build system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12488 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Rework to use krb5 build systemTom Yu2000-06-3010-23/+149
| | | | | | | | | | | | | | | | | | * Makefile.in: Rework to use krb5 build system. * btree/Makefile.in: New file. * clib/Makefile.in: New file. * db/Makefile.in: New file. * mpool/Makefile.in: New file. * recno/Makefile.in: New file. * test/Makefile.in: New file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12487 dc483132-0cff-0310-8789-dd5450dbe970
* * db-int.h: Remove renaming for memmove, strerror, mkstemp sinceTom Yu2000-06-302-12/+5
| | | | | | this is now done by the build system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12486 dc483132-0cff-0310-8789-dd5450dbe970
* Move .cvsignore from obj to include to reflect the discontinuation ofTom Yu2000-06-303-174/+1
| | | | | | the obj directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12485 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: kprop does not depend on the database libraries.Ezra Peisach2000-06-302-3/+8
| | | | | | kpropd does not depend, nor need to link in the database libraries. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12484 dc483132-0cff-0310-8789-dd5450dbe970
* * t_walk_rtree.c (main): Declare as returning intEzra Peisach2000-06-3018-94/+120
| | | | | | | | | | | | | | | | | | | | | * get_in_tkt.c (_krb5_conf_boolean): Declare as taking a const char * * str_conv.c (krb5_timestamp_to_string): Work around gcc's warning that %c format in strftime might return only two digits for the year. * mk_safe.c, rd_rep.c, send_tgs.c: Remove unused goto label. * kdc_rep_dc.c (krb5_kdc_rep_decrypt_proc): Remove code with no effect. * init_ctx.c: Make krb5_brand[] look used. * chpw.c, decode_kdc.c, decrypt_tk.c, enc_helper.c, get_creds.c, get_in_tkt.c, gic_keytab.c, gic_pwd.c, preauth2.c, vfy_increds.c: Add parentheses around assignment used as truth value git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12483 dc483132-0cff-0310-8789-dd5450dbe970
* * t_an_to_ln.c: Include <stdio.h> for prototypesEzra Peisach2000-06-307-20/+39
| | | | | | | | | | | | | | * locate_kdc.c (krb5_locate_srv_dns): Remove unused variable. * changepw.c, sendto_kdc.c, sn2princ.c: Add parentheses around assignment used as truth value. * ccdefname.c (get_from_os): Cast return from getuid() to long and indicate use of format in sprintf. gcc -Wall complaints. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12482 dc483132-0cff-0310-8789-dd5450dbe970
* init_ets.c: Remove unused variableEzra Peisach2000-06-302-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12481 dc483132-0cff-0310-8789-dd5450dbe970
* * rc_io.c (krb5_rc_io_creat): Cast getpid() to int.Ezra Peisach2000-06-302-1/+6
| | | | | | (Use of a long might overflow buffer if pid_t is 64 bits */ git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12480 dc483132-0cff-0310-8789-dd5450dbe970
* * afsstring2key.c: Initialization of S[8][64] - each 64 elementsEzra Peisach2000-06-302-32/+37
| | | | | | | | enclosed in brackets. gcc -Wall complaint. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12479 dc483132-0cff-0310-8789-dd5450dbe970
* crypto_libinit.c: Add prototype for prng_cleanup()Ezra Peisach2000-06-302-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12478 dc483132-0cff-0310-8789-dd5450dbe970
* * pty-int.h: Add getutmpx() prototype if neededEzra Peisach2000-06-303-0/+33
| | | | | | | | | | | | | * configure.in: If getutmpx() exists on the system, test if a prototype is provided by the system headers. This was picked up by gcc -Wall. Under Linux glibc 2.1, the system header file <utmpx.h> provides a prototype for getutmpx() only if _GNU_SOURCE is defined (GNU extensions). The test offeres a prototype (which matches in this case) - if the prototype conflicts with a system provided one, we do not provide it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12477 dc483132-0cff-0310-8789-dd5450dbe970
* * setenv.c: Do not provide prototype for static function unlessEzra Peisach2000-06-302-0/+8
| | | | | | | | defined. gcc -Wall error. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12476 dc483132-0cff-0310-8789-dd5450dbe970
* * random_key.c (des_random_key): Add parentheses around assignmentEzra Peisach2000-06-302-2/+7
| | | | | | used as truth value. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12475 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.h (asn1buf_insert_octet): Define using __inline__ ratherTom Yu2000-06-302-1/+6
| | | | | | than inline in order to shut up gcc -pedantic. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12474 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2-beta4Ken Raeburn2000-06-305-211/+883
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12473 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2-beta4Ken Raeburn2000-06-3010-48/+224
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12472 dc483132-0cff-0310-8789-dd5450dbe970
* merge from 1.2 branchKen Raeburn2000-06-301-0/+274
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12471 dc483132-0cff-0310-8789-dd5450dbe970
* 1.2-beta4 pullupKen Raeburn2000-06-3039-321/+971
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12470 dc483132-0cff-0310-8789-dd5450dbe970
* dyn_insert.c, dyn_put.c: Include string.h for memmove prototypeEzra Peisach2000-06-293-1/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12463 dc483132-0cff-0310-8789-dd5450dbe970