krb5.git
28 years agoAdd contents of util/db2/acconfig.h to the top-level acconfig.h so
Theodore Tso [Tue, 23 Jul 1996 04:39:49 +0000 (04:39 +0000)]
Add contents of util/db2/acconfig.h to the top-level acconfig.h so
that util/reconf works correctly.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8779 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoInclude errno.h
Ezra Peisach [Tue, 23 Jul 1996 01:49:24 +0000 (01:49 +0000)]
Include errno.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8778 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoIf __STDC__ is not defined, generate proper prototypes..
Ezra Peisach [Tue, 23 Jul 1996 01:40:23 +0000 (01:40 +0000)]
If __STDC__ is not defined, generate proper prototypes..

The macro expansion was generating "int DynCopy ; " instead of "int DynCopy ()"

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8777 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kdc.conf (admin_*): add the fields for the new admin system to
Marc Horowitz [Mon, 22 Jul 1996 23:11:08 +0000 (23:11 +0000)]
* kdc.conf (admin_*): add the fields for the new admin system to
  the prototype config.file

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8776 dc483132-0cff-0310-8789-dd5450dbe970

28 years agothis commit includes all the changes on the OV_9510_INTEGRATION and
Marc Horowitz [Mon, 22 Jul 1996 21:11:35 +0000 (21:11 +0000)]
this commit includes all the changes on the OV_9510_INTEGRATION and
OV_MERGE branches.  This includes, but is not limited to, the new openvision
admin system, and major changes to gssapi to add functionality, and bring
the implementation in line with rfc1964.  before committing, the
code was built and tested for netbsd and solaris.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8775 dc483132-0cff-0310-8789-dd5450dbe970

28 years agothis commit includes all the changes on the OV_9510_INTEGRATION and
Marc Horowitz [Mon, 22 Jul 1996 20:49:46 +0000 (20:49 +0000)]
this commit includes all the changes on the OV_9510_INTEGRATION and
OV_MERGE branches.  This includes, but is not limited to, the new openvision
admin system, and major changes to gssapi to add functionality, and bring
the implementation in line with rfc1964.  before committing, the
code was built and tested for netbsd and solaris.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970

28 years agokilled krb5.h in the modern way
Marc Horowitz [Sat, 20 Jul 1996 02:22:54 +0000 (02:22 +0000)]
killed krb5.h in the modern way

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8772 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoAdded TIMEBOMB_INFO string which tells the user the URL to look for
Theodore Tso [Sat, 13 Jul 1996 00:33:19 +0000 (00:33 +0000)]
Added TIMEBOMB_INFO string which tells the user the URL to look for
more information about getting the new version of the product.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8705 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoOn Windows builds, add -DHAVE_STDLIB_H
Theodore Tso [Sat, 13 Jul 1996 00:29:40 +0000 (00:29 +0000)]
On Windows builds, add -DHAVE_STDLIB_H

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8704 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoadd note about versioning bug that marc found
Barry Jaspan [Fri, 12 Jul 1996 15:28:01 +0000 (15:28 +0000)]
add note about versioning bug that marc found

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8680 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoNew routine which does the timebomb and version server checking.
Theodore Tso [Thu, 11 Jul 1996 00:34:12 +0000 (00:34 +0000)]
New routine which does the timebomb and version server checking.
Windows 3.1 doesn't allow you to do any messaging calls in LibMain, so
the timebomb and version server code was moved to krb5_win_do_init(),
which is called by krb5_init_context().

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8678 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoAdd a call to krb5_win_do_init() on Win16 and Win32 machines. This is
Theodore Tso [Thu, 11 Jul 1996 00:32:12 +0000 (00:32 +0000)]
Add a call to krb5_win_do_init() on Win16 and Win32 machines.  This is
where we do timebomb and version server checking.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8677 dc483132-0cff-0310-8789-dd5450dbe970

28 years agowin_glue.c: Add a quick hack so we can time-bomb the libkrb5.dll and
Theodore Tso [Wed, 10 Jul 1996 05:22:50 +0000 (05:22 +0000)]
win_glue.c: Add a quick hack so we can time-bomb the libkrb5.dll and
sapkrb5.dll when we compile them at MIT.

