krb5.git
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

28 years ago * configure.in: Add AC_KRB5_TCL so configure --help is useful
Ezra Peisach [Mon, 14 Oct 1996 11:00:02 +0000 (11:00 +0000)]
* configure.in: Add AC_KRB5_TCL so configure --help is useful

* aclocal.m4 (AC_KRB5_TCL): Added tests for --with-tcl.

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

28 years agoMisc debugging cleanups [71, 74]
Sam Hartman [Mon, 14 Oct 1996 06:29:15 +0000 (06:29 +0000)]
Misc debugging cleanups [71, 74]

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

28 years agoEnvironment command argument handling sometimes
Sam Hartman [Mon, 14 Oct 1996 06:28:48 +0000 (06:28 +0000)]
Environment command argument handling sometimes
prints bogus only. [75]

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

28 years agoRemove rsaencpwd and krb4encpwd authentication. Bugs were being
Sam Hartman [Mon, 14 Oct 1996 04:58:19 +0000 (04:58 +0000)]
Remove rsaencpwd and krb4encpwd authentication.  Bugs were being
reported and the code is old and wouldn't compile if you tried.  Also,
I don't think the libraries on which it depends are available.
Besides, there is no excuse for read_password.c using setjmp and
longjmp. [50]

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

28 years agoCheck for expect in autoconf and subsititute into env-setup.sh
Ezra Peisach [Thu, 10 Oct 1996 21:34:56 +0000 (21:34 +0000)]
Check for expect in autoconf and subsititute into env-setup.sh

Do not assume expect is /mit/gnu/expect.

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

28 years ago * configure.in: Remove calls to CopySrcHeader
Tom Yu [Thu, 10 Oct 1996 19:06:26 +0000 (19:06 +0000)]
* configure.in: Remove calls to CopySrcHeader

* Makefile.in: More fixups; punt usage of CopySrcHeader and use
  explicit dependencies instead, thus avoiding abuse of double-colon
  rules.

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

28 years agoDon't let the "timeleft" returned by krb5_gss_acquire_cred be negative!
Theodore Tso [Thu, 10 Oct 1996 17:51:42 +0000 (17:51 +0000)]
Don't let the "timeleft" returned by krb5_gss_acquire_cred be negative!

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

28 years ago * kadmin.c (kadmin_addprinc): add "default" policy behavior;
Barry Jaspan [Wed, 9 Oct 1996 19:30:02 +0000 (19:30 +0000)]
* kadmin.c (kadmin_addprinc): add "default" policy behavior;
  delete kadmin_renprinc entirely, since it is no longer supported
  by the api and there is no ss command for it anyway

* kadmin.M: document "default" policy behavior.  [krb5-admin/84]

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

28 years ago * Makefile.in (all-unix): Force $(OBJS) to depend on includes,
Tom Yu [Wed, 9 Oct 1996 19:08:53 +0000 (19:08 +0000)]
* Makefile.in (all-unix): Force $(OBJS) to depend on includes,
fixing incompatibilty with makes that don't evaluate dependencies
l-r.

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

28 years ago * Makefile.in (all-unix): Fix up last change; depending on a phony
Tom Yu [Wed, 9 Oct 1996 19:08:38 +0000 (19:08 +0000)]
* Makefile.in (all-unix): Fix up last change; depending on a phony
target causes everything all of $(OBJS) to get remade always.

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

28 years ago * Makefile.in (all-unix): Fix up various rules that have
Tom Yu [Wed, 9 Oct 1996 18:13:55 +0000 (18:13 +0000)]
* Makefile.in (all-unix): Fix up various rules that have
"includes" as dependencies in order to allow for makes that don't
do left-to-right ordering of dependencies.

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

28 years agoDefinition of gss_nt_krb5_name was incorrect; someone was being a
Theodore Tso [Wed, 9 Oct 1996 18:03:58 +0000 (18:03 +0000)]
Definition of gss_nt_krb5_name was incorrect; someone was being a
bonehead.

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

28 years agoapi-funcspec.tex: update semantics for admin_dbname and admin_lockfile
Barry Jaspan [Tue, 8 Oct 1996 21:12:47 +0000 (21:12 +0000)]
api-funcspec.tex: update semantics for admin_dbname and admin_lockfile
so they always key off dbname

api-server-design.tex: add new osa_adb database functions: create_db,
destroy_db, rename_db

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

28 years ago * adb_policy.c (osa_adb_rename_policy_db): rename
Barry Jaspan [Tue, 8 Oct 1996 21:10:58 +0000 (21:10 +0000)]
* adb_policy.c (osa_adb_rename_policy_db): rename
  osa_adb_rename_policy to *_db

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

28 years ago * dump.c (load_db): rename osa_adb_rename_policy to *_db
Barry Jaspan [Tue, 8 Oct 1996 21:10:08 +0000 (21:10 +0000)]
* dump.c (load_db): rename osa_adb_rename_policy to *_db

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

28 years agoadd pr to previous entry
Barry Jaspan [Tue, 8 Oct 1996 17:38:14 +0000 (17:38 +0000)]
add pr to previous entry

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

28 years ago * dump.c (load_db): rework the way policy database naming and
Barry Jaspan [Tue, 8 Oct 1996 17:37:43 +0000 (17:37 +0000)]
* dump.c (load_db): rework the way policy database naming and
  renaming is handled; the code no longer depends on being able to
  specify admin_dbname specifically (which is no longer supported by
  the libraries), uses osa_adb_rename_policy instead of doing it
  directly, and will create a policy db if one does not already
  exist.  Automated testing is needed. [krb5-admin/62]

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

