Ezra Peisach [Mon, 3 Jul 2000 03:27:53 +0000 (03:27 +0000)]
t_imp_name.c: Define GSSAPI_V2 for proper variable types
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12514
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 3 Jul 2000 03:25:39 +0000 (03:25 +0000)]
kdb5_mkdums.c: Remove unused variable
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12513
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 3 Jul 2000 03:23:44 +0000 (03:23 +0000)]
kdb5_verify.c: Remove unused variable
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12512
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 3 Jul 2000 03:18:30 +0000 (03:18 +0000)]
* env-setup.shin: Do not override the EXPECT environment variable
if set.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12511
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sun, 2 Jul 2000 20:52:00 +0000 (20:52 +0000)]
back out format-attribute change
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12510
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 2 Jul 2000 18:50:12 +0000 (18:50 +0000)]
* default.exp: Add rudimentary support for multiple passes. For
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
Tom Yu [Sat, 1 Jul 2000 15:44:17 +0000 (15:44 +0000)]
* Makefile.in (SHLIB_EXPLIBS): Use $(LIBS) not @RESOLV_LIB@ in
order to get -lnsl, -lsocket, etc. if necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12508
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 1 Jul 2000 15:43:11 +0000 (15:43 +0000)]
* acconfig.h: Add function replacement renaming symbols for
util/db2/include/config.h.in.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12507
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 1 Jul 2000 15:34:34 +0000 (15:34 +0000)]
* lib.in: Fix up lib build rules to deal properly (hopefuly) with
empty objlist files.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12506
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 1 Jul 2000 15:33:04 +0000 (15:33 +0000)]
* clib/strerror.c: #include config.h
* 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
Tom Yu [Sat, 1 Jul 2000 15:32:14 +0000 (15:32 +0000)]
* db-config.h.in: New file; contains useful tidbits from
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
Ken Raeburn [Sat, 1 Jul 2000 04:52:51 +0000 (04:52 +0000)]
Run RPC tests with one invocation of DejaGnu rather than two
* 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
Ken Raeburn [Sat, 1 Jul 2000 03:48:01 +0000 (03:48 +0000)]
pullup from 1.2.1 release
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12502
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 1 Jul 2000 01:55:33 +0000 (01:55 +0000)]
* adb.h: Add btinfo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12501
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 1 Jul 2000 01:54:25 +0000 (01:54 +0000)]
* adb_openclose.c (osa_adb_create_db): Default to btree.
(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
Ken Raeburn [Sat, 1 Jul 2000 01:14:04 +0000 (01:14 +0000)]
pullup from 1.2-beta4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12499
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 1 Jul 2000 00:59:57 +0000 (00:59 +0000)]
pullup from 1.2-beta4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12498
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 1 Jul 2000 00:51:58 +0000 (00:51 +0000)]
pullup from 1.2-beta4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12497
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 1 Jul 2000 00:31:06 +0000 (00:31 +0000)]
* dump.c: Add a new dump version, r1_3_version, and make it the
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
Ken Raeburn [Fri, 30 Jun 2000 23:57:42 +0000 (23:57 +0000)]
* rpc_test_setup.sh: Error out if server_handle doesn't get set in the Tcl script
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12495
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 30 Jun 2000 23:20:53 +0000 (23:20 +0000)]
* Makefile.in (all-unix, clean_unix): Removed util/db2 include
symlinking rules.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12494
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 30 Jun 2000 23:20:09 +0000 (23:20 +0000)]
add include file copying
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12493
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 30 Jun 2000 22:01:50 +0000 (22:01 +0000)]
* Makefile.in (SHLIB_EXPDEPS): Add libdb.
(SHLIB_EXPLIBS): Add -ldb.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12492
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 30 Jun 2000 22:00:19 +0000 (22:00 +0000)]
* configure.in: Remove AIX_DB_LIB kludge as we're now building
libdb reasonably.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12491
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 30 Jun 2000 21:59:27 +0000 (21:59 +0000)]
* Makefile.in (SHLIB_EXPDEPS): Add libdb, since we can build this
shared now.
(SHLIB_EXPLIBS): Add -ldb.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12490
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 30 Jun 2000 21:58:00 +0000 (21:58 +0000)]
* Makefile.in (all-unix, clean_unix): Update for current geography
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
Tom Yu [Fri, 30 Jun 2000 21:57:09 +0000 (21:57 +0000)]
* pre.in: Twiddle things around to support building libdb under
krb5 build system.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12488
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 30 Jun 2000 21:55:07 +0000 (21:55 +0000)]
* configure.in: Rework to use krb5 build system
* 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
Tom Yu [Fri, 30 Jun 2000 21:52:53 +0000 (21:52 +0000)]
* db-int.h: Remove renaming for memmove, strerror, mkstemp since
this is now done by the build system.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12486
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 30 Jun 2000 21:50:05 +0000 (21:50 +0000)]
Move .cvsignore from obj to include to reflect the discontinuation of
the obj directory.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12485
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 30 Jun 2000 19:56:54 +0000 (19:56 +0000)]
* Makefile.in: kprop does not depend on the database libraries.
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
Ezra Peisach [Fri, 30 Jun 2000 19:55:18 +0000 (19:55 +0000)]
* t_walk_rtree.c (main): Declare as returning int
* 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
Ezra Peisach [Fri, 30 Jun 2000 19:51:59 +0000 (19:51 +0000)]
* t_an_to_ln.c: Include <stdio.h> for prototypes
* 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
Ezra Peisach [Fri, 30 Jun 2000 19:48:38 +0000 (19:48 +0000)]
init_ets.c: Remove unused variable
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12481
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 30 Jun 2000 19:47:24 +0000 (19:47 +0000)]
* rc_io.c (krb5_rc_io_creat): Cast getpid() to int.
(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
Ezra Peisach [Fri, 30 Jun 2000 19:46:34 +0000 (19:46 +0000)]
* afsstring2key.c: Initialization of S[8][64] - each 64 elements
enclosed in brackets.
gcc -Wall complaint.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12479
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 30 Jun 2000 19:44:54 +0000 (19:44 +0000)]
crypto_libinit.c: Add prototype for prng_cleanup()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12478
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 30 Jun 2000 19:34:38 +0000 (19:34 +0000)]
* pty-int.h: Add getutmpx() prototype if needed
* 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
Ezra Peisach [Fri, 30 Jun 2000 12:57:11 +0000 (12:57 +0000)]
* setenv.c: Do not provide prototype for static function unless
defined.
gcc -Wall error.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12476
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 30 Jun 2000 12:54:49 +0000 (12:54 +0000)]
* random_key.c (des_random_key): Add parentheses around assignment
used as truth value.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12475
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 30 Jun 2000 01:24:13 +0000 (01:24 +0000)]
* asn1buf.h (asn1buf_insert_octet): Define using __inline__ rather
than inline in order to shut up gcc -pedantic.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12474
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 30 Jun 2000 00:43:01 +0000 (00:43 +0000)]
pullup from 1.2-beta4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12473
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 30 Jun 2000 00:36:31 +0000 (00:36 +0000)]
pullup from 1.2-beta4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12472
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 30 Jun 2000 00:31:09 +0000 (00:31 +0000)]
merge from 1.2 branch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12471
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 30 Jun 2000 00:16:21 +0000 (00:16 +0000)]
1.2-beta4 pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12470
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 29 Jun 2000 15:07:14 +0000 (15:07 +0000)]
dyn_insert.c, dyn_put.c: Include string.h for memmove prototype
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12463
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 29 Jun 2000 01:10:31 +0000 (01:10 +0000)]
* iter-test.c (main): Code was using ovsec_kadm_ret_t in place of
an int for referencing array.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12462
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 29 Jun 2000 01:08:55 +0000 (01:08 +0000)]
* client_init.c (_kadm5_init_any): gss_krb5_ccache_name returns
const char *, but the code was treating it as a char *.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12461
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 29 Jun 2000 01:05:21 +0000 (01:05 +0000)]
* alt_prof.c (krb5_aprof_init): profile_init takes a
profile_filespec_t as argument instad of char **.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12460
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 29 Jun 2000 01:02:57 +0000 (01:02 +0000)]
* cr_tkt.c: Provide prototype for static krb_cr_tkt_int function
before being used.
* getst.c: Remove unused variable.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12459
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 29 Jun 2000 01:00:13 +0000 (01:00 +0000)]
prng.c (prng_cleanup): Ensure memory allocated before calling free
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12458
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 29 Jun 2000 00:53:24 +0000 (00:53 +0000)]
* conv_princ.c, get_creds.c, get_in_tkt.c, mk_rep.c, parse.c,
send_tgs.c: Remove unused variable.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12457
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 29 Jun 2000 00:47:11 +0000 (00:47 +0000)]
* def_realm.c: Add newline at end of file
* gmt_mktime.c: Define days_in_month as type int.
* locate_kdc.c (krb5_locate_srv_dns): Cleanup unused variables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12456
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 29 Jun 2000 00:42:17 +0000 (00:42 +0000)]
Clean up unused variable
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12455
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 29 Jun 2000 00:33:05 +0000 (00:33 +0000)]
Remove unused variables
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12454
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 29 Jun 2000 00:30:54 +0000 (00:30 +0000)]
ccdefault.c: Add newline at end of file (compiler warning)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12453
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 29 Jun 2000 00:26:13 +0000 (00:26 +0000)]
asn1_get.c (asn1_get_tag): Remove unused variable
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12452
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 29 Jun 2000 00:21:47 +0000 (00:21 +0000)]
* getpty.c (pty_getpty): More conditionalizing variable defintion
based on OS features.
* cleanup.c (pty_cleanup): Add parenthesis about assignment in
conditional (gcc suggestion).
* pty-int.h: Include pty.h if it exists (for openpty prototype
under Linux).
* configure.in: Check for pty.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12451
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 28 Jun 2000 17:00:27 +0000 (17:00 +0000)]
Get rid of unused variable
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12448
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 28 Jun 2000 16:59:15 +0000 (16:59 +0000)]
des.c, des3.c: Remove unused variables
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12447
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 28 Jun 2000 16:57:46 +0000 (16:57 +0000)]
afsstring2key.c: "register x" -> "register int x"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12446
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 28 Jun 2000 15:40:46 +0000 (15:40 +0000)]
* dyn_create.c, dyn_delete.c, dyn_insert.c, dyn_put.c: Use %p
format for displaying pointers
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12444
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 27 Jun 2000 21:00:02 +0000 (21:00 +0000)]
pullup from 1.2 branch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12442
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 27 Jun 2000 20:42:16 +0000 (20:42 +0000)]
* krb5.hin (krb5_get_tgs_ktypes, krb5_free_ktypes): Fix linkage to
be KRB5_CALLCONV.
* k5-int.h (krb5int_cc_default): Fix linkage to be consistent with
code. (Note: We should dump KRB5_DLLIMP.)
me:
* krb5.hin (krb5_recvauth_version, krb5_free_ktypes): Declare.
dalmeida:
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12440
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 27 Jun 2000 18:44:32 +0000 (18:44 +0000)]
* krb.h (krb4_swab16): Mask upper byte of input after shifting, in case the
input value is a signed short.
(krb4_swab32): Mask high byte of input value after shifting, to avoid "time out
of bounds" error when byte orders are different and low byte of timestamp has
its high bit set and the timestamp is stored as a signed value.
(krb_get_err_text): Don't use "errno" as an argument name.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12439
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 26 Jun 2000 23:24:38 +0000 (23:24 +0000)]
* libpty.h: If SOCK_DGRAM is not defined, provide a definition for
struct sockaddr_in to satisfy prototype. (based on similar
code in k5-int.h).
* update_wtmp.c (ptyint_update_wtmp), update_utmp.c
(pty_update_utmp), open_slave.c (pty_open_slave), getpty.c
(pty_getpty): conditionalize definition of variables based on code
paths that are included.
Essentially, clean up many compiler warnings.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12438
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 26 Jun 2000 23:18:00 +0000 (23:18 +0000)]
Fix email address in ChangeLog
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12437
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 26 Jun 2000 23:17:37 +0000 (23:17 +0000)]
* prof_init.c (profile_init_path): Use profile_filespec_t instead
of char *. (change provided by Nathan Neulinger <nneul@umr.edu>)
* profile.hin: Make definition of const_profile_filespec_t to be
based on profile_filespec_t.
Compile time warnings cleanup.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12436
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 26 Jun 2000 23:09:57 +0000 (23:09 +0000)]
* dyn_realloc.c: Remove unused variable
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12435
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 26 Jun 2000 20:59:04 +0000 (20:59 +0000)]
* btree/bt_put.c (__bt_put): Initialize "e"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12434
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 26 Jun 2000 20:57:51 +0000 (20:57 +0000)]
* dbtest.c (err): Add format attribute to decl, for typechecking under GNU C
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12433
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 26 Jun 2000 20:55:49 +0000 (20:55 +0000)]
* com_err.h (com_err): Declare with format attribute if using gcc
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12432
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 23 Jun 2000 22:53:06 +0000 (22:53 +0000)]
merge from krb5-1-2-beta4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12427
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 23 Jun 2000 22:43:59 +0000 (22:43 +0000)]
merge from krb5-1-2-beta4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12426
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 23 Jun 2000 22:38:21 +0000 (22:38 +0000)]
merge from krb5-1-2-beta4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12425
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Fri, 9 Jun 2000 01:26:24 +0000 (01:26 +0000)]
2000-06-08 Alexandra Ellwood <lxs@mit.edu> * stdcc_util.c (dupCCtoK5, dupK5toCC): Fixed code that stores times in localtime, not in kdc time
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12369
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Tue, 6 Jun 2000 14:56:40 +0000 (14:56 +0000)]
Fix prototype for krb5int_cc_default so that the K5 library will compile on Windows
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12356
dc483132-0cff-0310-8789-
dd5450dbe970
Wilfredo Sanchez [Thu, 1 Jun 2000 02:02:04 +0000 (02:02 +0000)]
Check for existance of <memory.h>.
(from Nathan Neulinger <nneul@umr.edu>)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12332
dc483132-0cff-0310-8789-
dd5450dbe970
Wilfredo Sanchez [Thu, 1 Jun 2000 01:44:22 +0000 (01:44 +0000)]
Change wsanchez@apple -> tritan@mit
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12331
dc483132-0cff-0310-8789-
dd5450dbe970
Wilfredo Sanchez [Wed, 31 May 2000 22:40:29 +0000 (22:40 +0000)]
Add bindir/sbindir changelog entry
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12329
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Wed, 31 May 2000 17:57:18 +0000 (17:57 +0000)]
This time really: 2000-5-31 Alexandra Ellwood <lxs@mit.edu> ccdefault.c: Changed kerberosPrincipal_V5 to kerberosVersion_V5 to reflect the new KLL constant name
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12323
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Wed, 31 May 2000 17:35:51 +0000 (17:35 +0000)]
2000-5-31 Alexandra Ellwood <lxs@mit.edu> ccdefault.c: Changed kerberosPrincipal_V5 to kerberosVersion_V5 to reflect the new KLL constant name
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12322
dc483132-0cff-0310-8789-
dd5450dbe970
Wilfredo Sanchez [Wed, 31 May 2000 06:24:54 +0000 (06:24 +0000)]
Also use SBINDIR for kpropd
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12316
dc483132-0cff-0310-8789-
dd5450dbe970
Wilfredo Sanchez [Wed, 31 May 2000 06:19:16 +0000 (06:19 +0000)]
Use bindir and sbindir variables provided by configure rather than
assuming a standard layout in osconf.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12315
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Fri, 19 May 2000 22:23:22 +0000 (22:23 +0000)]
2000-5-19 Alexandra Ellwood <lxs@mit.edu>
* acquire_cred.c: Changed to use krb5int_cc_default. This function
supports the Kerberos Login Library and pops up a dialog if the cache does
not contain valid tickets. This is used to automatically get a tgt before
obtaining service tickets. Note that this should be an internal function
because callers don't expect krb5_cc_default to pop up a dialog!
(We found this out the hard way :-)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12293
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Fri, 19 May 2000 22:21:41 +0000 (22:21 +0000)]
2000-5-19 Alexandra Ellwood <lxs@mit.edu>
* ccdefault.c: Added krb5int_cc_default. This function
supports the Kerberos Login Library and pops up a dialog if the cache does
not contain valid tickets. This is used to automatically get a tgt before
obtaining service tickets. Note that this should be an internal function
because callers don't expect krb5_cc_default to pop up a dialog!
(We found this out the hard way :-)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12292
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Fri, 19 May 2000 22:13:49 +0000 (22:13 +0000)]
2000-5-19 Alexandra Ellwood <lxs@mit.edu>
* sendauth.c, fwd_tgt.c: Changed to use krb5int_cc_default. This function
supports the Kerberos Login Library and pops up a dialog if the cache does
not contain valid tickets. This is used to automatically get a tgt before
obtaining service tickets. Note that this should be an internal function
because callers don't expect krb5_cc_default to pop up a dialog!
(We found this out the hard way :-)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12291
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Fri, 19 May 2000 22:06:05 +0000 (22:06 +0000)]
2000-5-19 Alexandra Ellwood <lxs@mit.edu>
* krb5-int.h: Added krb5int_cc_default. This function supports the
Kerberos Login Library and pops up a dialog if the cache does not
contain valid tickets. This is used to automatically get a tgt before
obtaining service tickets. Note that this should be an internal function
because callers don't expect krb5_cc_default to pop up a dialog!
(We found this out the hard way :-)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12290
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Fri, 19 May 2000 21:55:51 +0000 (21:55 +0000)]
Added krb5int_cc_default to export list under private exports. GSSLib uses it
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12289
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Fri, 19 May 2000 21:54:16 +0000 (21:54 +0000)]
2000-5-18 Alexandra Ellwood <lxs@mit.edu>
* macsock.h: local_addr_fallback_kludge defined to 0 again... fixed gethostname
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12288
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Thu, 18 May 2000 22:04:23 +0000 (22:04 +0000)]
Remove unused variables. Reindent to krb5 coding style. Remove whitespace
at end of lines. Replace C++ comments with C comments.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12284
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Thu, 18 May 2000 20:54:01 +0000 (20:54 +0000)]
Do not define or try to load cc_lock_request, which is
not actually used anywhere in the code.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12283
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Tue, 16 May 2000 03:20:20 +0000 (03:20 +0000)]
2000-05-15 Jeffrey Altman <jaltman@columbia.edu>
* Added new source file appdefault.c
Implements new public functions
krb5_appdefault_string
krb5_appdefault_boolean
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12261
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Tue, 16 May 2000 03:19:11 +0000 (03:19 +0000)]
2000-05-15 Jeffrey Altman <jaltman@columbia.edu>
* Export new public functions
krb5_appdefault_string
krb5_appdefault_boolean
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12260
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Tue, 16 May 2000 03:18:33 +0000 (03:18 +0000)]
2000-05-15 Jeffrey Altman <jaltman@columbia.edu>
* krb5.hin -- Added new public function prototypes
krb5_appdefault_string
krb5_appdefault_boolean
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12259
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Mon, 15 May 2000 22:42:19 +0000 (22:42 +0000)]
2000-05-15 Alexandra Ellwood <lxs@mit.edu>
* prof_get.c:
prof_parse_boolean () was missing some curly brackets
and was failing to check all the values in the list of
possible strings.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12257
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Tue, 9 May 2000 18:27:21 +0000 (18:27 +0000)]
2000-05-09 Alexandra Ellwood <lxs@mit.edu>
*localaddr.c: Fixed the local_addr_fallback_kludge so that it actually does something.
Before that the error code it was handling was blowing it away in cleanup.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12243
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Tue, 9 May 2000 18:19:18 +0000 (18:19 +0000)]
2000-5-9 Alexandra Ellwood <lxs@mit.edu>
* macsock.h: local_addr_fallback_kludge now defined to magic gethostaddr function
in the Sockets Library, which does exactly what we want if the search domain is not
specified.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12242
dc483132-0cff-0310-8789-
dd5450dbe970
Wilfredo Sanchez [Fri, 5 May 2000 21:55:55 +0000 (21:55 +0000)]
Finish up Darwin linker flags
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12231
dc483132-0cff-0310-8789-
dd5450dbe970
Wilfredo Sanchez [Fri, 5 May 2000 21:38:25 +0000 (21:38 +0000)]
Use @includedir@
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12230
dc483132-0cff-0310-8789-
dd5450dbe970