Tom Yu [Tue, 15 Feb 2000 05:14:28 +0000 (05:14 +0000)]
* libobj.in: Fix up .c.so and .c.po rules to include $(CFLAGS),
which were previously missing.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12043
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 15 Feb 2000 05:13:30 +0000 (05:13 +0000)]
* server.c: Add code to set a signal handler for SIGHUP and a few
others so that purify will actually generate memory leak reports.
* configure.in: Add CHECK_SIGNALS.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12042
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 15 Feb 2000 05:12:30 +0000 (05:12 +0000)]
* svc.c (xprt_register): Zero out xports after allocating
* auth_gssapi_misc.c (xdr_authgssapi_creds):
(xdr_authgssapi_init_arg):
(xdr_authgssapi_init_res):
(auth_gssapi_unwrap_data): If xdr_gss_buf or xdr_bytes fails, call
again with XDR_FREE set so that allocated memory doesn't leak.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12041
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 14 Feb 2000 00:07:10 +0000 (00:07 +0000)]
Add client-side stubs and functions with additional capabilities to
take key_salt_tuples and optionally keep old keys around. Add
server-side functionality for setkey with key_salt_tuple and "keepold"
functionality. Update rpc stubs and xdr functions/headers
appropriately.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12040
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 11 Feb 2000 23:06:47 +0000 (23:06 +0000)]
* README, gss-client.c, gss-misc.c, gss-misc.h, gss-server.c:
Patches from jik to make gss-sample more versatile.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12039
dc483132-0cff-0310-8789-
dd5450dbe970
Marshall Vale [Fri, 11 Feb 2000 20:51:00 +0000 (20:51 +0000)]
Added "Kerberos Preferences" as valid config file on Mac OS. Others will be removed at a later date
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12037
dc483132-0cff-0310-8789-
dd5450dbe970
Marshall Vale [Fri, 11 Feb 2000 20:50:58 +0000 (20:50 +0000)]
* init_os_ctx.c: Added "Kerberos Preferences" as valid config file on Mac OS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12036
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 11 Feb 2000 01:57:36 +0000 (01:57 +0000)]
Fixed lxs' fix: strlen (x) + 1 instead of strlen (x+1)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12035
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 11 Feb 2000 01:57:12 +0000 (01:57 +0000)]
Added comments to remove some calls in the next releas
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12034
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Thu, 10 Feb 2000 20:04:44 +0000 (20:04 +0000)]
changelog updated for stdcc_util.c change
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12033
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Thu, 10 Feb 2000 20:02:36 +0000 (20:02 +0000)]
Added +1 to strlens so that null terminator will fit in the buffer ;-P
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12032
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 10 Feb 2000 09:31:45 +0000 (09:31 +0000)]
* login.c (main): Only destroy xtra_creds if non-null. (Patch from Richard Basch.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12031
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Thu, 10 Feb 2000 01:53:10 +0000 (01:53 +0000)]
Updated for 3.0d1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12030
dc483132-0cff-0310-8789-
dd5450dbe970
Marshall Vale [Tue, 8 Feb 2000 23:21:27 +0000 (23:21 +0000)]
* init_os_ctx.c: Added changes for the Mac for limited support of Application Support folder as a location for the krb5 configuration file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12027
dc483132-0cff-0310-8789-
dd5450dbe970
Marshall Vale [Tue, 8 Feb 2000 23:02:47 +0000 (23:02 +0000)]
Limited support for Applicaiton Support folder as location for krb5.ini on the Mac added
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12026
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 8 Feb 2000 05:28:12 +0000 (05:28 +0000)]
* api.1/lock.exp: Since a "wait" directive to the command list of
the lock_test procedures does not wait for any synchronization,
change lock9 to acquire and release a lock before the "wait"
directive in order to avoid a race condition where lock9 spawns
the ./lock-test but the program has not opened the database prior
to lock9_1 acquiring a permanent lock. This was causing
difficult-to-reproduce failures.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12025
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 8 Feb 2000 01:18:04 +0000 (01:18 +0000)]
* aclocal.m4: Kludge in the old test for tcl so that we have some
prayer of pulling in tcl from the funky installation that goes
along with dejagnu.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12024
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 8 Feb 2000 00:17:59 +0000 (00:17 +0000)]
* lib/helpers.exp: Fix to call kinit and kdestroy with the -5 flag
to accomodate new program behavior.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12023
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 8 Feb 2000 00:09:43 +0000 (00:09 +0000)]
* lib/lib.t: Call kinit and kdestroy with -5 flag to accomodate
new behavior.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12022
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 7 Feb 2000 23:51:13 +0000 (23:51 +0000)]
* config/unix.exp: Call send_error instead of fail to prevent
referencing variables not yet set up by the test framework.
* lib/helpers.exp: Call kinit and kdestroy with the -5 flag to
deal with new program behavior. Also call perror rather than
error to avoid spewing a stack trace.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12021
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 7 Feb 2000 21:53:04 +0000 (21:53 +0000)]
* kadmin.exp: Use $KDESTROY -5 to deal with changed behavior
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12020
dc483132-0cff-0310-8789-
dd5450dbe970
Scott McGuire [Mon, 7 Feb 2000 21:36:32 +0000 (21:36 +0000)]
changepw.c (krb5_locate_kpasswd): fixed memory trashing caused by incorrect pointer arithmetic when assigning DEFAULT_KPASSWD_PORT in DNS code
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12019
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 7 Feb 2000 16:25:53 +0000 (16:25 +0000)]
* default.exp: Remove default_tgs_enctypes for now as it was
causing tests to fail when the tgt is DES3. Need to investigate
further.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12018
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 7 Feb 2000 16:25:47 +0000 (16:25 +0000)]
* aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): Change test syntax a little to keep bash happy
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12017
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 7 Feb 2000 11:33:57 +0000 (11:33 +0000)]
* configure.in: Check for inet_ntop and getipnodebyaddr, both used in klist
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12016
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 7 Feb 2000 11:23:16 +0000 (11:23 +0000)]
* kdc_preauth.c (return_sam_data): Just return 0 if no input preauth data is available
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12015
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 7 Feb 2000 11:21:26 +0000 (11:21 +0000)]
* kinit.c (try_convert524): Avoid duplicate free calls
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12014
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 7 Feb 2000 10:33:31 +0000 (10:33 +0000)]
fix my email address in log header
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12013
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 7 Feb 2000 10:32:45 +0000 (10:32 +0000)]
* gic_pwd.c (krb5_get_as_key_password): If the as_key enctype is already set to
the correct type, do continue and ask for the password anyways. (Patch from
Chas Williams, PR krb5-libs/730.)
* preauth2.c (pa_sam): If no sam_flags were set, return KRB5_PREAUTH_BAD_TYPE,
because we don't currently handle that case.
* preauth2.c (pa_sam): Remove unused variable use_sam_key.
(SAMDATA): Cast first result to int, which is what sprintf needs.
(pa_salt): Delete unused variable ret.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12012
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 7 Feb 2000 10:22:58 +0000 (10:22 +0000)]
* kdc_preauth.c (get_preauth_hint_list): Log a message if preauth is required
but no preauth types are available.
(return_sam_data): Fix typo in figuring length of data to XOR when merging
keys.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12011
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 7 Feb 2000 04:15:58 +0000 (04:15 +0000)]
Frank Cusack's patches, first two sets. Should be no incompatible changes,
except perhaps for a client talking to both a new and old KDC? Several
improvements to guard against replay attacks when hardware preauth is in use,
though they require re-enabling the USE_RCACHE code, which I haven't done yet.
Several changes of mine for silencing a few compiler warnings, and adding some
debugging log messages while I track what's going on with the preauth code.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12010
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 7 Feb 2000 03:55:12 +0000 (03:55 +0000)]
updated some comments (fcusack)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12009
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 7 Feb 2000 03:54:51 +0000 (03:54 +0000)]
added flags field to predicted_sam_response (fcusack)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12008
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Mon, 7 Feb 2000 03:16:55 +0000 (03:16 +0000)]
Add documentation about debug vs. release builds
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12007
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 7 Feb 2000 00:26:40 +0000 (00:26 +0000)]
more fcusack changes - rest of first set
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12006
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 7 Feb 2000 00:18:02 +0000 (00:18 +0000)]
Frank Cusack changes, set 1, diffs 1-3 of 4
Rename "sam_passcode" field to "sam_sad". Add data to predicted-sam-response
structure, in part to (prepare to) help with replay detection.
Fix some memory allocation problems.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12005
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 6 Feb 2000 23:04:52 +0000 (23:04 +0000)]
* standalone.exp: Use $KLIST -5 and $KDESTROY -5 to deal with
changed behavior in these programs. Wait for eof in some cases to
avoid hanging.
* rsh.exp: Wait for eof to prevent hanging.
* gssapi.exp: Use $KINIT -5 to deal with new kinit behavior.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12004
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 6 Feb 2000 23:02:43 +0000 (23:02 +0000)]
* default.exp: Use $KINIT -5 to deal with modified kinit
behavior.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12003
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 6 Feb 2000 21:57:32 +0000 (21:57 +0000)]
* login.c (main): Reorder some control flow to avoid security hole
if KRB4_GET_TICKETS is not defined.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12001
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Fri, 4 Feb 2000 23:55:21 +0000 (23:55 +0000)]
* kinit.c: Only free stuff if it's not NULL. (Note: The krb5_free_*
routines probably should be fixed check for NULL pointers...)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12000
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 4 Feb 2000 22:42:39 +0000 (22:42 +0000)]
* Makefile.in (klist): Fix to build under Unix again
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11999
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 4 Feb 2000 22:42:02 +0000 (22:42 +0000)]
* Makefile.in (kinit): Fix to build on Unix again
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11998
dc483132-0cff-0310-8789-
dd5450dbe970
Scott McGuire [Fri, 4 Feb 2000 22:41:21 +0000 (22:41 +0000)]
(krb5_locate_kpasswd): fixed memory trashing caused by incorrect pointer arithmetic when assigning DEFAULT_KPASSWD_PORT in non-DNS code
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11997
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 4 Feb 2000 22:40:43 +0000 (22:40 +0000)]
* aclocal.m4: Add support to substitute KRB524_LIB in places
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11996
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 4 Feb 2000 22:40:35 +0000 (22:40 +0000)]
* pre.in: Add KRB524_DEPLIB and KRB524_LIB
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11995
dc483132-0cff-0310-8789-
dd5450dbe970
Scott McGuire [Fri, 4 Feb 2000 21:55:56 +0000 (21:55 +0000)]
Removed calls that destroyed and recreated ccapi_data->NamedCache if it exists in krb5_stdcc_initialize(); instead close and call create on it again
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11994
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Fri, 4 Feb 2000 21:26:02 +0000 (21:26 +0000)]
* kinit.c: Major revamp to support Kerberos 4 compatibility. Code
restructured to allow changes to support Kerberos 4 or Kerberos 5
only operation depending on whether dynamic libraries are
avialable. Explicit documentation and support files to make it
easy to do this will be forthcoming.
* Makefile.in: On Windows, use getopt.lib instead of getopt.obj,
and add support for getopt_long.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11993
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Fri, 4 Feb 2000 21:24:18 +0000 (21:24 +0000)]
* klist.c: Major revamp to support Kerberos 4 compatibility. Code
restructured to allow changes to support Kerberos 4 or Kerberos 5
only operation depending on whether dynamic libraries are
avialable. Explicit documentation and support files to make it
easy to do this will be forthcoming.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11992
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Fri, 4 Feb 2000 21:23:59 +0000 (21:23 +0000)]
* kdestroy.c: Major revamp to support Kerberos 4 compatibility. Code
restructured to allow changes to support Kerberos 4 or Kerberos 5
only operation depending on whether dynamic libraries are
avialable. Explicit documentation and support files to make it
easy to do this will be forthcoming.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11991
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Fri, 4 Feb 2000 20:14:56 +0000 (20:14 +0000)]
* getopt.c, getopt_long.c, getopt.h: Update to latest BSD code
found (from NetBSD).
* Makefile.in: Build getopt.lib which includes getopt.obj and
getopt_long.obj.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11990
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 2 Feb 2000 04:01:34 +0000 (04:01 +0000)]
* listen.c (ss_listen): Local var END should be volatile
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11987
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Wed, 2 Feb 2000 00:51:17 +0000 (00:51 +0000)]
* Makefile.in: Build gss-sample on Windows
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11986
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Wed, 2 Feb 2000 00:46:23 +0000 (00:46 +0000)]
* kvno.c (main): Use krb5_decode_ticket() instead of
decode_krb5_ticket(), which is not part of API.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11985
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Wed, 2 Feb 2000 00:44:45 +0000 (00:44 +0000)]
* krb5_32.def: Replace decode_krb5_ticket with krb5_decode_ticket.
Add documentation about adding things to DEF file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11984
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Wed, 2 Feb 2000 00:43:48 +0000 (00:43 +0000)]
* krb5_decode.c (krb5_decode_ticket): Add function to provide
decode_krb5_ticket functionality as part of krb5 API.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11983
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Tue, 1 Feb 2000 23:55:21 +0000 (23:55 +0000)]
* krb5.hin (krb5_decode_ticket): Declare
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11982
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Tue, 1 Feb 2000 20:49:25 +0000 (20:49 +0000)]
* gss-client.c, gss-server.c, gss-misc.c: Include Windows headers
instead of Unix headers under Windows.
* gss-server.c (usage): Fix usage info to reflect that service_name is
required.
* gss-misc.c (read_all, write_all): Change write to send and read
to recv for portability.
(gettimeofday): Add an implementation of gettimeofday() for
Windows.
* Makefile.in: Build under Windows.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11981
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Sat, 29 Jan 2000 00:56:34 +0000 (00:56 +0000)]
* kts_g_ent.c, ktsrvtab.h (krb5_ktsrvtab_get_entry): Change the
third argument to krb5_const_principal (from krb5_principal) to
agree with krb5_kts_ops entries.
gcc warning about incompatible pointer types.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11980
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 28 Jan 2000 17:42:46 +0000 (17:42 +0000)]
left date line off last log entry
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11979
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 28 Jan 2000 08:35:10 +0000 (08:35 +0000)]
didn't have date line on last log entry
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11978
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Jan 2000 22:14:45 +0000 (22:14 +0000)]
* dispatch.c (dispatch): Log address and port number of detected retransmits
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11977
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Jan 2000 22:13:14 +0000 (22:13 +0000)]
permit use of non-des session keys now
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11976
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Jan 2000 22:09:24 +0000 (22:09 +0000)]
* pre.in (KADM_COMM_LIBS): Drop krb5util library
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11975
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Jan 2000 22:08:14 +0000 (22:08 +0000)]
* krlogin.c (speeds): Added some comments from net recommending not extending the list to higher values
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11974
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Jan 2000 22:06:52 +0000 (22:06 +0000)]
* main.c (print_status): Now static. Add format attribute if using GNU C
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11973
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Jan 2000 22:02:58 +0000 (22:02 +0000)]
Don't use obsolete autoconf macros. Fix up output formatting a little.
Rewrote tcl config handling to extract info from installed tclConfig.sh.
Configure-time option to control IPv6 configuration.
Configure-time option to enable DNS lookups.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11972
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Jan 2000 21:38:34 +0000 (21:38 +0000)]
limit kadm5 net interface to des for now until gssapi mech is fixed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11971
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Jan 2000 21:05:59 +0000 (21:05 +0000)]
* init_ctx.c (get_profile_etype_list): Discard DESONLY changes from 1999-09-01,
and revert call sites.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11970
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Jan 2000 21:02:32 +0000 (21:02 +0000)]
* init_sec_context.c (krb5_gss_init_sec_context): Default to des-cbc-crc
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11969
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Jan 2000 00:56:27 +0000 (00:56 +0000)]
* k5-int.h [!NEED_SOCKETS]: Declare (but do not define) struct sockaddr if
SOCK_DGRAM hasn't been defined yet.
(krb5_locate_srv_conf, krb5_locate_srv_dns): Declare.
(struct krb5_keytypes, struct krb5_cksumtypes): enc, hash, and keyhash provider
structures pointed to are now const.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11968
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 24 Jan 2000 22:58:38 +0000 (22:58 +0000)]
* kpasswd.0/changing.exp: Fix y2k bug
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11967
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 24 Jan 2000 21:53:43 +0000 (21:53 +0000)]
* get_myaddress.c (gssrpc_get_myaddress): Copy in from NetBSD;
use loopback address only.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11966
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 24 Jan 2000 20:42:45 +0000 (20:42 +0000)]
* krb5_libinit.c: Conditionalize call to stdcc_shutdown()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11965
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 24 Jan 2000 20:38:38 +0000 (20:38 +0000)]
* configure.in: Fix to build library objects in this directory
* Makefile.in (STOBJLISTS): Fix to actually build krb5_libinit.o.
* krb5_libinit.c: Fix to use 0 and 1 instead of false and true.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11964
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 24 Jan 2000 20:08:42 +0000 (20:08 +0000)]
* Makefile.in (STLIBOBJS): Properly add gss_libinit.o to permit
compiling.
* configure.in: Add libobj to Makefile frags.
* gss_libinit.c: Add terminating newline. Use 0 and 1 instead of
false and true.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11963
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 24 Jan 2000 19:50:27 +0000 (19:50 +0000)]
* crypto_libinit.c: Add terminating newline; use 0 and 1 instead
of false and true.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11962
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 22 Jan 2000 04:30:57 +0000 (04:30 +0000)]
* krb5.conf: Put primary KDC for Cygnus first. Add GNU.ORG realm
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11961
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Sat, 22 Jan 2000 04:04:36 +0000 (04:04 +0000)]
Moved krb5, gss, and crypto library initialization/cleanup code into new dedicated functions; added code to release global state allocated in prng.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11960
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 22 Jan 2000 03:49:56 +0000 (03:49 +0000)]
Various changes to:
* make most non-changing data const
* silence "gcc -Wall -Werror" complaints on sparc-solaris2.6
** delete unused functions and variables
** change if(a=b) ... to if((a=b)) or if((a=b)!=0) [yeah, kinda gratuitous]
** insert extra braces for 2-D arrays
* some basic thread safety checks
Not changing afsstring2key.c until I make sure I've got some tests for it.
Currently, prng.c and afsstring2key.c, at least, still aren't thread-safe.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11959
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 22 Jan 2000 02:53:02 +0000 (02:53 +0000)]
* prng.c (enc): Now static and const, and points to const
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11958
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 22 Jan 2000 02:42:19 +0000 (02:42 +0000)]
Avoid non-const static data, and gcc warnings Solaris, except afsstring2key.c:
* f_sched.c (PC2_C, PC2_D): Put braces around sub-arrays.
* f_tables.c (des_SP_table): Ditto.
* weak_key.c (weak): Now const.
(mit_des_is_weak_key): Adjust pointer type accordingly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11957
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 15 Dec 1999 02:14:55 +0000 (02:14 +0000)]
from 1.1 branch: use init_secure_context
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11956
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 15 Dec 1999 02:10:15 +0000 (02:10 +0000)]
* krb5.hin (krb5_secure_config_files): Delete declaration.
(krb5_init_secure_context): Declare.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11955
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 15 Dec 1999 02:09:32 +0000 (02:09 +0000)]
1.1 branch changes -> trunk
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11954
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 6 Dec 1999 21:57:03 +0000 (21:57 +0000)]
merge from 1.1 branch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11952
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 6 Dec 1999 21:54:10 +0000 (21:54 +0000)]
* logger.c (klog_vsyslog): Convert pid_t to long for printing
* alt_prof.c (kadm5_get_config_params): Fix bug in direction of
test while walking through whitespace. Thanks to Matt Crawford.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11951
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 6 Dec 1999 21:53:08 +0000 (21:53 +0000)]
* Makefile.in (LIBMINOR): Update to 2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11950
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 6 Dec 1999 21:52:07 +0000 (21:52 +0000)]
* init_ctx.c (get_profile_etype_list): Report an error if no
recognized enctypes are found in the config file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11949
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 6 Dec 1999 21:49:19 +0000 (21:49 +0000)]
merge 1.1 branch, to 12/1/99
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11948
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 6 Dec 1999 21:45:03 +0000 (21:45 +0000)]
* krb5_err.et (KRB5_OBSOLETE_FN): New error code
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11947
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 6 Dec 1999 21:41:53 +0000 (21:41 +0000)]
* mcc.h (mcc_head): Define as macro to give exported name a krb5 prefix
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11946
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 6 Dec 1999 21:38:22 +0000 (21:38 +0000)]
merge from 1.1 branch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11945
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Sat, 4 Dec 1999 04:06:37 +0000 (04:06 +0000)]
On Windows, build error tables if we believe awk is present
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11944
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Sat, 4 Dec 1999 03:28:35 +0000 (03:28 +0000)]
* kvno.c (main): Use krb5_free_unparsed_name() isntead of free().
Free krb5 context when done.
* Makefile.in: Build kvno under Windows.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11943
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Sat, 4 Dec 1999 03:27:49 +0000 (03:27 +0000)]
Add kvno to Windows build.
Clean kpasswd in Windows build.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11942
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Sat, 4 Dec 1999 03:26:01 +0000 (03:26 +0000)]
Make Windows Makefile target creation atomic.
Build clients/kvno for Windows. Also pull from 1.1 branch: Add
install target for windows. Remove references to unused mit
directory.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11941
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Sat, 4 Dec 1999 02:07:12 +0000 (02:07 +0000)]
Pull changes from krb5-1-1 branch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11940
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Sat, 4 Dec 1999 02:02:15 +0000 (02:02 +0000)]
Pull changes from krb5-1-1 branch: a) Make is so
that all C flags are the same and so that the only difference
between EXE and DLL builds are the DLL_LINKOPTS and EXE_LINKOPTS
linker options. b) Fix DNS error messages to wshelper instead of
version server. c) Fix DNS flags it does not try to depend on mit
dir. Define NULL so we can do directory existence checks via the
shell under both NT and 9x.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11939
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Sat, 4 Dec 1999 01:54:09 +0000 (01:54 +0000)]
Pull changes in from krb5-1-1 branch (remvove everything under src/mit)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11938
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Sat, 4 Dec 1999 01:52:33 +0000 (01:52 +0000)]
Pull src/windows changes from krb5-1-1 branch (rename readme -> README)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11937
dc483132-0cff-0310-8789-
dd5450dbe970