28 years ago * adb_openclose.c, adb_policy.c: implement database renaming;
Barry Jaspan [Tue, 8 Oct 1996 17:35:30 +0000 (17:35 +0000)]
* adb_openclose.c, adb_policy.c: implement database renaming;
  also, only create a db lockfile after the database has been
  successfully created [krb5-admin/62]

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

28 years agoRenamed RUNTEST to HAVE_RUNTEST variable in Makefile.in to avoid collision
Ezra Peisach [Mon, 7 Oct 1996 19:49:30 +0000 (19:49 +0000)]
Renamed RUNTEST to HAVE_RUNTEST variable in Makefile.in to avoid collision
with definition in config/pre.in

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

28 years ago* kadmin.c (kadmin_renprinc): Changed newcanon to oldcanon in the
Kevin Mitchell [Fri, 4 Oct 1996 20:54:23 +0000 (20:54 +0000)]
* kadmin.c (kadmin_renprinc): Changed newcanon to oldcanon in the
"make sure blah is removed from acls before reusing"
message

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

28 years agoOops - wrong pr in last Changelg 46 -> 29
Ezra Peisach [Fri, 4 Oct 1996 12:44:57 +0000 (12:44 +0000)]
Oops - wrong pr in last Changelg 46 -> 29

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

28 years agoOops - wrong pr in change log 46 -> 29
Ezra Peisach [Fri, 4 Oct 1996 12:44:18 +0000 (12:44 +0000)]
Oops - wrong pr in change log 46 -> 29

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

28 years ago * svr_principal.c (kadm5_get_principal): Do not assume malloc(0)
Ezra Peisach [Fri, 4 Oct 1996 12:41:52 +0000 (12:41 +0000)]
* svr_principal.c (kadm5_get_principal): Do not assume malloc(0)
returns non-NULL. [krb5-admin/46]

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

28 years ago * client_principal.c (kadm5_randkey_principal): Do not assume that
Ezra Peisach [Fri, 4 Oct 1996 12:39:36 +0000 (12:39 +0000)]
* client_principal.c (kadm5_randkey_principal): Do not assume that
malloc(0) returns non-NULL. [krb5-admin/46]

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

28 years agoRemoves the sizes-test.They were bogus as they were checking the sizeof(long)
Ezra Peisach [Fri, 4 Oct 1996 12:34:02 +0000 (12:34 +0000)]
Removes the sizes-test.They were bogus as they were checking the sizeof(long)
and comparing them to known "4" byte quantities in krb5.h. This fails
on 64 bit architectures.

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

28 years ago * kdb5_util.c (ARG_VAL): case second half of ?: operator to char *
Barry Jaspan [Thu, 3 Oct 1996 22:19:11 +0000 (22:19 +0000)]
* kdb5_util.c (ARG_VAL): case second half of ?: operator to char *
  to fix problem on AIX; this should have worked anyway because of
  the , operator but it is easy enough to force the solution, too.
[krb5-admin/41]

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

28 years ago * pre.in: Separate KADM5 unit test files to source dir and build
Ezra Peisach [Thu, 3 Oct 1996 17:26:46 +0000 (17:26 +0000)]
* pre.in: Separate KADM5 unit test files to source dir and build
dir based on how generated.

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

28 years ago * env-setup.shin: Renamed env-setup.sh for autoconf use
Ezra Peisach [Thu, 3 Oct 1996 17:26:08 +0000 (17:26 +0000)]
* env-setup.shin: Renamed env-setup.sh for autoconf use

* init_db, start_servers, start_servers_local, stop_servers:
Invoke scripts from source directory or build tree as needed.

* configure.in, Makefile.in: generate env-setup.sh with proper
paths already.

(env-setup.shin was created - retaining the old history logs)

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

28 years agoLet autoconf find the path for perl
Ezra Peisach [Wed, 2 Oct 1996 17:42:40 +0000 (17:42 +0000)]
Let autoconf find the path for perl

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

28 years ago * api.2/init-v2.exp: Remove tests 104 & 105 as lockfile and
Ezra Peisach [Tue, 1 Oct 1996 19:02:30 +0000 (19:02 +0000)]
* api.2/init-v2.exp: Remove tests 104 & 105 as lockfile and
policy database names are hard wired. [krb5-admin/46]

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

28 years ago* Use login.krb5 -f from klogind
Sam Hartman [Mon, 30 Sep 1996 21:22:45 +0000 (21:22 +0000)]
* Use login.krb5 -f from klogind

* Allow login.krb5 -f to authorize root login.

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

28 years agoFix goto labels so it compiles without krb4 support
Sam Hartman [Mon, 30 Sep 1996 19:45:00 +0000 (19:45 +0000)]
Fix goto labels so it compiles without krb4 support

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

28 years ago * krb5.conf.proto: parameterize kdc hostname for remote server
Barry Jaspan [Fri, 27 Sep 1996 21:13:18 +0000 (21:13 +0000)]
* krb5.conf.proto: parameterize kdc hostname for remote server
  testing

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

28 years ago * start_servers, start_servers_local, stop_servers, init_db,
Barry Jaspan [Fri, 27 Sep 1996 21:09:00 +0000 (21:09 +0000)]
* start_servers, start_servers_local, stop_servers, init_db,
  env-setup.sh: first pass at making TEST_SERVER remote server
  testing work

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

28 years ago * ovsec_kadmd.c (main): krb5_klog_syslog doesn't understand %m
Barry Jaspan [Fri, 27 Sep 1996 20:38:18 +0000 (20:38 +0000)]
* ovsec_kadmd.c (main): krb5_klog_syslog doesn't understand %m

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