krb5.git
28 years agoAdd for compiling with shared libraries
Ezra Peisach [Thu, 31 Oct 1996 17:55:51 +0000 (17:55 +0000)]
Add for compiling with shared libraries

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

28 years agoAdd an option "SHARED" which runs configure with option --enable-shared
Ezra Peisach [Thu, 31 Oct 1996 17:52:14 +0000 (17:52 +0000)]
Add an option "SHARED" which runs configure with option --enable-shared

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

28 years agoAdd "uname" for use by config.guess
Ezra Peisach [Thu, 31 Oct 1996 17:50:40 +0000 (17:50 +0000)]
Add "uname" for use by config.guess

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

28 years ago * main.c (main): Add -T keyfile and -D debug_level
Ezra Peisach [Thu, 31 Oct 1996 16:30:40 +0000 (16:30 +0000)]
* main.c (main): Add -T keyfile and -D debug_level
options. [krb5-admin/42]

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

28 years ago * Makefile.in (t_kdb): Link with $(TOPLIBD)/libdb.a
Ezra Peisach [Thu, 31 Oct 1996 16:11:29 +0000 (16:11 +0000)]
* Makefile.in (t_kdb): Link with $(TOPLIBD)/libdb.a

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

28 years agoFor libdb.a - use a relative path $(TOPLIBD)/libdb.a instead of -ldb
Ezra Peisach [Thu, 31 Oct 1996 16:00:06 +0000 (16:00 +0000)]
For libdb.a - use a relative path $(TOPLIBD)/libdb.a instead of -ldb
to prevent getting the system installed libdb.so on the Alpha.

(Under DU 4.0 ld will scan the library search path - including -L paths
for .so files, failing to find any will then look for the .a one.
I think this is broken as you should take the first .so or .a file found)

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

28 years agoFix typo in last
Ezra Peisach [Thu, 31 Oct 1996 14:04:03 +0000 (14:04 +0000)]
Fix typo in last

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

28 years ago * Makefile.in: Only run tests if required programs, libraries
Ezra Peisach [Thu, 31 Oct 1996 13:50:41 +0000 (13:50 +0000)]
* Makefile.in: Only run tests if required programs, libraries
available.

* configure.in: Check for runtest, Perl, and tcl before making checks.

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

28 years ago * Makefile.in (check): Only run tests is Perl, tcl, runtest
Ezra Peisach [Thu, 31 Oct 1996 13:45:25 +0000 (13:45 +0000)]
* Makefile.in (check): Only run tests is Perl, tcl, runtest

* configure.in: Check for Perl before running tests.

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

28 years agoImplement Autoconf style directory handling option support.
Sam Hartman [Thu, 31 Oct 1996 05:17:49 +0000 (05:17 +0000)]
Implement Autoconf style directory handling option support.
[37]

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

28 years agonuke leftover conflict marker
Mark Eichin [Thu, 31 Oct 1996 01:03:53 +0000 (01:03 +0000)]
nuke leftover conflict marker

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

28 years ago * kadmin.M: update ktadd's description [krb5-doc/137]
Barry Jaspan [Wed, 30 Oct 1996 22:35:57 +0000 (22:35 +0000)]
* kadmin.M: update ktadd's description [krb5-doc/137]

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

28 years ago * xdr_stdio.c: Remove the #ifndef mc68000 cruft. I'm not sure
Barry Jaspan [Wed, 30 Oct 1996 18:22:13 +0000 (18:22 +0000)]
* xdr_stdio.c: Remove the #ifndef mc68000 cruft.  I'm not sure
  what it was supposed to accomplish, but in both places it appeared
  it was unquestionably wrong.  I suspect that the ifdef was put in
  originally to optimize byte-alignment code that wasn't necessary
  on the 68000.  Who knows?  Someone will complain if this isn't
  right. [krb5-libs/47]

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

