krb5.git
28 years ago * Makefile.in, configure.in, adm_rw.c, kadm5_defs.h, main.c,
Marc Horowitz [Thu, 25 Jul 1996 22:30:02 +0000 (22:30 +0000)]
    * Makefile.in, configure.in, adm_rw.c, kadm5_defs.h, main.c,
        proto_serv.c, srv_net.c: combined pieces of the old v5server and
        kadm libraries with calls to the new kadm5srv library to produce a
        daemon which handles the v5b6 "simple" password changing protocol.

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

28 years agoRemove OID's that weren't being used, and rename gss_nt_service_name
Theodore Tso [Thu, 25 Jul 1996 22:08:58 +0000 (22:08 +0000)]
Remove OID's that weren't being used, and rename gss_nt_service_name
to nt_service_name to prevent name colision.

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

28 years agoadmin_internal.h (_KADM5_CHECK_HANDLE): Add parenthesis around
Theodore Tso [Thu, 25 Jul 1996 22:06:40 +0000 (22:06 +0000)]
admin_internal.h (_KADM5_CHECK_HANDLE): Add parenthesis around
assignment used as truth value to reduce gcc -Wall flames.

misc_free.c (kadm5_free_name_list, krb5_free_key_data_contents: Add
KADM5_OK return value upon success.

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

28 years agokadmin.c (quit): Return zero so that we return the proper exit status.
Theodore Tso [Thu, 25 Jul 1996 22:04:58 +0000 (22:04 +0000)]
kadmin.c (quit): Return zero so that we return the proper exit status.
(kadmin_getprivs): Declare function as returning void

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

28 years agoDon't build the create, destroy, and stash directories
Theodore Tso [Thu, 25 Jul 1996 22:04:05 +0000 (22:04 +0000)]
Don't build the create, destroy, and stash directories

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

28 years agoDeclare function as returning void
Theodore Tso [Thu, 25 Jul 1996 22:03:37 +0000 (22:03 +0000)]
Declare function as returning void

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

28 years ago*** empty log message ***
Marc Horowitz [Thu, 25 Jul 1996 21:25:22 +0000 (21:25 +0000)]
*** empty log message ***

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

28 years ago * configure.in (CONFIG_DIRS): added v5passwdd
Marc Horowitz [Thu, 25 Jul 1996 21:25:04 +0000 (21:25 +0000)]
* configure.in (CONFIG_DIRS): added v5passwdd

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

28 years agoFix Sanitize script to not delete the configure program
Theodore Tso [Thu, 25 Jul 1996 06:26:52 +0000 (06:26 +0000)]
Fix Sanitize script to not delete the configure program

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

28 years agoMove setenv.c to clnt directory where it belongs
Theodore Tso [Thu, 25 Jul 1996 06:26:15 +0000 (06:26 +0000)]
Move setenv.c to clnt directory where it belongs

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

28 years agogss.c (parse_name): Add code to parse an optional fourth parameter
Theodore Tso [Thu, 25 Jul 1996 06:19:16 +0000 (06:19 +0000)]
gss.c (parse_name): Add code to parse an optional fourth parameter
which is the mechanism OID to actually use.  If it is ommited, the
default mechanism is used.

gss-client.c (client_establish_context): Added parameter oid_name,
which allows the user to specify the OID that he/she actually wants to
use to as the mechanism.

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

28 years agoutil_ordering.c (g_order_check):
Theodore Tso [Thu, 25 Jul 1996 06:16:18 +0000 (06:16 +0000)]
util_ordering.c (g_order_check):
util_ordering.c (g_order_init): Changed return code to be an int 32,
since we return a com_err error code.  Change the type of the sequence
number to be an uint32.

gssapi.h: Define gss_int32 -- needed for error code returns.

Makefile.in (EHDRDIR): Use $(S) instead of /, so that EHDRDIR is valid
under windows.  Fix how the header file is copied in under Windows.

gssapiP_generic.h: Include gssapi_generic.h instead of gssapi.h, so
that we get the definitions of the nametype oids.

oid_ops.c (generic_gss_release_oid): Re-enable function.

util_token.c (g_verify_token_header): Changed return code to be an int
32, since we return a com_err error code.

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

28 years agoinit_sec_context.c (krb5_gss_init_sec_context): Fixed error checking
Theodore Tso [Thu, 25 Jul 1996 06:09:57 +0000 (06:09 +0000)]
init_sec_context.c (krb5_gss_init_sec_context): Fixed error checking
so that if you pass a bad mechanism type, it *will* get flagged as an
error.

rel_oid.c (krb5_gss_release_oid):
krb5_gss_glue.c(gss_release_oid): Re-enable function

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

28 years ago * acquire_cred.c (krb5_gss_acquire_cred): Initialize variable
Ezra Peisach [Thu, 25 Jul 1996 02:58:14 +0000 (02:58 +0000)]
* acquire_cred.c (krb5_gss_acquire_cred): Initialize variable
before use if GSS_C_NULL_OID_SET.

This was causing random failures in gssftp. I was unlucky enough to hit
that random case where one of the random stack values was zero.

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

28 years agoutil_token.c (g_verify_token_header): Changed return code to be an
Theodore Tso [Thu, 25 Jul 1996 00:40:43 +0000 (00:40 +0000)]
util_token.c (g_verify_token_header): Changed return code to be an
unsigned int 32, since we return a com_err error code.

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

28 years agoser_sctx.c (kg_oid_externalize): Add proper return code
Theodore Tso [Thu, 25 Jul 1996 00:40:06 +0000 (00:40 +0000)]
ser_sctx.c (kg_oid_externalize): Add proper return code

accept_sec_context.c (krb5_gss_accept_sec_context):
init_sec_context.c (krb5_gss_init_sec_context): Test (gss_flags &
XXXX) against 0 so that we pass a int value to g_order_init.  Needed
since int is 16 bits for Win16 build.

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

28 years agoRemove INTERFACE keyworded; not needed (and causes problems) since
Theodore Tso [Wed, 24 Jul 1996 22:50:22 +0000 (22:50 +0000)]
Remove INTERFACE keyworded; not needed (and causes problems) since
we're not exporting this function to the DLL.

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

28 years ago * ovsec_kadmd.c (main): Put the #ifdef SO_REUSEADDR at the
Tom Yu [Wed, 24 Jul 1996 22:36:49 +0000 (22:36 +0000)]
* ovsec_kadmd.c (main): Put the #ifdef SO_REUSEADDR at the
beginning of the line to avoid cpp breakage.

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

28 years agoOnly include <sys/file.h> if building with BSD_DB
Theodore Tso [Wed, 24 Jul 1996 22:35:06 +0000 (22:35 +0000)]
Only include <sys/file.h> if building with BSD_DB

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

28 years ago * Makefile.in, configure.in: break out server lib into a
Tom Yu [Wed, 24 Jul 1996 22:23:37 +0000 (22:23 +0000)]
* Makefile.in, configure.in: break out server lib into a
subdirectory

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

28 years ago * Makefile.in, configure.in: break out client lib into a
Tom Yu [Wed, 24 Jul 1996 22:22:49 +0000 (22:22 +0000)]
* Makefile.in, configure.in: break out client lib into a
subdirectory

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

28 years ago * Makefile.in, configure.in: fix shared lib lossage by
Tom Yu [Wed, 24 Jul 1996 22:20:03 +0000 (22:20 +0000)]
* Makefile.in, configure.in: fix shared lib lossage by
rearrangement of subdirectories

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

28 years agoUse the error code KRB5_KT_NAME_TOOLONG instead of ENAMETOOLONG, which
Theodore Tso [Wed, 24 Jul 1996 22:03:31 +0000 (22:03 +0000)]
Use the error code KRB5_KT_NAME_TOOLONG instead of ENAMETOOLONG, which
isn't portable.

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

28 years agoChange type of first argument to be krb5_preauthtype, to eliminate
Theodore Tso [Wed, 24 Jul 1996 22:02:52 +0000 (22:02 +0000)]
Change type of first argument to be krb5_preauthtype, to eliminate
compiler warnings under Windows.

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

28 years agoAdded new error code KRB5_KT_NAME_TOOLONG
Theodore Tso [Wed, 24 Jul 1996 22:01:30 +0000 (22:01 +0000)]
Added new error code KRB5_KT_NAME_TOOLONG

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

28 years agoRemoving last remnants of berk_db
Theodore Tso [Wed, 24 Jul 1996 21:54:19 +0000 (21:54 +0000)]
Removing last remnants of berk_db

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

28 years agoRemoving berk_db, since it is now replaced by db2
Theodore Tso [Wed, 24 Jul 1996 21:53:04 +0000 (21:53 +0000)]
Removing berk_db, since it is now replaced by db2

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

28 years agoUse memset instead of bzero
Ezra Peisach [Wed, 24 Jul 1996 18:33:24 +0000 (18:33 +0000)]
Use memset instead of bzero

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

28 years agoUse $(LD) instead of $(CC) for linking... This allows for use of purify
Ezra Peisach [Wed, 24 Jul 1996 18:29:04 +0000 (18:29 +0000)]
Use $(LD) instead of $(CC) for linking... This allows for use of purify

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

28 years ago * Makefile.in (all): Use $(LD) instead of $(CC) for link stage
Ezra Peisach [Wed, 24 Jul 1996 18:23:02 +0000 (18:23 +0000)]
* Makefile.in (all): Use $(LD) instead of $(CC) for link stage

* dump.c (dump_db): Zero out kadm5_principal_ent_rec structure
before passing to rpc code.

* kadmin.c (kadmin_addprinc, kadmin_getprinc, kadmin_modprinc):
   Zero out structures before passing to rpc code.

This is because uninitialized longs in the structures cause xdr_long to
fail if the higher 32/64 bits are set on the Alpha.

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

28 years ago * Makefile.in (DEPLIBS): Use correct version number for
Ezra Peisach [Wed, 24 Jul 1996 11:59:51 +0000 (11:59 +0000)]
* Makefile.in (DEPLIBS): Use correct version number for
gssapi_krb5 dependency.

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

28 years agoRemoved kadmin.exp, since it's for the old admin server
Theodore Tso [Wed, 24 Jul 1996 03:40:27 +0000 (03:40 +0000)]
Removed kadmin.exp, since it's for the old admin server

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

28 years ago * ftpd.c (auth_data): the logic which dealt with multiple acceptor
Marc Horowitz [Wed, 24 Jul 1996 03:15:05 +0000 (03:15 +0000)]
* ftpd.c (auth_data): the logic which dealt with multiple acceptor
  names and fallback was just broken.

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

28 years agoRemove mechglue from the list of Macintosh subdirectories
Theodore Tso [Wed, 24 Jul 1996 02:50:58 +0000 (02:50 +0000)]
Remove mechglue from the list of Macintosh subdirectories

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

28 years agoMust include k5-int.h on Windows and Macintosh builds
Theodore Tso [Wed, 24 Jul 1996 02:49:52 +0000 (02:49 +0000)]
Must include k5-int.h on Windows and Macintosh builds

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

28 years agoFix broken Windows commands to copy gssapi_krb5.h to include/gssapi
Theodore Tso [Wed, 24 Jul 1996 02:49:27 +0000 (02:49 +0000)]
Fix broken Windows commands to copy gssapi_krb5.h to include/gssapi

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

28 years agoMust include k5-int.h on Windows and Macintosh builds
Theodore Tso [Wed, 24 Jul 1996 02:36:49 +0000 (02:36 +0000)]
Must include k5-int.h on Windows and Macintosh builds

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

28 years agoMakefile.in: Build logger.o from the libkadm5 directory. This
Theodore Tso [Wed, 24 Jul 1996 02:28:52 +0000 (02:28 +0000)]
Makefile.in: Build logger.o from the libkadm5 directory.  This
is prepatory work towards eliminating the dependency on
libkadm5.  Ultimately we will probably need to rethink how
the library structure for krb5....

configure.in: Add -lgssapi and -lgssrpc to libraries linked with
krb5kdc since they are needed for shared libraries.  This
is a horrible hack....

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

28 years agoIgnore db-config.h.in which is generated by autoheader
Ezra Peisach [Tue, 23 Jul 1996 21:25:28 +0000 (21:25 +0000)]
Ignore db-config.h.in which is generated by autoheader

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

28 years agoobj/dbm.c: Copy the elements between the struct DBT and
Ezra Peisach [Tue, 23 Jul 1996 21:24:50 +0000 (21:24 +0000)]
obj/dbm.c: Copy the elements between the struct DBT and
datum. Otherwise on an Alpha where the size fields are different sizes,
casting loses with random stack garbage.

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

28 years ago * Makefile.in: add dependency for kdb5_util_ct.o
Tom Yu [Tue, 23 Jul 1996 21:06:38 +0000 (21:06 +0000)]
* Makefile.in: add dependency for kdb5_util_ct.o

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

28 years ago * Makefile.in: add dependency for kadmin_ct.o
Tom Yu [Tue, 23 Jul 1996 21:02:44 +0000 (21:02 +0000)]
* Makefile.in: add dependency for kadmin_ct.o

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

28 years ago * Makefile.in: delete extraneous trailing backslash from GENSRCS
Tom Yu [Tue, 23 Jul 1996 20:52:45 +0000 (20:52 +0000)]
* Makefile.in: delete extraneous trailing backslash from GENSRCS
and GENOBJS

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

28 years agoRenamed release_buffer.c to rel_buffer.c, and release_oid_set.c to
Theodore Tso [Tue, 23 Jul 1996 20:51:04 +0000 (20:51 +0000)]
Renamed release_buffer.c to rel_buffer.c, and release_oid_set.c to
rel_oid_set.c.  Marc broke the DOS 8.3 renaming which Gilmore had done
to conform with DOS's filesystem constraints

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

28 years ago * xdr.c: Do not declare malloc()
Ezra Peisach [Tue, 23 Jul 1996 15:26:11 +0000 (15:26 +0000)]
* xdr.c: Do not declare malloc()

* Makefile.in (SHLIB_LIBS): Link with gssapi_krb5 when creating
shared library.

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

28 years ago * Makefile.in: libkdb5.so needs to be built with
Ezra Peisach [Tue, 23 Jul 1996 15:11:46 +0000 (15:11 +0000)]
* Makefile.in: libkdb5.so needs to be built with
libcrypto and libkrb5.

* configure.in: Pass version numbers of teh crypto and krb5 shared
libraries.

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

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