krb5.git
28 years agoadd init test #154
Barry Jaspan [Thu, 7 Nov 1996 19:14:08 +0000 (19:14 +0000)]
add init test #154

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

28 years ago * api.2/init-v2.exp: update tests for new init error codes and
Barry Jaspan [Thu, 7 Nov 1996 19:13:39 +0000 (19:13 +0000)]
* api.2/init-v2.exp: update tests for new init error codes and
  get_config_params behavior when KDC_PROFILE does not exist

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

28 years agolib.t moved to lib/lib.t
Barry Jaspan [Thu, 7 Nov 1996 19:04:42 +0000 (19:04 +0000)]
lib.t moved to lib/lib.t

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

28 years agoMake the KRB5_CONFIG_CANTOPEN and
Theodore Tso [Thu, 7 Nov 1996 18:37:35 +0000 (18:37 +0000)]
Make the KRB5_CONFIG_CANTOPEN and
KRB5_CONFIG_BADFORMAT error messages more clear that the
problem is with the _Kerberos_ configuration file.

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

28 years ago * tcl_kadm5.c: don't assume tl_data_contents is null-terminated,
Barry Jaspan [Thu, 7 Nov 1996 18:10:09 +0000 (18:10 +0000)]
* tcl_kadm5.c: don't assume tl_data_contents is null-terminated,
  and zero allocated princ before parsing it

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

28 years ago * api.2/mod-principal-v2.exp: provide finer-grained test numbers
Barry Jaspan [Thu, 7 Nov 1996 18:03:11 +0000 (18:03 +0000)]
* api.2/mod-principal-v2.exp: provide finer-grained test numbers
  in case of failure

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

28 years agoFixed mangled copyright notice
Theodore Tso [Thu, 7 Nov 1996 17:33:58 +0000 (17:33 +0000)]
Fixed mangled copyright notice

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

28 years agokdc_preauth.c (check_padata): Fixed error handling; in order for
Theodore Tso [Thu, 7 Nov 1996 17:31:20 +0000 (17:31 +0000)]
kdc_preauth.c (check_padata): Fixed error handling; in order for
check_preauth to return successfully, there must be at least one
preauth which succeeded, and no REQUIRED preauth system which failed.
If a preauth is marked SUFFICIENT, then the rest of the preauth list
aren't checked.  Fixed bug where when none of the preauth types were
recognized, an error message corresponding to stack garbage was
printed.

main.c (argv): Check the error return from krb5_init_context(), and
print an error message if necessary.

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

28 years agoNew error codes for KADM5_MISSING_CONF_PARAMS and
Theodore Tso [Thu, 7 Nov 1996 17:14:53 +0000 (17:14 +0000)]
New error codes for KADM5_MISSING_CONF_PARAMS and
KADM5_BAD_SERVER_NAME.

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

28 years agoclient_init.c (_kadm5_init_any): Use a more fined grained error code,
Theodore Tso [Thu, 7 Nov 1996 17:13:44 +0000 (17:13 +0000)]
client_init.c (_kadm5_init_any): Use a more fined grained error code,
KADM5_MISSING_CONF_PARAMS, instead of KRB5_CONFIG_BADFORMAT

(_kadm5_init_any): Use a more fined grained error code,
KADM5_BAD_SERVER_NAME, instead of KRB5_CONFIG_BADFORMAT.

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

28 years agoserver_init.c (kadm5_init): Use a more fined grained error code,
Theodore Tso [Thu, 7 Nov 1996 17:12:56 +0000 (17:12 +0000)]
server_init.c (kadm5_init): Use a more fined grained error code,
KADM5_MISSING_CONF_PARAMS, instead of KRB5_CONFIG_BADFORMAT

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

28 years agoalt_prof.c (krb5_aprof_init): If the user specifies the config file
Theodore Tso [Thu, 7 Nov 1996 17:11:19 +0000 (17:11 +0000)]
alt_prof.c (krb5_aprof_init): If the user specifies the config file
using a configuration file, it must exist.  Otherwise,
krb5_aprof_init will return an error.