Makefile.in (sap_glue.obj): Build the sapkrb5.dll with the timebomb
enabled (since we couldn't get the version server code working).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8651 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoTed left off Ezra & me in the contributors to k5b6. I'll let Ted re-work
Richard Basch [Tue, 9 Jul 1996 20:46:59 +0000 (20:46 +0000)]
Ted left off Ezra & me in the contributors to k5b6.  I'll let Ted re-work
the text for b7, if he wants... I just added the names to the MIT folks
past&present...

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8617 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoadd kadm5_decrypt_key
Barry Jaspan [Tue, 9 Jul 1996 20:24:49 +0000 (20:24 +0000)]
add kadm5_decrypt_key

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8612 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoupdate dbname, admin_dbname, admin_lockfile dependencies
Barry Jaspan [Tue, 9 Jul 1996 20:19:21 +0000 (20:19 +0000)]
update dbname, admin_dbname, admin_lockfile dependencies

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8611 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * test.c (krb4_print_ticket): Change addr to unsigned KRB4_32 from
Ezra Peisach [Tue, 9 Jul 1996 11:18:38 +0000 (11:18 +0000)]
* test.c (krb4_print_ticket): Change addr to unsigned KRB4_32 from
long.

* conv_creds.c (krb524_convert_creds_plain): Change addr to a four
byte unsigned integer (from long).

k524init now works on the Alpha...

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8568 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * krb4-proto.h: Change prototype for decomp_ticket to match source
Ezra Peisach [Tue, 9 Jul 1996 11:15:00 +0000 (11:15 +0000)]
* krb4-proto.h: Change prototype for decomp_ticket to match source
(addr is not unsigned long *)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8567 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * kinit.M: Document -R option
Ezra Peisach [Sun, 7 Jul 1996 19:25:42 +0000 (19:25 +0000)]
* kinit.M: Document -R option

* kinit.c (krb5_tgt_gen): Code from krb5_validate_tgt() modified
to handle both renewal and validation of postdated tickets.
(krb5_renew_tgt): Takes a credential cache with a tgt with the
"renewable flag" set and asks ths kdc to renew it. Cache is wiped
and only new tgt is stored.
(main): New option -R to renew tickets.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8559 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * get_creds.c: (krb5_get_credentials_val_renew_core) Combine
Ezra Peisach [Sun, 7 Jul 1996 19:20:37 +0000 (19:20 +0000)]
* get_creds.c: (krb5_get_credentials_val_renew_core) Combine
common internals needed from krb5_get_credentials_validate()
and used by new function krb5_get_credentials_renew()

* gc_frm_kdc.c (krb5_get_cred_from_kdc_renew): A wrapper that
passes KDC_OPT_RENEW to the static
krb5_get_cred_from_kdc_opt so that kinit can use it.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8558 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * krb5.hin: Add prototypes for krb5_get_credentials_renew() and
Ezra Peisach [Sun, 7 Jul 1996 19:13:22 +0000 (19:13 +0000)]
* krb5.hin: Add prototypes for krb5_get_credentials_renew() and
krb5_get_cred_from_kdc_renew()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8557 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * asn1buf.c (asn12krb5_buf): Initialize magic fields of structure.
Ezra Peisach [Thu, 27 Jun 1996 14:38:14 +0000 (14:38 +0000)]
* asn1buf.c (asn12krb5_buf): Initialize magic fields of structure.
(asn1buf_expand): If pre-allocating memory for future use, store
proper end of buffer.

This was a big performance hit in asn.1 routines as every time it tried to
decode an octet, 200 bytes were allocated (for future use), but the
buffer structure pnly thought that one byte was allocated and the next
time through would try to allocate memory again.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8553 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoupdate permanent lock semantics
Barry Jaspan [Wed, 26 Jun 1996 21:44:01 +0000 (21:44 +0000)]
update permanent lock semantics

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8552 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoupdate rename_principal for NO_RENAME_SALT
Barry Jaspan [Tue, 25 Jun 1996 17:45:43 +0000 (17:45 +0000)]
update rename_principal for NO_RENAME_SALT

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8549 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoOnly include stdlib.h if it's available
Theodore Tso [Mon, 24 Jun 1996 18:20:10 +0000 (18:20 +0000)]
Only include stdlib.h if it's available

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8547 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoChange const to krb5_const, so that it works on compilers that don't
Theodore Tso [Mon, 24 Jun 1996 18:17:23 +0000 (18:17 +0000)]
Change const to krb5_const, so that it works on compilers that don't
support const.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8546 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoFix typo so that krsh doesn't exit when using the default port
Theodore Tso [Mon, 24 Jun 1996 18:15:45 +0000 (18:15 +0000)]
Fix typo so that krsh doesn't exit when using the default port

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8545 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago Fix bug pointed out by jhawk; we weren't looking for all ptys
Sam Hartman [Mon, 24 Jun 1996 04:16:28 +0000 (04:16 +0000)]
Fix bug pointed out by jhawk; we weren't looking for all ptys
on SunOS or NetBSD.  Also fix Hpux 10 bug with regard to utmpx.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8544 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoKrb4: get the right includes
Sam Hartman [Mon, 24 Jun 1996 04:14:59 +0000 (04:14 +0000)]
Krb4: get the right includes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8543 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoDrop support for -u because it allows us to remove
Sam Hartman [Mon, 24 Jun 1996 04:14:18 +0000 (04:14 +0000)]
Drop support for -u  because it allows us to remove
dependencies from utmp.h and it didn't work anyway.  This fixes some Hpux compile problems as well.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8542 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoFix up handling of libkrb4 libraries so includes and stuff work with
Sam Hartman [Mon, 24 Jun 1996 04:07:41 +0000 (04:07 +0000)]
Fix up handling of libkrb4 libraries so includes and stuff work with
divergent versions of libkrb4.  That way, Athena Kerberos can be used.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8541 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago* klogind should do a better job of initializing output flags on tty
Sam Hartman [Mon, 24 Jun 1996 04:05:09 +0000 (04:05 +0000)]
* klogind should do a better job of initializing output flags on tty
* Fix so login.krb5 compiles with Athena Kerberos libs (needed
    for rsaix build)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8540 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoFix Win-16 build #defines for KRB5_CALLCONV and KRB5_DLLIMP
Theodore Tso [Fri, 21 Jun 1996 22:07:23 +0000 (22:07 +0000)]
Fix Win-16 build #defines for KRB5_CALLCONV and KRB5_DLLIMP

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8533 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoCall macfiles.sh explicitly using /bin/sh, so that it works even if
Theodore Tso [Fri, 21 Jun 1996 15:30:56 +0000 (15:30 +0000)]
Call macfiles.sh explicitly using /bin/sh, so that it works even if
the script doesn't have execute permission set.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8532 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoFix typos for SAPKRB5.DLL support
Theodore Tso [Thu, 20 Jun 1996 22:05:10 +0000 (22:05 +0000)]
Fix typos for SAPKRB5.DLL support

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8419 dc483132-0cff-0310-8789-dd5450dbe970

28 years agomove _kadm5_check_handle into *_init.c
Barry Jaspan [Wed, 19 Jun 1996 20:37:11 +0000 (20:37 +0000)]
move _kadm5_check_handle into *_init.c

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8410 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoupdate to kadm5, add api versioning and handles, other minor fixes
Barry Jaspan [Wed, 19 Jun 1996 19:18:29 +0000 (19:18 +0000)]
update to kadm5, add api versioning and handles, other minor fixes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8408 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoremove attribute explanations, refer to libkdb functional spec
Barry Jaspan [Tue, 18 Jun 1996 20:16:21 +0000 (20:16 +0000)]
remove attribute explanations, refer to libkdb functional spec

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8393 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * str_conv.c (krb5_string_to_timestamp): Ensure that all fields of
Ezra Peisach [Tue, 18 Jun 1996 00:26:53 +0000 (00:26 +0000)]
* str_conv.c (krb5_string_to_timestamp): Ensure that all fields of
the timestamp are filled in if strptime does not fill in
unspecified fields.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8376 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * aclocal.m4 (CHECK_DB): explicitly set $LIBS before calling
Tom Yu [Mon, 17 Jun 1996 22:39:13 +0000 (22:39 +0000)]
* aclocal.m4 (CHECK_DB): explicitly set $LIBS before calling
AC_CHECK_DBM_PROTO so that if a dbm lib is found it is
linked against while checking for function existence.
This may need some more testing.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8375 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoInitialize auth_context to NULL before calling krb5_sendauth - otherwise
Ezra Peisach [Sat, 15 Jun 1996 08:25:39 +0000 (08:25 +0000)]
Initialize auth_context to NULL before calling krb5_sendauth - otherwise
it is treated as pointing to valid memory... (Patch provided by Bill
Sommerfeld)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8367 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoRemove tests that are not needed with the pty library in place
Ezra Peisach [Sat, 15 Jun 1996 08:07:25 +0000 (08:07 +0000)]
Remove tests that are not needed with the pty library in place

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8366 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoAdd space before \ to deal with SunOS version of make which loses
Ezra Peisach [Sat, 15 Jun 1996 07:52:54 +0000 (07:52 +0000)]
Add space before \ to deal with SunOS version of make which loses

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8365 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoadd init_with_creds
Barry Jaspan [Fri, 14 Jun 1996 20:06:54 +0000 (20:06 +0000)]
add init_with_creds

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8364 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * configure.in: remove ref to SS_RULES
Tom Yu [Fri, 14 Jun 1996 03:17:46 +0000 (03:17 +0000)]
* configure.in: remove ref to SS_RULES

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8362 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * post.in,pre.in: break some things out from aclocal.m4 and put
Tom Yu [Fri, 14 Jun 1996 03:17:33 +0000 (03:17 +0000)]
* post.in,pre.in: break some things out from aclocal.m4 and put
them here

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8361 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * configure.in: remove ref to ET_RULES
Tom Yu [Fri, 14 Jun 1996 03:17:13 +0000 (03:17 +0000)]
* configure.in: remove ref to ET_RULES

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8360 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * configure.in: remove ref to SS_RULES, ET_RULES
Tom Yu [Fri, 14 Jun 1996 03:16:42 +0000 (03:16 +0000)]
* configure.in: remove ref to SS_RULES, ET_RULES

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8359 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * configure.in: remove ref to SS_RULES, ET_RULES
Tom Yu [Fri, 14 Jun 1996 03:09:04 +0000 (03:09 +0000)]
* configure.in: remove ref to SS_RULES, ET_RULES

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8358 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * aclocal.m4: break some stuff out into pre.in and post.in in
Tom Yu [Fri, 14 Jun 1996 03:07:29 +0000 (03:07 +0000)]
* aclocal.m4: break some stuff out into pre.in and post.in in
preparation for doing away with PUSH_MAKEFILE cruft

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8357 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago* ftpd.c (authdata): misplaced braces caused server to not be able to
Kevin Mitchell [Thu, 13 Jun 1996 22:38:44 +0000 (22:38 +0000)]
* ftpd.c (authdata): misplaced braces caused server to not be able to
use ftp principle if it was present.  Client looks for ftp
first, then tries host; ftpd was looking only for host.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8355 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoInclude string.h for declaration for memcpy()
Ezra Peisach [Thu, 13 Jun 1996 14:57:03 +0000 (14:57 +0000)]
Include string.h for declaration for memcpy()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8354 dc483132-0cff-0310-8789-dd5450dbe970

28 years agodon't change the error table name (leave it ovk); I'm not sure if this
Barry Jaspan [Thu, 13 Jun 1996 14:48:21 +0000 (14:48 +0000)]
don't change the error table name (leave it ovk); I'm not sure if this
matters for compatibility, but there is no good reason to change it
(and it was never changed in the code anyway)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8353 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoFor Win32, define away FAR and NEAR
Theodore Tso [Thu, 13 Jun 1996 02:46:39 +0000 (02:46 +0000)]
For Win32, define away FAR and NEAR

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8350 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoMakefile.in: Update special rule for gssapi_err_generic.obj so that it
Theodore Tso [Thu, 13 Jun 1996 02:36:11 +0000 (02:36 +0000)]
Makefile.in: Update special rule for gssapi_err_generic.obj so that it
uses the right Win-32 library command.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8349 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoMakefile.in: Update special rule for gssapi_err_krb5.obj so that it
Theodore Tso [Thu, 13 Jun 1996 02:34:16 +0000 (02:34 +0000)]
Makefile.in: Update special rule for gssapi_err_krb5.obj so that it
uses the right Win-32 library command.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8348 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * aclocal.m4 (AC_CHECK_DBM_PROTO): Correct to use correct cache
Ezra Peisach [Thu, 13 Jun 1996 02:15:55 +0000 (02:15 +0000)]
* aclocal.m4 (AC_CHECK_DBM_PROTO): Correct to use correct cache
variable in test.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8347 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoNew variable which is used to control the /pagesize parameter for
Theodore Tso [Thu, 13 Jun 1996 00:21:33 +0000 (00:21 +0000)]
New variable which is used to control the /pagesize parameter for
Windows 16.  (Obviously we're suffering from library size bloat if we
need to set this.)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8346 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoChecked in missing _WIN32 #ifdef
Theodore Tso [Thu, 13 Jun 1996 00:15:03 +0000 (00:15 +0000)]
Checked in missing _WIN32 #ifdef

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8345 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoAdd missing prototypes; needed to make Win-32 compiler happy
Theodore Tso [Thu, 13 Jun 1996 00:13:56 +0000 (00:13 +0000)]
Add missing prototypes; needed to make Win-32 compiler happy

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8344 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * aclocal.m4: use new AC_OUTPUT syntax for constructing
Tom Yu [Wed, 12 Jun 1996 23:42:46 +0000 (23:42 +0000)]
* aclocal.m4: use new AC_OUTPUT syntax for constructing
Makefile.tmp

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8343 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * autoconf.texi (Output): document changes to AC_OUTPUT
Tom Yu [Wed, 12 Jun 1996 23:35:27 +0000 (23:35 +0000)]
* autoconf.texi (Output): document changes to AC_OUTPUT

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8342 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * acgeneral.m4 (AC_OUTPUT_FILES): allow for multiple files in
Tom Yu [Wed, 12 Jun 1996 23:34:35 +0000 (23:34 +0000)]
* acgeneral.m4 (AC_OUTPUT_FILES): allow for multiple files in
AC_OUTPUT; this is done via
AC_OUTPUT(outfile[:infile1[+infile2[+infile3...]]]).  The
source files are concatenated and substituted over.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8341 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoadd init_with_creds tests
Barry Jaspan [Wed, 12 Jun 1996 22:43:31 +0000 (22:43 +0000)]
add init_with_creds tests

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8338 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoadd init test 116
Barry Jaspan [Wed, 12 Jun 1996 21:47:15 +0000 (21:47 +0000)]
add init test 116

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8336 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoadd KADM5_API_VERSION_2 tests
Barry Jaspan [Wed, 12 Jun 1996 21:12:07 +0000 (21:12 +0000)]
add KADM5_API_VERSION_2 tests

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8334 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoUpdate to newer version in order to support more platforms
Ezra Peisach [Wed, 12 Jun 1996 19:36:15 +0000 (19:36 +0000)]
Update to newer version in order to support more platforms

We may have to verify that for all platforms w/ shared libraries
the name has not changed...

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8330 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoAdd prototypes for the SAM encoding and decoding functions, which are
Theodore Tso [Wed, 12 Jun 1996 18:29:01 +0000 (18:29 +0000)]
Add prototypes for the SAM encoding and decoding functions, which are
necessary for the Win32 port (and a good idea in general).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8329 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * Makefile.in (lib-windows): Replace spaces with tab
Ezra Peisach [Wed, 12 Jun 1996 16:57:34 +0000 (16:57 +0000)]
* Makefile.in (lib-windows): Replace spaces with tab

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8322 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoNew file for SAPKRB5.DLL
Theodore Tso [Wed, 12 Jun 1996 05:35:58 +0000 (05:35 +0000)]
New file for SAPKRB5.DLL

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8321 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoAdd #ifdef _WIN32 in places where we had #ifdef _MSDOS
Theodore Tso [Wed, 12 Jun 1996 05:32:55 +0000 (05:32 +0000)]
Add #ifdef _WIN32 in places where we had #ifdef _MSDOS

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8320 dc483132-0cff-0310-8789-dd5450dbe970

28 years agocom_err.h:
Theodore Tso [Wed, 12 Jun 1996 05:32:06 +0000 (05:32 +0000)]
com_err.h:
error_table.h: Add Windows-32 ifdefs.  Change use of INTERFACE to
KRB5_CALLCONV and KRB5_DLLIMP.  See ChangeLog entries for
src/include/krb5.hin for more information.

vfprintf.c, internal.h, compile_et.c, et_c.awk, com_err.c: Change
_WINDOWS to _MSDOS, and add check for _WIN32.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8319 dc483132-0cff-0310-8789-dd5450dbe970

28 years agotest_profile.c: Add usage message if not enough arguments
Theodore Tso [Wed, 12 Jun 1996 05:29:43 +0000 (05:29 +0000)]
test_profile.c: Add usage message if not enough arguments

prof_parse.c (dump_profile_to_file, dump_profile): Dump the profile
using the correct line terminator for Windows, Macintosh, etc.

prof_parse.c:
prof_file.c: Change _WINDOWS to _MSDOS, and add check for _WIN32.

prof_int.h: Add size #defines for _WIN32.  Handle prototypes correctly
for _WIN32.

prof_int.h: Added comment to profile state structure

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8318 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoChange _WINDOWS to _MSDOS, and add check for _WIN32
Theodore Tso [Wed, 12 Jun 1996 05:16:09 +0000 (05:16 +0000)]
Change _WINDOWS to _MSDOS, and add check for _WIN32

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8317 dc483132-0cff-0310-8789-dd5450dbe970

28 years agonet_read.c (krb5_net_read):
Theodore Tso [Wed, 12 Jun 1996 05:15:11 +0000 (05:15 +0000)]
net_read.c (krb5_net_read):
net_write.c (krb5_net_write): In case of an error, on Windows
machines, set errno from SOCKET_ERRNO, since the interface assumes the
error is passed back the errno global varaible.  This really needs to
be fixed sometime...

read_msg.c: If ECONNABORTED is not defined, try using the Winsock
version of the error code (WSAECONNABORTED).

read_pwd.c:
promptusr.c:
lock_file.c:
kuserok.c:
ktdefname.c (krb5_kt_default_name):
init_os_ctx.c (os_init_paths):
ccdefname.c:
an_to_ln.c (db_an_to_ln): Change _WINDOWS to _MSDOS, and add check for _WIN32.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8316 dc483132-0cff-0310-8789-dd5450dbe970

28 years agosendauth.c (krb5_sendauth): If ECCONABORTED is not defined, try using
Theodore Tso [Wed, 12 Jun 1996 05:11:08 +0000 (05:11 +0000)]
sendauth.c (krb5_sendauth): If ECCONABORTED is not defined, try using
the Winsock equivalent (WSAECONNABORTED).

parse.c (krb5_parse_name): Change use of _WINDOWS to _MSDOS, and add
check for _WIN32.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8315 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoAdd #ifdef _WIN32 in places where we had #ifdef _MSDOS
Theodore Tso [Wed, 12 Jun 1996 05:09:39 +0000 (05:09 +0000)]
Add #ifdef _WIN32 in places where we had #ifdef _MSDOS

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8314 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoscc_read.c:
Theodore Tso [Wed, 12 Jun 1996 05:08:06 +0000 (05:08 +0000)]
scc_read.c:
scc_gennew.c (krb5_scc_generate_new): Change _WINDOWS to _MSDOS, and
add check for _WIN32.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8313 dc483132-0cff-0310-8789-dd5450dbe970

28 years agofcc-proto.h: Change use of PROTOTYPE to KRB5_PROTOTYPE.
Theodore Tso [Wed, 12 Jun 1996 05:07:08 +0000 (05:07 +0000)]
fcc-proto.h: Change use of PROTOTYPE to KRB5_PROTOTYPE.
Change use of INTERFACE to KRB5_CALLCONV and KRB5_DLLIMP.

fcc-getnam.c: Change use of INTERFACE to KRB5_CALLCONV and
KRB5_DLLIMP, since fcc_getname returns a char * and the old INTERFACE
method bombs out when the return type contains an indirection.

fcc_read.c:
fcc_ops.c: Change _WINDOWS to _MSDOS, and add check for _WIN32.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8312 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoRemove unnecessary include config/windows.in. wconfig takes care of
Theodore Tso [Wed, 12 Jun 1996 05:03:30 +0000 (05:03 +0000)]
Remove unnecessary include config/windows.in.  wconfig takes care of
this automatically.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8311 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoChange use of _WINDOWS to _MSDOS, and add check for _WIN32
Theodore Tso [Wed, 12 Jun 1996 05:02:19 +0000 (05:02 +0000)]
Change use of _WINDOWS to _MSDOS, and add check for _WIN32

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8310 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoMakefile.in: Remove include of config/windows.in; that's done
Theodore Tso [Wed, 12 Jun 1996 04:51:56 +0000 (04:51 +0000)]
Makefile.in: Remove include of config/windows.in; that's done
automatically by wconfig.

g_acquire_cred.c, g_oid_ops.c: Change to use new convention of
KRB5_CALLCONV and KRB5_DLLIMP instead of INTERFACE

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8309 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoAdd #ifdef _WIN32 in places where we had #ifdef _MSDOS
Theodore Tso [Wed, 12 Jun 1996 04:49:06 +0000 (04:49 +0000)]
Add #ifdef _WIN32 in places where we had #ifdef _MSDOS

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8308 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoChange INTERFACE to be KRB5_CALLCONV, which is where the calling
Theodore Tso [Wed, 12 Jun 1996 04:47:54 +0000 (04:47 +0000)]
Change INTERFACE to be KRB5_CALLCONV, which is where the calling
convention is defined.  Add KRB5_DLLIMP which is where the DLL
import/export should be put for Win32.  (Win16 is just different.)
The correct way to declare a function which will be used in a DLL is
now: KRB5_DLLIMP func_return_t KRB5_CALLCONV func(long)

Change function delcarations to use the new convention.  Actually, it
doesn't hurt to use the old convention as long as func_return_t
doesn't contain a '*'.  But in the long run we should be exterminating
all uses of INTERFACE in favor of KRB5_CALLCONV and KRB5_DLLIMP.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8307 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoadm_proto.h: Change usage of INTERFACE to use KRB5_CALLCONV and KRB5_DLLIMP
Theodore Tso [Wed, 12 Jun 1996 04:42:41 +0000 (04:42 +0000)]
adm_proto.h: Change usage of INTERFACE to use KRB5_CALLCONV and KRB5_DLLIMP

winsock.h: Rename to kwinsock.h.  Recent versions of Microsoft
compilers include winsock.h, and the one we have collides with NT
errno definitions.  Using the one provided by the compiler is
preferable.  If you are using an old version of MSVC that doesn't
include winsock.h, then rename kwinsock.h to winsock.h

kdb_dbm.h: Don't include kdb_dbm.h for Win-32.

kdb.h: Don't include most of kdb.h for Win-32.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8306 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoFor Win-32: always #include windows.h
Theodore Tso [Wed, 12 Jun 1996 04:36:25 +0000 (04:36 +0000)]
For Win-32: always #include windows.h

Change INTERFACE to be KRB5_CALLCONV, which is where the calling
convention is defined.  Add KRB5_DLLIMP which is where the DLL
import/export should be put for Win32.  (Win16 is just different.)
The correct way to declare a function which will be used in a DLL is
now: KRB5_DLLIMP func_return_t KRB5_CALLCONV func(long)

Change function delcarations to use the new convention.  Actually, it
doesn't hurt to use the old convention as long as func_return_t
doesn't contain a '*'.  But in the long run we should be exterminating
all uses of INTERFACE in favor of KRB5_CALLCONV and KRB5_DLLIMP.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8305 dc483132-0cff-0310-8789-dd5450dbe970

28 years agowindows.in (CCOPTS): Windows-32 CCOPTS
Theodore Tso [Wed, 12 Jun 1996 04:27:12 +0000 (04:27 +0000)]
windows.in (CCOPTS): Windows-32 CCOPTS

win-post.in: Use a Windows-32 specific LIB command line syntax

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8304 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoBuild the makefiles for windows/cns, windows/gss, and windows/wintel
Theodore Tso [Wed, 12 Jun 1996 04:26:00 +0000 (04:26 +0000)]
Build the makefiles for windows/cns, windows/gss, and windows/wintel

Add definition of BUILDTOP when building for DOS, since it's needed
for $(RM) to work.

When creating ./Makefile under Unix, run things through sed to strip
out ##DOS from the beginning of lines.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8303 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago specializations. Remove /nologo option for Win32 RFLAGS,
Theodore Tso [Wed, 12 Jun 1996 04:23:06 +0000 (04:23 +0000)]
specializations.  Remove /nologo option for Win32 RFLAGS,
since RC apparently doesn't support it.

changelo: Renamed to ChangeLog, to make life easier.

makefile: Renamed to Makefile.in, so that we can do WIN16/WIN32

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8302 dc483132-0cff-0310-8789-dd5450dbe970

28 years agogss-clie.c: Renamed to gss-client.c, for VFAT/NTFS filesystems
Theodore Tso [Wed, 12 Jun 1996 04:19:23 +0000 (04:19 +0000)]
gss-clie.c: Renamed to gss-client.c, for VFAT/NTFS filesystems

makefile: Renamed to Makefile.in, so that we can do WIN16/WIN32
specializations.  Remove /nologo option for Win32 RFLAGS,
since RC apparently doesn't support it.

changelo: Renamed to ChangeLog, to make life easier.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8301 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoc_ustime.c: Fix WIN32 to be _WIN32
Theodore Tso [Wed, 12 Jun 1996 04:13:42 +0000 (04:13 +0000)]
c_ustime.c: Fix WIN32 to be _WIN32

c_localaddr.c: Add #ifdef _WIN32 in places where we had #ifdef _MSDOS

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8300 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoAdd #ifdef _WIN32 in places where we had #ifdef _MSDOS
Theodore Tso [Wed, 12 Jun 1996 04:12:20 +0000 (04:12 +0000)]
Add #ifdef _WIN32 in places where we had #ifdef _MSDOS

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8299 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoMakefile.in (lib-windows): Add production rule for sapkrb5.dll. Don't
Theodore Tso [Wed, 12 Jun 1996 04:07:23 +0000 (04:07 +0000)]
Makefile.in (lib-windows): Add production rule for sapkrb5.dll.  Don't
include config/windows.in, since that's included by wconfig.

win_glue.c: Add a quick hack for krb5-SAP so that we call the version
server --- this is conditionalized on SAP_VERSERV, which is only
defined when we build sapkrb5.dll.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8298 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoRevamp program to make it more extensible. Now will uncomment lines
Theodore Tso [Wed, 12 Jun 1996 03:06:50 +0000 (03:06 +0000)]
Revamp program to make it more extensible.  Now will uncomment lines
that begin "##DOS##" as well as "##WIN16##" or "##WIN32##", depending
on whether we are compiling on a Windows 16 or Windows 32 environment.
Also, we now perform this transformation on the windows.in and
win-post.in files as well.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8297 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoRemove inclusion of malloc.h..
Ezra Peisach [Wed, 12 Jun 1996 00:18:36 +0000 (00:18 +0000)]
Remove inclusion of malloc.h..

If it was really needed, it would have been included in several files,
not just this one.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8296 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoMissed two files
Ezra Peisach [Wed, 12 Jun 1996 00:12:31 +0000 (00:12 +0000)]
Missed two files

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8295 dc483132-0cff-0310-8789-dd5450dbe970

28 years agoRemove kdb4 from the sources tree
Ezra Peisach [Wed, 12 Jun 1996 00:11:59 +0000 (00:11 +0000)]
Remove kdb4 from the sources tree

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8294 dc483132-0cff-0310-8789-dd5450dbe970

28 years agokdb4 is now longer there..
Ezra Peisach [Wed, 12 Jun 1996 00:10:49 +0000 (00:10 +0000)]
kdb4 is now longer there..

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8293 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago*aclocal.m4: Remove WITH_KDB4 and USE_KDB4_LIBRARY support
Ezra Peisach [Wed, 12 Jun 1996 00:09:56 +0000 (00:09 +0000)]
*aclocal.m4: Remove WITH_KDB4 and USE_KDB4_LIBRARY support

kdb4 is no longer needed in the source tree. It has not been needed in
about 10 months, but this is the cleanup...

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8292 dc483132-0cff-0310-8789-dd5450dbe970

28 years ago * keytab.c (krb5_ktkdb_close): Free memory allocated by
Ezra Peisach [Tue, 11 Jun 1996 23:28:50 +0000 (23:28 +0000)]
* keytab.c (krb5_ktkdb_close): Free memory allocated by
krb5_ktkdb_resolve.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8291 dc483132-0cff-0310-8789-dd5450dbe970