28 years agoinclude some more detail on the kadmin/admin and kadmin/changepw
Barry Jaspan [Wed, 30 Oct 1996 18:12:37 +0000 (18:12 +0000)]
include some more detail on the kadmin/admin and kadmin/changepw
distinction [krb5-doc/130]

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

28 years agoNew SAP resource files for doing timebombed GSSAPI libraries for the benefit
Theodore Tso [Wed, 30 Oct 1996 03:50:04 +0000 (03:50 +0000)]
New SAP resource files for doing timebombed GSSAPI libraries for the benefit
of SAP clients.

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

28 years agoAdded support for building 68K CFM shared libraries
Theodore Tso [Wed, 30 Oct 1996 03:49:29 +0000 (03:49 +0000)]
Added support for building 68K CFM shared libraries

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

28 years agoMake the defaults be to *not* to get Kerberos V4 tickets. There are
Theodore Tso [Wed, 30 Oct 1996 03:46:57 +0000 (03:46 +0000)]
Make the defaults be to *not* to get Kerberos V4 tickets.  There are
currently bad interactions between defaulting and the default Kerberos
V4 realm (which is still hard-coded to be ATHENA.MIT.EDU).

Also added some miscelanneous code cleanups.

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

28 years agoUse $(S) instead of / for productions which could be used on both DOS
Theodore Tso [Tue, 29 Oct 1996 23:20:44 +0000 (23:20 +0000)]
Use $(S) instead of / for productions which could be used on both DOS
and Unix systems.

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

28 years ago * makeshlib.sh: Allow stuffing of SONAME field in shared lib if
Tom Yu [Tue, 29 Oct 1996 20:40:31 +0000 (20:40 +0000)]
* makeshlib.sh: Allow stuffing of SONAME field in shared lib if
gcc is being used; this requires newer (2.7.0?) gcc and possibly
binutils (2.6?)

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

28 years ago * auth_gssapi.c (auth_gssapi_create): #ifdef GSSAPI_KRB5, a null
Barry Jaspan [Tue, 29 Oct 1996 18:06:11 +0000 (18:06 +0000)]
* auth_gssapi.c (auth_gssapi_create): #ifdef GSSAPI_KRB5, a null
  mech_type implies gss_mech_krb5, so include that in the version 3
  fallback test.  This change, along with the other changes for rpc
  version 4, complete the fix for [krb5-libs/106].

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

28 years ago * init_db: put KRB5_RUN_ENV_CSH in setup.csh
Barry Jaspan [Tue, 29 Oct 1996 17:22:29 +0000 (17:22 +0000)]
* init_db: put KRB5_RUN_ENV_CSH in setup.csh

* env-setup.shin: create KRB5_RUN_ENV_CSH for init_db

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

28 years agoFix typo; service_name really should be nt_service_name
Theodore Tso [Tue, 29 Oct 1996 15:18:02 +0000 (15:18 +0000)]
Fix typo; service_name really should be nt_service_name

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

28 years ago * configure.in: Add USE_GSSAPI_LIBRARY
Ezra Peisach [Mon, 28 Oct 1996 03:06:56 +0000 (03:06 +0000)]
* configure.in: Add USE_GSSAPI_LIBRARY

* Makefile.in (LOCAL_LIBRARIES): Remove as -lgssapi_rpc should
come from configure.

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

28 years ago * configure.in, Makefile.in: Tweaks to prevent unecessary
Tom Yu [Sat, 26 Oct 1996 03:48:24 +0000 (03:48 +0000)]
* configure.in, Makefile.in: Tweaks to prevent unecessary
rebuilding.

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

28 years ago * Makefile.in (init-test): Add -UUSE_KADM5_API_VERSION before the
Ezra Peisach [Fri, 25 Oct 1996 21:00:00 +0000 (21:00 +0000)]
* Makefile.in (init-test): Add -UUSE_KADM5_API_VERSION before the
-D of same.

OSF 4.0 cpp was screwing up and keeping only the first definition on the
compile line.

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

