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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Tom Yu [Fri, 27 Sep 1996 20:08:58 +0000 (20:08 +0000)]
* cmds.c (setpeer): Apply jik's fix so "-n" actually works as
intended.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9130
dc483132-0cff-0310-8789-
dd5450dbe970
Kevin Mitchell [Fri, 27 Sep 1996 20:04:07 +0000 (20:04 +0000)]
don't give kdb5_util the -d option unless kpropd is given -F
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9129
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Fri, 27 Sep 1996 18:13:51 +0000 (18:13 +0000)]
* env-setup.sh: set K5ROOT to $TESTDIR/krb5-test-root by default,
but use an absolute path
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9128
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 26 Sep 1996 23:12:25 +0000 (23:12 +0000)]
Remove call to krb5_os_localaddr(), since get_in_tkt will default
correctly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9127
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 26 Sep 1996 22:54:45 +0000 (22:54 +0000)]
get_in_tkt.c (make_preauth_list): Correctly null-terminate the
preauth list generated by make_preauth_list.
unparse.c (krb5_unparse_name_ext): Make unparse correctly handle all
cases where a principal contains a nulls, backspace, newlines, or
tabs.
t_kerb.c (test_parse_principal): Add test for checking krb5_parse_principal()
parse.c (krb5_parse_name): Set all of the magic field values.
Makefile.in, t_ref_kerb.out: Added new tests to test krb5_parse() and
krb5_unparse().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9126
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 26 Sep 1996 21:54:59 +0000 (21:54 +0000)]
* admin_server.c (process_client): allow keytab to be specified on
command line; default is still wrong
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9125
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 26 Sep 1996 21:53:34 +0000 (21:53 +0000)]
* Makefile.in, remove_changepw_perms.sh, lib/helpers.exp,
vrserver.0/setup-srvtab.exp, v4server.1/access.exp: use $K5ROOT
instead of /krb5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9124
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 26 Sep 1996 21:51:54 +0000 (21:51 +0000)]
* unit-test/Makefile.in, unit-test/kpasswd.0/principal.exp: use
whoami instead of user (USER princ now created by init_db)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9123
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 26 Sep 1996 21:49:35 +0000 (21:49 +0000)]
* env-setup.sh, init_db, start_servers_local: use K5ROOT instead
of /krb5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9122
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 26 Sep 1996 21:48:11 +0000 (21:48 +0000)]
* krb5.conf.proto, kdc.conf.proto: use K5ROOT instead of /krb5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9121
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 26 Sep 1996 21:46:40 +0000 (21:46 +0000)]
* api.0/init.exp, api.1/lock.exp, api.2/init.exp: use $K5ROOT
instead of /krb5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9120
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 26 Sep 1996 21:46:10 +0000 (21:46 +0000)]
* alt_prof.c: don't allow admin_dbname or admin_lockfile to be
independetly configured
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9119
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 26 Sep 1996 15:47:49 +0000 (15:47 +0000)]
* qualname.pl.in: Renamed old qualname to here as perl path needs
updating.
* Makefile.in (GEN_SCRIPTS): Add qualname.pl
* start_servers_local, env-setup.sh (QUALNAME): Replace with
qualname.pl.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9118
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 26 Sep 1996 15:36:20 +0000 (15:36 +0000)]
Fix typo.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9117
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 26 Sep 1996 15:32:57 +0000 (15:32 +0000)]
Link with -ltcl (depends on /mit/gnu/lib - yuck).
Reorder Makefile so programs are built.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9116
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Wed, 25 Sep 1996 21:46:34 +0000 (21:46 +0000)]
* api.1/lock.exp: lockfile is now kdb5.kadm5.lock
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9115
dc483132-0cff-0310-8789-
dd5450dbe970