(kadm5_get_config_params): If aprof_init returns an error, it should
return an error as well.

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

28 years agoEliminate extra files not needed for Macintosh and Windows. (This
Theodore Tso [Thu, 7 Nov 1996 17:09:18 +0000 (17:09 +0000)]
Eliminate extra files not needed for Macintosh and Windows.  (This
directory is only used for Windows and Macintosh at this point.)

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

28 years agologin.c (destroy_tickets): Just use global kcontext instead
Theodore Tso [Thu, 7 Nov 1996 17:07:03 +0000 (17:07 +0000)]
login.c (destroy_tickets): Just use global kcontext instead
      of creating a new krb5 context for no good reason.

krshd.c (main):
krsh.c (main):
krlogind.c (main):
krlogin.c (main):
krcp.c(main): Check the error return from krb5_init_context(),
      and print an error message if necessary.

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

28 years agoCheck the error return from krb5_init_context(), and print an error
Theodore Tso [Thu, 7 Nov 1996 17:05:50 +0000 (17:05 +0000)]
Check the error return from krb5_init_context(), and print an error
message if necessary.

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

28 years agoCheck the error return from krb5_init_context(), and print an error
Theodore Tso [Thu, 7 Nov 1996 17:04:14 +0000 (17:04 +0000)]
Check the error return from krb5_init_context(), and print an error
message if neceesary.

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

28 years agoCheck the return code from krb5_init_context, and print an error
Theodore Tso [Thu, 7 Nov 1996 17:02:40 +0000 (17:02 +0000)]
Check the return code from krb5_init_context, and print an error
message if appropriate.  No longer call krb5_init_ets(), as it's no
longer necessary.

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

28 years ago(initialize_realms): Remove rather pointless use of krb5.conf to find
Theodore Tso [Thu, 7 Nov 1996 17:00:05 +0000 (17:00 +0000)]
(initialize_realms): Remove rather pointless use of krb5.conf to find
the kdc.conf used to get the default port list.  It's not useful for
anything else, and will just confuse people.

(init_realm): Reformat function to be readable.  Add error checking to
call of krb5_read_realm_params.

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

28 years ago * client_principal.c (kadm5_get_principal,
Ezra Peisach [Thu, 7 Nov 1996 16:46:23 +0000 (16:46 +0000)]
* client_principal.c (kadm5_get_principal,
kadm5_modify_principal): For a V1 request, copy only the
memory that is allocated for the incomming principal.

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

28 years ago * tcl_kadm5.c (parse_keysalts, parse_tl_data): Do not free memory
Ezra Peisach [Thu, 7 Nov 1996 16:39:06 +0000 (16:39 +0000)]
* tcl_kadm5.c (parse_keysalts, parse_tl_data): Do not free memory
twice.

* Makefile.in: Use $(LD) instead of $(CC) for linking.

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

28 years ago * gssftp.exp: Check for "foo: No such file or directory" in
Tom Yu [Thu, 7 Nov 1996 01:32:43 +0000 (01:32 +0000)]
* gssftp.exp: Check for "foo: No such file or directory" in
addition to "foo not found".

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

28 years ago * kadm_rpc_xdr.c (xdr_krb5_principal): handle a NULL principal
Barry Jaspan [Wed, 6 Nov 1996 23:18:46 +0000 (23:18 +0000)]
* kadm_rpc_xdr.c (xdr_krb5_principal): handle a NULL principal
  pointer (this can happen when get_principal is passed a mask
  without KADM5_PRINCIPAL in it, and will cause a beta 7 kadmind to
  coredump)

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

28 years ago * lib/lib.t: global $test everywhere it is used
Barry Jaspan [Wed, 6 Nov 1996 23:18:20 +0000 (23:18 +0000)]
* lib/lib.t: global $test everywhere it is used

* api.2/mod-principal-v2.exp: init to kadmin/admin, not
  kadmin/changepw; specify real principal, not null (obviously I
  never ran these tests via the client library before)

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

28 years agoDon't ignore errors found from parsing the config file. Currently, we
Theodore Tso [Wed, 6 Nov 1996 21:25:55 +0000 (21:25 +0000)]
Don't ignore errors found from parsing the config file.  Currently, we
return an error if the profile isn't found.  In the future we can
maybe do something better with intelligent defaulting if krb5.conf
doesn't exist, but we don't have this today.

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

28 years ago * svr_principal.c (kadm5_modify_principal): don't free the
Barry Jaspan [Wed, 6 Nov 1996 21:22:52 +0000 (21:22 +0000)]
* svr_principal.c (kadm5_modify_principal): don't free the
  caller's tl_data (oops)

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

28 years ago * Makefile.in: Add dependencies on $(srcdir)/foo.c so that some
Tom Yu [Wed, 6 Nov 1996 21:16:09 +0000 (21:16 +0000)]
* Makefile.in: Add dependencies on $(srcdir)/foo.c so that some
makes can deal with VPATH properly (e.g. NetBSD pmake)

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

28 years agoInitialize the error tables, so applications don't need to call
Theodore Tso [Wed, 6 Nov 1996 19:05:20 +0000 (19:05 +0000)]
Initialize the error tables, so applications don't need to call
krb5_init_ets().

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

28 years agoWe don't need the special case for linux anymore, since we're
Theodore Tso [Wed, 6 Nov 1996 14:24:47 +0000 (14:24 +0000)]
We don't need the special case for linux anymore, since we're
including the output from rpcgen in the source tree now.

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

28 years ago * Makefile.in (HDRS): Changes so that $(OBJS) will not get
Tom Yu [Wed, 6 Nov 1996 00:28:57 +0000 (00:28 +0000)]
* Makefile.in (HDRS): Changes so that $(OBJS) will not get
recompiled gratuitously if someone touches the include directory.

* configure.in: Revert previous change re: CopySrcHeader.

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

28 years ago * configure.in: Revert removal of CopySrcHeader, etc., for now
Tom Yu [Tue, 5 Nov 1996 23:46:02 +0000 (23:46 +0000)]
* configure.in: Revert removal of CopySrcHeader, etc., for now

* Makefile.in (OBJS): Remove dependency of $(OBJS) on shared, also
remove dependency of $(HDRS) on $(HDRDIR).  Both of these to avoid
unecessary copying.

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

28 years ago * Makefile.in (install-recurse): Add dependency of install-recurse
Tom Yu [Tue, 5 Nov 1996 22:29:23 +0000 (22:29 +0000)]
* Makefile.in (install-recurse): Add dependency of install-recurse
on install-mkdirs to force directories to be made first.

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

28 years ago * admin_server.c: use params.admin_keytab instead of a hard-coded
Barry Jaspan [Tue, 5 Nov 1996 21:24:33 +0000 (21:24 +0000)]
* admin_server.c: use params.admin_keytab instead of a hard-coded
  value [krb5-admin/30]

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

28 years agominor fix to verification of specified load version (autodetect code
Barry Jaspan [Tue, 5 Nov 1996 21:17:45 +0000 (21:17 +0000)]
minor fix to verification of specified load version (autodetect code
already worked properly)

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

28 years ago * install.texinfo (Upgrading existing Master and Slave KDCs to the
Barry Jaspan [Tue, 5 Nov 1996 21:15:03 +0000 (21:15 +0000)]
* install.texinfo (Upgrading existing Master and Slave KDCs to the
  current release): added section on upgrading to new db format with
  dump/load [krb5-doc/119]

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

28 years ago * serialize.c (krb5_register_serializer): Do not free a NULL pointer
Ezra Peisach [Tue, 5 Nov 1996 13:10:32 +0000 (13:10 +0000)]
* serialize.c (krb5_register_serializer): Do not free a NULL pointer

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

28 years agokadmin/testing/tcl/util.t is in the source tree and not the build tree.
Ezra Peisach [Tue, 5 Nov 1996 13:08:45 +0000 (13:08 +0000)]
kadmin/testing/tcl/util.t is in the source tree and not the build tree.
(This was initially missed by me as I had a symlink in my tree)

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

28 years agoAccept either ';' or '#' on the first line of a string as a comment
Theodore Tso [Tue, 5 Nov 1996 05:14:20 +0000 (05:14 +0000)]
Accept either ';' or '#' on the first line of a string as a comment
character.

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

28 years ago * admin.texinfo (Adding or Modifying Principals): update kadmin
Barry Jaspan [Mon, 4 Nov 1996 22:08:49 +0000 (22:08 +0000)]
* admin.texinfo (Adding or Modifying Principals): update kadmin
  "default" policy semantics [krb5-doc/84]

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

28 years ago * install.texinfo: various minor comments from jhawk [krb5-doc/55]
Barry Jaspan [Mon, 4 Nov 1996 21:51:49 +0000 (21:51 +0000)]
* install.texinfo: various minor comments from jhawk [krb5-doc/55]

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

28 years agorecurse into unit-test
Barry Jaspan [Mon, 4 Nov 1996 21:36:55 +0000 (21:36 +0000)]
recurse into unit-test

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

28 years agoRemoved unusued prototype for krb5_verify_padata();
Theodore Tso [Mon, 4 Nov 1996 19:53:32 +0000 (19:53 +0000)]
Removed unusued prototype for krb5_verify_padata();
                this is old code that has since been removed. [PR#21]

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

28 years ago * mkrel: Run make in doc so that .info and .ps files get created.
Tom Yu [Mon, 4 Nov 1996 02:09:24 +0000 (02:09 +0000)]
* mkrel: Run make in doc so that .info and .ps files get created.
[krb5-misc/143]

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

28 years agoStart by breaking my own rule about not changing this code;
Sam Hartman [Sat, 2 Nov 1996 08:20:55 +0000 (08:20 +0000)]
Start by breaking my own rule about not changing this code;
the Makefile produced by mkdist is too limited
for krb5, so we need our own.

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

28 years agoInitial revision
Sam Hartman [Sat, 2 Nov 1996 06:57:42 +0000 (06:57 +0000)]
Initial revision

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

28 years ago* Fix broken comment ; it's setuid() that must suceed not the setleuid
Sam Hartman [Sat, 2 Nov 1996 05:43:35 +0000 (05:43 +0000)]
* Fix broken comment ; it's setuid() that must suceed not the setleuid
equivelent under AIX.

* You want to destroy v4 tickets if you are converting them just as if
you are getting them directly.

* Attempt to be more reasonable about printing out errors in in_tkt.

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

28 years ago* Remove rhosts support [138]
Sam Hartman [Sat, 2 Nov 1996 01:48:12 +0000 (01:48 +0000)]
* Remove rhosts support [138]

* Remove tab3 from initial terminal settings.  We don't really care
about horizontal tab delays, do we?  This was breaking on NetBSD.

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

28 years ago* Add forward command. [45]
Sam Hartman [Sat, 2 Nov 1996 01:46:33 +0000 (01:46 +0000)]
* Add forward command. [45]

* Add TOS support. [57]

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

28 years ago* Add TOS support on other than Cray [57]
Sam Hartman [Sat, 2 Nov 1996 01:44:41 +0000 (01:44 +0000)]
* Add TOS support on other than Cray [57]

* Externalize forward options from kerberos5.c to reduce cut/paste
inheritance between kerberos5.c and main.c in telnet.

* Fix up source of error messages (telnet|telnetd) in kerberos5.c [77]

CVS:
----------------------------------------------------------------------
automatically CVS: CVS: Committing in libtelnet CVS: CVS: Modified
Files: CVS: ChangeLog Makefile.in auth.h configure.in kerberos5.c CVS:
parsetos.c CVS:
----------------------------------------------------------------------

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

28 years ago * aclocal.m4 (AC_KRB5_TCL): Check for -ldl when checking for -ltcl
Tom Yu [Sat, 2 Nov 1996 01:42:37 +0000 (01:42 +0000)]
* aclocal.m4 (AC_KRB5_TCL): Check for -ldl when checking for -ltcl
or -ltcl7.5 in case the TCL library needs it. [krb5-admin/141]

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

28 years ago * .cvsignore: Ignore the .html files
Tom Yu [Sat, 2 Nov 1996 01:33:56 +0000 (01:33 +0000)]
* .cvsignore: Ignore the .html files

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

28 years ago * copyright.texinfo: Add call to "@pagealignmacro" to force a
Tom Yu [Sat, 2 Nov 1996 01:29:13 +0000 (01:29 +0000)]
* copyright.texinfo: Add call to "@pagealignmacro" to force a
blank page after copyright spewage. [krb5-doc/54]

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

28 years ago * Makefile: Apply jik's changes for dependencies [krb5-doc/101]
Tom Yu [Sat, 2 Nov 1996 00:22:21 +0000 (00:22 +0000)]
* Makefile: Apply jik's changes for dependencies [krb5-doc/101]

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

28 years ago * install.texinfo (krb5.conf): Fixed extra
Tom Yu [Sat, 2 Nov 1996 00:07:27 +0000 (00:07 +0000)]
* install.texinfo (krb5.conf): Fixed extra
closebrace. [krb5-doc/92]

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

28 years ago * tcl_kadm5.c (unparse_err): update for new tl_data semantics
Barry Jaspan [Fri, 1 Nov 1996 18:26:30 +0000 (18:26 +0000)]
* tcl_kadm5.c (unparse_err): update for new tl_data semantics
  [krb5-admin/140]

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

28 years ago * kadm_err.et: update for new tl_data semantics [krb5-admin/140]
Barry Jaspan [Fri, 1 Nov 1996 18:26:01 +0000 (18:26 +0000)]
* kadm_err.et: update for new tl_data semantics [krb5-admin/140]

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

28 years ago * svr_principal.c (kadm5_modify_principal): update for new tl_data
Barry Jaspan [Fri, 1 Nov 1996 18:25:48 +0000 (18:25 +0000)]
* svr_principal.c (kadm5_modify_principal): update for new tl_data
  semantics [krb5-admin/140]

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

28 years ago * api.2/get-principal-v2.exp, api.2/mod-principal-v2.exp: update
Barry Jaspan [Fri, 1 Nov 1996 18:24:40 +0000 (18:24 +0000)]
* api.2/get-principal-v2.exp, api.2/mod-principal-v2.exp: update
  for new tl_data semantics [krb5-admin/140]

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

28 years agoupdate for new tl_data semantics [krb5-admin/140]
Barry Jaspan [Fri, 1 Nov 1996 18:18:22 +0000 (18:18 +0000)]
update for new tl_data semantics [krb5-admin/140]

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

28 years ago * kadmin.c (kadmin_cpw): fix typo [krb5-admin/139]
Barry Jaspan [Fri, 1 Nov 1996 16:53:23 +0000 (16:53 +0000)]
* kadmin.c (kadmin_cpw): fix typo [krb5-admin/139]

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

28 years agoStart installing krb4 headers again. [36]
Sam Hartman [Thu, 31 Oct 1996 22:49:37 +0000 (22:49 +0000)]
Start installing krb4 headers again. [36]

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

28 years agoMake it more obvious that default ticket lifetimes is not yet
Theodore Tso [Thu, 31 Oct 1996 18:57:20 +0000 (18:57 +0000)]
Make it more obvious that default ticket lifetimes is not yet
supported.

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

28 years agoUse $(LD) instead of $(CC) at link stage - this allows one to use
Ezra Peisach [Thu, 31 Oct 1996 18:15:53 +0000 (18:15 +0000)]
Use $(LD) instead of $(CC) at link stage - this allows one to use
purify correctly.

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

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