28 years ago * Makefile.in, rpc_test_clnt.c, rpc_test_svc.c, rpc_test.h:
Barry Jaspan [Thu, 24 Oct 1996 21:21:26 +0000 (21:21 +0000)]
* Makefile.in, rpc_test_clnt.c, rpc_test_svc.c, rpc_test.h:
  distribute generated rpc_test_* files instead of running rpcgen on
  rpc_text.x [krb5-admin/133]

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

28 years ago * api.2/get-principal-v2.exp: Fix for test 100 where {} is not
Ezra Peisach [Wed, 23 Oct 1996 17:35:44 +0000 (17:35 +0000)]
* api.2/get-principal-v2.exp: Fix for test 100 where {} is not
equivalent to "{}" for empty tl_data field.

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

28 years agoChange #ifdef sparc to #ifdef sun for more portability.
Theodore Tso [Wed, 23 Oct 1996 00:18:35 +0000 (00:18 +0000)]
Change #ifdef sparc to #ifdef sun for more portability.
[PR#123]

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

28 years ago * kpropd.c (PRS): munge realm of sname_to_princ when -r is
Barry Jaspan [Tue, 22 Oct 1996 20:52:48 +0000 (20:52 +0000)]
* kpropd.c (PRS): munge realm of sname_to_princ when -r is
  specified [krb5-admin/39]

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

28 years ago * ftpd.c (auth_data): actually exit the for loop if the ftp key
Mark Eichin [Tue, 22 Oct 1996 07:11:17 +0000 (07:11 +0000)]
* ftpd.c (auth_data): actually exit the for loop if the ftp key
was ok.

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

28 years ago * Makefile.in: Fixes for new subdir recursion method
Tom Yu [Tue, 22 Oct 1996 01:26:29 +0000 (01:26 +0000)]
* Makefile.in: Fixes for new subdir recursion method

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

28 years ago * Makefile.in, configure.in: Fixes to work with new directory
Tom Yu [Tue, 22 Oct 1996 01:26:16 +0000 (01:26 +0000)]
* Makefile.in, configure.in: Fixes to work with new directory
  recursion method.

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

28 years ago * Makefile.in: Fixes for new directory recursion method; also
Tom Yu [Tue, 22 Oct 1996 01:26:02 +0000 (01:26 +0000)]
* Makefile.in: Fixes for new directory recursion method; also
fixes for inclusion sequencing.

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

28 years ago * pre.in: Substitute for *_RECURSE variables
Tom Yu [Tue, 22 Oct 1996 01:25:44 +0000 (01:25 +0000)]
* pre.in: Substitute for *_RECURSE variables

* post.in: Add *-recurse targets for new recursion method.

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

28 years ago * aclocal.m4: Fix CopySrcHeader and CopyHeader so they actually
Tom Yu [Tue, 22 Oct 1996 01:25:25 +0000 (01:25 +0000)]
* aclocal.m4: Fix CopySrcHeader and CopyHeader so they actually
generate dependencies for the files they're copying to.  Also, fix
up DO_SUBDIRS to work with new recursion methods.

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

28 years agogss-server.c: Re-added code to test import and export security
Theodore Tso [Tue, 22 Oct 1996 00:07:59 +0000 (00:07 +0000)]
gss-server.c: Re-added code to test import and export security
context.  Yes, yes, I know this isn't the best place to have this
test, but DO NOT REMOVE THIS TEST UNTIL WE HAVE IT CODED ELSEWHERE.
Better slightly ugly sample server code than untested (and broken)
library code....  Add code to print out the mechanism OID used by
accept_sec_context.

gss-client.c: Add code to allow user to specify the mechanism
OID that gss-client should use.

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

28 years agoaddendum to previous entry
Barry Jaspan [Mon, 21 Oct 1996 21:25:20 +0000 (21:25 +0000)]
addendum to previous entry

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

28 years ago * v4server.1/access.exp: start kadmin by cd'ing to the directory
Barry Jaspan [Mon, 21 Oct 1996 21:24:56 +0000 (21:24 +0000)]
* v4server.1/access.exp: start kadmin by cd'ing to the directory
  first, so ps can find the process

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

28 years ago * v4server.0/setup-srvtab.exp: use KRB5_KTNAME instead of
Barry Jaspan [Mon, 21 Oct 1996 21:24:39 +0000 (21:24 +0000)]
* v4server.0/setup-srvtab.exp: use KRB5_KTNAME instead of
  ovsec_adm.srvtab explicitly

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

28 years ago * lib/helpers.exp: don't specify -k ovsec_adm.srvtab on the
Barry Jaspan [Mon, 21 Oct 1996 21:23:37 +0000 (21:23 +0000)]
* lib/helpers.exp: don't specify -k ovsec_adm.srvtab on the
  command line, since kadmind4 now uses the config param value
  [krb5-admin/30]

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

28 years ago * unix.exp: specify kadmind's path and name separately, to make it
Barry Jaspan [Mon, 21 Oct 1996 21:23:06 +0000 (21:23 +0000)]
* unix.exp: specify kadmind's path and name separately, to make it
  easy to cd to the path before exec'ing

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

28 years ago * lib/helpers.exp: don't specify -k ovsec_adm.srvtab on the
Barry Jaspan [Mon, 21 Oct 1996 21:22:43 +0000 (21:22 +0000)]
* lib/helpers.exp: don't specify -k ovsec_adm.srvtab on the
  command line, since kadmind4 now uses the config param value
  [krb5-admin/30]

* v4server.1/access.exp: start kadmin by cd'ing to the directory
  first, so ps can find the process

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

28 years agoadd new modify_principal tests [krb5-admin/20]
Barry Jaspan [Mon, 21 Oct 1996 20:34:30 +0000 (20:34 +0000)]
add new modify_principal tests [krb5-admin/20]

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

28 years ago * tcl_kadm5.c: add unparse ability for V2 principal fields
Barry Jaspan [Mon, 21 Oct 1996 20:32:05 +0000 (20:32 +0000)]
* tcl_kadm5.c: add unparse ability for V2 principal fields
  [krb5-admin/20]

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

28 years ago * svr_principal.c (kadm5_modify_principal): fix modify_principal's
Barry Jaspan [Mon, 21 Oct 1996 20:30:38 +0000 (20:30 +0000)]
* svr_principal.c (kadm5_modify_principal): fix modify_principal's
  handling of KADM5_TL_DATA [krb5-admin/20]

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

28 years ago * server_internal.h (ALL_PRINC_MASK): add KADM5_TL_DATA and
Barry Jaspan [Mon, 21 Oct 1996 20:29:58 +0000 (20:29 +0000)]
* server_internal.h (ALL_PRINC_MASK): add KADM5_TL_DATA and
  KADM5_KEY_DATA to ALL_PRINC_MASK [krb5-admin/20]

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

28 years ago * api.2/mod-principal-v2.exp: create this file, implement tests
Barry Jaspan [Mon, 21 Oct 1996 20:28:29 +0000 (20:28 +0000)]
* api.2/mod-principal-v2.exp: create this file, implement tests
  100-104 [krb5-admin/20]

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

28 years agoFixed typo so that the remaining length field is set correctly
Theodore Tso [Mon, 21 Oct 1996 20:17:11 +0000 (20:17 +0000)]
Fixed typo so that the remaining length field is set correctly

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

28 years ago * kcmd.c: don't retry (and waste 7 seconds) on ECONNREFUSED, just
Barry Jaspan [Mon, 21 Oct 1996 17:46:58 +0000 (17:46 +0000)]
* kcmd.c: don't retry (and waste 7 seconds) on ECONNREFUSED, just
  fail immediately [krb5-appl/120]

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

28 years agoAdded magic number to initializer of nolrentry
Theodore Tso [Sat, 19 Oct 1996 05:13:55 +0000 (05:13 +0000)]
Added magic number to initializer of nolrentry

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

28 years agoNew magic number for the GSSAPI QUEUE structure
Theodore Tso [Sat, 19 Oct 1996 05:07:23 +0000 (05:07 +0000)]
New magic number for the GSSAPI QUEUE structure

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

28 years agoutil_ordering.c (g_queue_externalize, g_queue_internalize, g_queue_size):
Theodore Tso [Sat, 19 Oct 1996 05:06:44 +0000 (05:06 +0000)]
util_ordering.c (g_queue_externalize, g_queue_internalize, g_queue_size):
New routines which allow the serailizing routines to access
the seqstate structure.

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

28 years agoser_sctx.c (kg_oid_externalize, kg_oid_internalize,
Theodore Tso [Sat, 19 Oct 1996 05:05:24 +0000 (05:05 +0000)]
ser_sctx.c (kg_oid_externalize, kg_oid_internalize,
kg_oid_size): Add a GSSAPI OID magic number to the externalized OID,
so that if the OID is skipped, (it is optional), the serialization
code can resyncronize if necessary.
(kg_queue_internalize, kg_queue_externalize, kg_queue_size): New functions
to externalize the gssapi queue.
(kg_ctx_size, kg_ctx_exteranlize, kg_ctx_import): Changed to include
the mech_used field and to include the auth context.

gssapi_krb5.c (kg_get_context): Add calls to correctly initialize the
 serializers needed by import and export sec context.

delete_sec_context.c (krb5_gss_delete_sec_context): Remember to release the
mech_used OID if necessary!

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

28 years agoAdd magic code for GSS OID, which is needed for the serialization
Theodore Tso [Fri, 18 Oct 1996 21:51:01 +0000 (21:51 +0000)]
Add magic code for GSS OID, which is needed for the serialization
routines.

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

28 years ago * krsh.c, krlogin.c: don't print our own error message if kcmd
Barry Jaspan [Fri, 18 Oct 1996 21:31:17 +0000 (21:31 +0000)]
* krsh.c, krlogin.c: don't print our own error message if kcmd
  returns -1 (it always printed something in that case, and
  error_message(-1) prints a mess [krb5-appl/70]

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

28 years ago * kadmin.c (kadmin_addprinc): use a studly temporary password when
Barry Jaspan [Fri, 18 Oct 1996 20:20:32 +0000 (20:20 +0000)]
* kadmin.c (kadmin_addprinc): use a studly temporary password when
  creating a principal with a random key (no, the security of this
  operation does not depend on the secrecy of the password)
  [krb5-admin/115]

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

28 years ago * Makefile.in (env-setup.stamp): Add dependency upon Makefile
Ezra Peisach [Fri, 18 Oct 1996 20:17:55 +0000 (20:17 +0000)]
* Makefile.in (env-setup.stamp): Add dependency upon Makefile

This is so that if Makefile.in is updated, configure will create a new
env-setup.sh - which will not be executable.

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

28 years ago * dump.c (dump_k5beta6_iterator): don't dump tl types that are
Barry Jaspan [Fri, 18 Oct 1996 20:11:03 +0000 (20:11 +0000)]
* dump.c (dump_k5beta6_iterator): don't dump tl types that are
  special to us and the previous version did not understand
  [krb5-admin/89]

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

28 years ago * svr_misc_free.c, server_dict.c, adb_policy.c, adb_free.c:
Barry Jaspan [Fri, 18 Oct 1996 19:45:53 +0000 (19:45 +0000)]
* svr_misc_free.c, server_dict.c, adb_policy.c, adb_free.c:
  include stdlib.h instead of malloc.h [krb5-admin/35]

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

28 years ago * kadm_rpc_xdr.c, misc_free.c, server_internal.h: include stdlib.h
Barry Jaspan [Fri, 18 Oct 1996 19:45:41 +0000 (19:45 +0000)]
* kadm_rpc_xdr.c, misc_free.c, server_internal.h: include stdlib.h
  instead of malloc.h [krb5-admin/35]

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

28 years agomake osa_adb_rename_T_db parallel to krb5_kdb_rename_db: destination
Barry Jaspan [Fri, 18 Oct 1996 18:26:18 +0000 (18:26 +0000)]
make osa_adb_rename_T_db parallel to krb5_kdb_rename_db: destination
db is created if it does not already exists [krb5-admin/58]

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

28 years ago * dump.c (load_db): osa_adb_rename_policy_db will create the db,
Barry Jaspan [Fri, 18 Oct 1996 18:25:34 +0000 (18:25 +0000)]
* dump.c (load_db): osa_adb_rename_policy_db will create the db,
  so this function doesn't have to [krb5-admin/58]

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

28 years ago * adb_openclose.c (osa_adb_rename_db): create the destination
Barry Jaspan [Fri, 18 Oct 1996 18:25:04 +0000 (18:25 +0000)]
* adb_openclose.c (osa_adb_rename_db): create the destination
  database if necessary before renaming [krb5-admin/58]

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

28 years agoupdate rename comment to agree with code and previous comment in
Barry Jaspan [Fri, 18 Oct 1996 17:56:26 +0000 (17:56 +0000)]
update rename comment to agree with code and previous comment in
ChangeLog: rename will create the database if it does not already
exist, but not fail if it does already exist

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

28 years ago * getdate.y: remove military timezones and plain integeres as part
Barry Jaspan [Fri, 18 Oct 1996 17:48:04 +0000 (17:48 +0000)]
* getdate.y: remove military timezones and plain integeres as part
  of date specifications, to reduce confusion by redundancy
  [krb5-admin/15]

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

28 years ago * install.texinfo (Create a kadmind Keytab): use kadmin.local
Barry Jaspan [Fri, 18 Oct 1996 17:44:25 +0000 (17:44 +0000)]
* install.texinfo (Create a kadmind Keytab): use kadmin.local
  instead of kadmin to perform pre-kadmind setup [krb5-admin/28]

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

28 years agoadd init test 117, for default max_life [krb5-admin/18]
Barry Jaspan [Fri, 18 Oct 1996 17:25:03 +0000 (17:25 +0000)]
add init test 117, for default max_life [krb5-admin/18]

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

28 years ago * tcl_kadm5.c (unparse_principal_ent): don't unparse allocated
Barry Jaspan [Fri, 18 Oct 1996 17:24:33 +0000 (17:24 +0000)]
* tcl_kadm5.c (unparse_principal_ent): don't unparse allocated
  fields that were not requested in mask to get_principal

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

28 years agomake start/stop message display only when verbose
Barry Jaspan [Fri, 18 Oct 1996 17:23:23 +0000 (17:23 +0000)]
make start/stop message display only when verbose

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

28 years agocomment out useless messages
Barry Jaspan [Fri, 18 Oct 1996 17:23:02 +0000 (17:23 +0000)]
comment out useless messages

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

28 years ago * api.2/init-v2.exp: add test 117, for default max_life
Barry Jaspan [Fri, 18 Oct 1996 17:22:18 +0000 (17:22 +0000)]
* api.2/init-v2.exp: add test 117, for default max_life
  [krb5-admin/18]

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

28 years ago * pre.in (DEJAFLAGS): s/:=/=/ [PR #117]
Barry Jaspan [Fri, 18 Oct 1996 15:03:55 +0000 (15:03 +0000)]
* pre.in (DEJAFLAGS): s/:=/=/ [PR #117]

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

28 years agoqualname.plin: Downcase FQDN for keytab use. [krb5-libs/116]
Ezra Peisach [Thu, 17 Oct 1996 22:31:41 +0000 (22:31 +0000)]
qualname.plin: Downcase FQDN for keytab use. [krb5-libs/116]

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

28 years agoWork around a compiler bug on the Alpha.
Ezra Peisach [Thu, 17 Oct 1996 22:26:49 +0000 (22:26 +0000)]
Work around a compiler bug on the Alpha.
The testing of two longs being equal would sometimes fail.

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

28 years ago[krb5-admin/87] new pw_expiration semantics for create_principal and
Barry Jaspan [Thu, 17 Oct 1996 20:27:14 +0000 (20:27 +0000)]
[krb5-admin/87] new pw_expiration semantics for create_principal and
modify_principal

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

28 years agocreate README.new-tests
Barry Jaspan [Thu, 17 Oct 1996 20:24:14 +0000 (20:24 +0000)]
create README.new-tests

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

28 years ago * svr_principal.c: update for new pw_expiration semantics
Barry Jaspan [Thu, 17 Oct 1996 20:23:53 +0000 (20:23 +0000)]
* svr_principal.c: update for new pw_expiration semantics
  [krb5-admin/87]

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

28 years ago * config/unix.exp, lib/lib.t: begin in process of making these
Barry Jaspan [Thu, 17 Oct 1996 20:21:19 +0000 (20:21 +0000)]
* config/unix.exp, lib/lib.t: begin in process of making these
  unit tests less horribly inefficient

* api.[02]/crte-principal.exp, api.[02].mod-principal: update unit
  tests for new pw_expiration semantics [krb5-admin/87]

* Makefile.in: ditch the capi and sapi hack, just the api for
  everything, and rename the log files after the tests complete so
  they are both kept around for viewing [krb5-admin/82]

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

28 years ago*** empty log message ***
Marc Horowitz [Wed, 16 Oct 1996 21:56:42 +0000 (21:56 +0000)]
*** empty log message ***

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

28 years ago * accept_sec_context.c (krb5_gss_accept_sec_context): return an
Marc Horowitz [Wed, 16 Oct 1996 21:54:45 +0000 (21:54 +0000)]
* accept_sec_context.c (krb5_gss_accept_sec_context): return an
  error if the ticket endtime is in the past.  also, cleaned up
  some error cleanup code.

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

28 years agoFixed e-mail address of krb5-bugs
Theodore Tso [Wed, 16 Oct 1996 21:07:47 +0000 (21:07 +0000)]
Fixed e-mail address of krb5-bugs

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

28 years ago* svc_auth_gssapi.c (_svcauth_gssapi): accept add call_arg version 4
Barry Jaspan [Wed, 16 Oct 1996 20:16:10 +0000 (20:16 +0000)]
* svc_auth_gssapi.c (_svcauth_gssapi): accept add call_arg version 4

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

28 years ago * rpc_test.0/expire.exp: add test for expired credentials
Barry Jaspan [Wed, 16 Oct 1996 20:15:39 +0000 (20:15 +0000)]
* rpc_test.0/expire.exp: add test for expired credentials
[krb5-admin/17]

* server.c (log_miscerr): add log_miscerr

* Makefile.in: don't delete rpc_test.x, we might be in souce tree

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

28 years ago * kdc.conf: remove the (wrong) kadmind_port relation
Barry Jaspan [Wed, 16 Oct 1996 19:40:53 +0000 (19:40 +0000)]
* kdc.conf: remove the (wrong) kadmind_port relation

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

28 years agocopied from OV, added init_arg version 4
Barry Jaspan [Wed, 16 Oct 1996 15:34:07 +0000 (15:34 +0000)]
copied from OV, added init_arg version 4

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

28 years ago * env-setup.shin (TOPLIBD): Support for build tree shared library
Ezra Peisach [Wed, 16 Oct 1996 01:46:54 +0000 (01:46 +0000)]
* env-setup.shin (TOPLIBD): Support for build tree shared library
environment setup. [krb5-admin/80]

* configure.in (RBUILD): Pass in proper top of build tree (not
.. path) as this is build tree independent.

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

28 years ago * logger.c (krb5_klog_init): remember to call openlog() when
Barry Jaspan [Tue, 15 Oct 1996 22:04:12 +0000 (22:04 +0000)]
* logger.c (krb5_klog_init): remember to call openlog() when
  defaulting to syslog because nothing else was specified
(klog_vsyslog): enable VERBOSE_LOGS so we get the process name and
  pid [krb5-kdc/63]

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

28 years agoadd extra notes to ChangeLog
Barry Jaspan [Tue, 15 Oct 1996 21:07:07 +0000 (21:07 +0000)]
add extra notes to ChangeLog

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

28 years ago * configure.in: add DO_SUBDIRS so make will descend into unit-test
Barry Jaspan [Tue, 15 Oct 1996 21:05:10 +0000 (21:05 +0000)]
* configure.in: add DO_SUBDIRS so make will descend into unit-test

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

28 years ago * pre.in: add TEST_PATH argument to START_SERVERS and STOP_SERVERS
Barry Jaspan [Tue, 15 Oct 1996 20:29:26 +0000 (20:29 +0000)]
* pre.in: add TEST_PATH argument to START_SERVERS and STOP_SERVERS

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

28 years ago * krb5.conf.proto: s/localhost/__LOCALHOST__/
Barry Jaspan [Tue, 15 Oct 1996 20:25:23 +0000 (20:25 +0000)]
* krb5.conf.proto: s/localhost/__LOCALHOST__/

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

28 years ago * env-setup.shin: set $QUALNAME to the right path
Barry Jaspan [Tue, 15 Oct 1996 20:25:08 +0000 (20:25 +0000)]
* env-setup.shin: set $QUALNAME to the right path

* start_servers, init_db: use qualname of local host, not
  localhost, in krb5.conf

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

28 years agounit-test/testsuite merged up into unit-test, like all the other
Barry Jaspan [Tue, 15 Oct 1996 20:19:34 +0000 (20:19 +0000)]
unit-test/testsuite merged up into unit-test, like all the other
unit-test directories

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

28 years ago * initial changes to make rpc unit tests work with new build/test
Barry Jaspan [Tue, 15 Oct 1996 20:15:19 +0000 (20:15 +0000)]
* initial changes to make rpc unit tests work with new build/test
  system

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

28 years agoFixed the spelling of my name :)
Richard Basch [Tue, 15 Oct 1996 13:55:15 +0000 (13:55 +0000)]
Fixed the spelling of my name :)

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

28 years ago * Makefile.in: Added standard rules for .plin -> .pl
Ezra Peisach [Tue, 15 Oct 1996 10:43:25 +0000 (10:43 +0000)]
* Makefile.in: Added standard rules for .plin -> .pl

* *.plin: Renamed from *.pl.in

All files copied in source tree to preserve history - cvs update will
create properly.

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

28 years agoTest nlist and ls commands. The nlist command was failing on the Alpha's
Ezra Peisach [Mon, 14 Oct 1996 12:07:03 +0000 (12:07 +0000)]
Test nlist and ls commands. The nlist command was failing on the Alpha's
for lack of STDARG usage. [krb5-appl/108]

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

28 years ago * ftpd.c (secure_fprintf): Use STDARG routines if
Ezra Peisach [Mon, 14 Oct 1996 12:00:58 +0000 (12:00 +0000)]
* ftpd.c (secure_fprintf): Use STDARG routines if
present. [krb5-appl/108]

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

28 years ago * Makefile.in: Only try to run tests if both runtest and the tcl
Ezra Peisach [Mon, 14 Oct 1996 11:05:52 +0000 (11:05 +0000)]
* Makefile.in: Only try to run tests if both runtest and the tcl
libraries present.

* configure.in: Check for runtest and Tcl.

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

28 years agoMakefile.in, configure.in: Only build programs if Tcl is present
Ezra Peisach [Mon, 14 Oct 1996 11:03:15 +0000 (11:03 +0000)]
Makefile.in, configure.in: Only build programs if Tcl is present

No more /mit/gnu/include /mit/gnu/lib assumptions.

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