krb5.git
29 years agoMissing a "retval = " so errors in addresses were passing
Ezra Peisach [Fri, 12 May 1995 11:34:57 +0000 (11:34 +0000)]
Missing a "retval = " so errors in addresses were passing
successfully.

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

29 years ago * key_sched.c (mit_des_key_sched): *always* fill in the schedule,
Mark Eichin [Fri, 12 May 1995 06:47:10 +0000 (06:47 +0000)]
* key_sched.c (mit_des_key_sched): *always* fill in the schedule,
regardless of the key failing other tests, as a defense against
telnet-style bugs.

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

29 years ago * mk_cred.c (krb5_mk_cred()), mk_priv.c (krb5_mk_priv()),
Chris Provenzano [Thu, 11 May 1995 23:07:45 +0000 (23:07 +0000)]
* mk_cred.c (krb5_mk_cred()), mk_priv.c (krb5_mk_priv()),
* mk_safe.c (krb5_mk_safe()), rd_cred.c (krb5_rd_cred()),
* rd_priv.c (krb5_rd_prev()), rd_safe.c (krb5_rd_safe()):
Pass the contents pointer returned from krb5_make_fulladdr()
to free() not the address of the pointer.

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

29 years agoCorrectly calculate beginning of first component
Paul Park [Thu, 11 May 1995 17:06:25 +0000 (17:06 +0000)]
Correctly calculate beginning of first component

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

29 years agobug fixes
Paul Park [Thu, 11 May 1995 16:24:19 +0000 (16:24 +0000)]
bug fixes

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

29 years agoRework address bind logic
Paul Park [Thu, 11 May 1995 16:23:58 +0000 (16:23 +0000)]
Rework address bind logic

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

29 years agoAvoid a core dump when the master key is entered incorrectly
Paul Park [Thu, 11 May 1995 16:23:30 +0000 (16:23 +0000)]
Avoid a core dump when the master key is entered incorrectly

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

29 years agoFix two annoying things in kadmin5
Paul Park [Thu, 11 May 1995 16:20:05 +0000 (16:20 +0000)]
Fix two annoying things in kadmin5

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

29 years agoUpdate usage message and manual page to reflect current reality. (-e -f
Ezra Peisach [Thu, 11 May 1995 11:34:28 +0000 (11:34 +0000)]
Update usage message and manual page to reflect current reality. (-e -f
arguments).

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

29 years agoAdd sample client/server tests
Ezra Peisach [Wed, 10 May 1995 21:04:29 +0000 (21:04 +0000)]
Add sample client/server tests

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

29 years agoModifications to klist to prevent an expect bug for hanging tests.
Ezra Peisach [Wed, 10 May 1995 20:57:33 +0000 (20:57 +0000)]
Modifications to klist to prevent an expect bug for hanging tests.
(sync. problem with spawned process exiting too quickly).

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

29 years agoAdded domain_realm stanza to krb5.conf.
Ezra Peisach [Wed, 10 May 1995 20:55:57 +0000 (20:55 +0000)]
Added domain_realm stanza to krb5.conf.
setup_srvtab: Takes optional service name to extract for keytab

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

29 years agoInclude stdlib.h or declare malloc()
Ezra Peisach [Wed, 10 May 1995 20:44:09 +0000 (20:44 +0000)]
Include stdlib.h or declare malloc()

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

29 years agoAdd new options -p and -S to specify port and keytab files
Ezra Peisach [Wed, 10 May 1995 20:25:27 +0000 (20:25 +0000)]
Add new options -p and -S to specify port and keytab files
for use by dejagnu tests. Manual page updated as well.

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

29 years agoInstall the error tables
Ezra Peisach [Wed, 10 May 1995 17:23:52 +0000 (17:23 +0000)]
Install the error tables

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

29 years agoMore missing contexts
Ezra Peisach [Tue, 9 May 1995 21:41:21 +0000 (21:41 +0000)]
More missing contexts

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

29 years agosrv_output.c (lang_error_message): Local variable is assigned from
Ezra Peisach [Tue, 9 May 1995 20:47:44 +0000 (20:47 +0000)]
srv_output.c (lang_error_message): Local variable is assigned from
error_message() which returns a const char *. Should be assigned to same.

srv_acl.c: Added const to acl_acl_file definition. default_acl_file is a
const char * and gets assigned to it.

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

29 years agoRemove inclusion of malloc.h. k5-int.h already handles declarations of
Ezra Peisach [Tue, 9 May 1995 20:25:20 +0000 (20:25 +0000)]
Remove inclusion of malloc.h. k5-int.h already handles declarations of
malloc.

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

29 years agoNumerous context reference s were missing. Alerted to first by
Ezra Peisach [Tue, 9 May 1995 20:05:24 +0000 (20:05 +0000)]
Numerous context reference s were missing. Alerted to first by
wolfgang@wsrcc.com (Wolfgang Rupprecht).

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

29 years agoAdd description of keytab encoding
Paul Park [Tue, 9 May 1995 20:00:53 +0000 (20:00 +0000)]
Add description of keytab encoding

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

29 years agoAdd new client directory
Paul Park [Tue, 9 May 1995 19:59:45 +0000 (19:59 +0000)]
Add new client directory

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

29 years agoCheckin new administrative client
Paul Park [Tue, 9 May 1995 19:58:24 +0000 (19:58 +0000)]
Checkin new administrative client

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

29 years agoAdd new functions to support new administrative operations
Paul Park [Tue, 9 May 1995 19:53:01 +0000 (19:53 +0000)]
Add new functions to support new administrative operations

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

29 years agoAdd support for new error codes
Paul Park [Tue, 9 May 1995 19:52:12 +0000 (19:52 +0000)]
Add support for new error codes

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

29 years agoAdd support for -p option. Otherwise determine our port from the profile
Paul Park [Tue, 9 May 1995 19:51:53 +0000 (19:51 +0000)]
Add support for -p option.  Otherwise determine our port from the profile
and if not there, from the entry in /etc/services if it exists.
Close the connected socket in the parent process in net_dispatch_client()
this was causing the connection to remain open even when we were done.

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

29 years agoAdd support for -T, -p and -n options. Change -i option to -m. Add
Paul Park [Tue, 9 May 1995 19:50:25 +0000 (19:50 +0000)]
Add support for -T, -p and -n options.  Change -i option to -m.  Add
daemon() call to disassociate from controlling terminal.

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

29 years agoUse keytab supplied with -T option.
Paul Park [Tue, 9 May 1995 19:49:37 +0000 (19:49 +0000)]
Use keytab supplied with -T option.
Actually use specified default realm.
Return salt values from key_string_to_keys(); add random key generator.

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

29 years agoBy default, now deny operations unless we find an appropriate entry to do so.
Paul Park [Tue, 9 May 1995 19:48:45 +0000 (19:48 +0000)]
By default, now deny operations unless we find an appropriate entry to do so.
Add a catchall entry to the end of the ACL list which allows principals
to change their own passwords.

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

29 years agoUse keytab supplied with -T option.
Paul Park [Tue, 9 May 1995 19:47:44 +0000 (19:47 +0000)]
Use keytab supplied with -T option.
Support new administrative protocol functions.
Destroy replay cache when done with our request.

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

29 years agoMake passwd_check_npass_ok a global routine
Paul Park [Tue, 9 May 1995 19:46:53 +0000 (19:46 +0000)]
Make passwd_check_npass_ok a global routine

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

29 years agoAdd descriptions of -n, -p and -T options. Change name of -i option to -m.
Paul Park [Tue, 9 May 1995 19:46:32 +0000 (19:46 +0000)]
Add descriptions of -n, -p and -T options.  Change name of -i option to -m.
Add description of 'e' ACL entry.

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

29 years agoAdd extract operation. Move error subcodes to adm.h. Update function
Paul Park [Tue, 9 May 1995 19:45:44 +0000 (19:45 +0000)]
Add extract operation.  Move error subcodes to adm.h.  Update function
prototypes.

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

29 years agoFix compiler warnings
Paul Park [Tue, 9 May 1995 19:28:07 +0000 (19:28 +0000)]
Fix compiler warnings

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

29 years agoAdd new modules
Paul Park [Tue, 9 May 1995 19:26:56 +0000 (19:26 +0000)]
Add new modules

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

29 years agoAdd new modules to handle administrative protocol keyword=value
Paul Park [Tue, 9 May 1995 19:26:03 +0000 (19:26 +0000)]
Add new modules to handle administrative protocol keyword=value
and keytab representations.

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

29 years agoChange to use profile information instead of assuming that the
Paul Park [Tue, 9 May 1995 19:24:37 +0000 (19:24 +0000)]
Change to use profile information instead of assuming that the
admin_server is always in the same location as the KDC.  Also
return correct return value from krb5_adm_connect().

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

29 years agoAdd definitions for new administrative protocol extensions
Paul Park [Tue, 9 May 1995 19:19:54 +0000 (19:19 +0000)]
Add definitions for new administrative protocol extensions

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

29 years agoconfigure.in: Check for stdlib.h
Ezra Peisach [Tue, 9 May 1995 14:40:09 +0000 (14:40 +0000)]
configure.in: Check for stdlib.h

poplib.c: Include <string.h>. Include <stdlib.h> if present or define malloc().

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

29 years agoAdd AC_HEADER_STDC to define STDC_HEADERS for getdate.y (if present)
Ezra Peisach [Tue, 9 May 1995 12:48:19 +0000 (12:48 +0000)]
Add AC_HEADER_STDC to define STDC_HEADERS for getdate.y (if present)

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

29 years agoInclude prof_int.h. This programs relies on internal functions and
Ezra Peisach [Tue, 9 May 1995 12:44:25 +0000 (12:44 +0000)]
Include prof_int.h. This programs relies on internal functions and
structures.

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

29 years agoRemove t_kerb and t_kerb.o on make clean
Ezra Peisach [Tue, 9 May 1995 12:35:37 +0000 (12:35 +0000)]
Remove t_kerb and t_kerb.o on make clean

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

29 years agokcmd.c and krcp.c: Add <stdlib.h> for malloc declarations.
Ezra Peisach [Tue, 9 May 1995 12:27:20 +0000 (12:27 +0000)]
kcmd.c and krcp.c: Add <stdlib.h> for malloc declarations.
krshd.c: Cast sockadr_in * to sockaddr * in call to accept. (compiler
warning).

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

29 years agoconfigure.in: Add HAS_ANSI_VOLATILE
Ezra Peisach [Tue, 9 May 1995 02:58:25 +0000 (02:58 +0000)]
configure.in: Add HAS_ANSI_VOLATILE
read_pwd.c: Let autoconf decide if volatile doesn't exist. Assume exists
for everyone else.

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

29 years agomk_faddr.c (krb5_make_fulladdr): Allocate enough memory for
Ezra Peisach [Tue, 9 May 1995 02:40:07 +0000 (02:40 +0000)]
mk_faddr.c (krb5_make_fulladdr): Allocate enough memory for
raddr contents before copying over random memory.

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

29 years agoDeclare prompt and prompt2 as const char * so that callers
Ezra Peisach [Tue, 9 May 1995 02:24:12 +0000 (02:24 +0000)]
Declare prompt and prompt2 as const char * so that callers
can safely use with same. (and not get a warning from gcc).

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

29 years agocan use same
Ezra Peisach [Tue, 9 May 1995 02:22:14 +0000 (02:22 +0000)]
can use same

Remove wrong function names krb5_init_os_context and
krb5_free_os_context.

krb5_read_password: Prompt and prompt2 are now const char * so callers

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

29 years agoAdd string.h if necessary to define strlen, etc.
Ezra Peisach [Tue, 9 May 1995 02:11:22 +0000 (02:11 +0000)]
Add string.h if necessary to define strlen, etc.
Add stdlib.h if present & necessary for malloc definition. (otherwise
define ourselves) - based on other code present.
Change ifdef POSIX to ifdef HAS_STDLIB_H
Check for stdlib.h in configure.in

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

29 years agokparse.h: Remove ErrorMsg definition. It is declared static in source file
Ezra Peisach [Tue, 9 May 1995 02:05:15 +0000 (02:05 +0000)]
kparse.h: Remove ErrorMsg definition. It is declared static in source file

krb4-proto.h: krb_rd_priv prototype did not match source

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

29 years agoBack out change. Turns out it's not really necessary (the master key
Theodore Tso [Fri, 5 May 1995 19:47:16 +0000 (19:47 +0000)]
Back out change.  Turns out it's not really necessary (the master key
encryption type isn't relevant to the on-the-wire protocol), and it turns up
problems in tests/verify, and possibly elsewhere.  Sigh.  We'll fix this
later....

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

29 years agoChange default KDC etype to be DES_CBC_MD5, to be conformant with
Theodore Tso [Fri, 5 May 1995 18:07:22 +0000 (18:07 +0000)]
Change default KDC etype to be DES_CBC_MD5, to be conformant with
RFC-1510.

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

29 years agoUpdate TODO file to reflect status as of the BETA 5 release
Theodore Tso [Fri, 5 May 1995 17:53:42 +0000 (17:53 +0000)]
Update TODO file to reflect status as of the BETA 5 release

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

29 years agoUpdate top-level README file
Theodore Tso [Fri, 5 May 1995 17:46:01 +0000 (17:46 +0000)]
Update top-level README file

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

29 years agoFix up top-level .Sanitize file
Theodore Tso [Fri, 5 May 1995 17:43:39 +0000 (17:43 +0000)]
Fix up top-level .Sanitize file

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

29 years agoAllow install.ps to be kept
Theodore Tso [Fri, 5 May 1995 17:43:00 +0000 (17:43 +0000)]
Allow install.ps to be kept

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

29 years agoUpdate patchlevel.h for BETA 5 release
Theodore Tso [Fri, 5 May 1995 17:26:58 +0000 (17:26 +0000)]
Update patchlevel.h for BETA 5 release

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

29 years agoEncrypted rcp tests now work - don't log as error
Ezra Peisach [Fri, 5 May 1995 17:19:27 +0000 (17:19 +0000)]
Encrypted rcp tests now work - don't log as error

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

29 years agoMinor fixups for beta 5 release. Mainly points that the krb.conf and
Theodore Tso [Fri, 5 May 1995 17:11:49 +0000 (17:11 +0000)]
Minor fixups for beta 5 release.  Mainly points that the krb.conf and
krb.realms section need to be updated and should be ignored in favor
of the krb5.conf manual page.

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

29 years agoCreated missing .Sanitize file
Theodore Tso [Fri, 5 May 1995 17:07:37 +0000 (17:07 +0000)]
Created missing .Sanitize file

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

29 years agoCHANGES is out of date, removed. Don't distribute the TODO file in the release
Theodore Tso [Fri, 5 May 1995 17:07:14 +0000 (17:07 +0000)]
CHANGES is out of date, removed.  Don't distribute the TODO file in the release
it's for our own internal planning.

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

29 years agoMoved kadmin.protocol and kpasswd.protocol files to the doc/kadmin directory
Theodore Tso [Fri, 5 May 1995 17:00:10 +0000 (17:00 +0000)]
Moved kadmin.protocol and kpasswd.protocol files to the doc/kadmin directory

Removed old OV cli functional specification

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

29 years agoAdded free.tex file to .Sanitize
Theodore Tso [Fri, 5 May 1995 16:59:30 +0000 (16:59 +0000)]
Added free.tex file to .Sanitize

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

29 years agoMoved kadmin.protocol and kpasswd.protocol to the kadmin directory
Theodore Tso [Fri, 5 May 1995 16:59:09 +0000 (16:59 +0000)]
Moved kadmin.protocol and kpasswd.protocol to the kadmin directory

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

29 years agoRemoving no-longer-used kadmin.new code (used to interface to OV admin server)
Theodore Tso [Fri, 5 May 1995 16:44:33 +0000 (16:44 +0000)]
Removing no-longer-used kadmin.new code (used to interface to OV admin server)

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

29 years agoAdded $(DESTDIR) support to make install production
Theodore Tso [Fri, 5 May 1995 16:12:39 +0000 (16:12 +0000)]
Added $(DESTDIR) support to make install production

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

29 years agoFix .Sanitize files to reflect new added files
Theodore Tso [Fri, 5 May 1995 16:12:00 +0000 (16:12 +0000)]
Fix .Sanitize files to reflect new added files

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

29 years agoRemove getopt(3) options too
Paul Park [Fri, 5 May 1995 15:38:09 +0000 (15:38 +0000)]
Remove getopt(3) options too

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

29 years agoRemove language support flags
Paul Park [Fri, 5 May 1995 15:29:28 +0000 (15:29 +0000)]
Remove language support flags

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

29 years ago * rcp.exp (rcp_test()): Pass -c and -C args to encrypted rcp.
Chris Provenzano [Fri, 5 May 1995 13:27:37 +0000 (13:27 +0000)]
* rcp.exp (rcp_test()): Pass -c and -C args to encrypted rcp.
These are necessary for the test realm because krshd
nukes all environement variables before execing rcp.

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

29 years ago * default.exp : Removed FILE: part of env(KRB5CCNAME)
Chris Provenzano [Fri, 5 May 1995 13:27:15 +0000 (13:27 +0000)]
* default.exp : Removed FILE: part of env(KRB5CCNAME)

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

29 years ago * krcp.c (answer_auth()): Requires two new args that are passed
Chris Provenzano [Fri, 5 May 1995 13:19:24 +0000 (13:19 +0000)]
* krcp.c (answer_auth()): Requires two new args that are passed
from the command line. The first -c is to pass the filename
of the remote credential cache. The second -C is to pass
the filename of the remote krb5.conf file.

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

29 years agoRemove all files in ZIPCLEANUP after building kerbsrc.zip. This keeps
Theodore Tso [Fri, 5 May 1995 05:56:44 +0000 (05:56 +0000)]
Remove all files in ZIPCLEANUP after building kerbsrc.zip.  This keeps
the source directory clean after building a Windows source
distribution.

Remove miscellaneous targets left over from the bad old imake days.

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

29 years agoFix spelling typo
Theodore Tso [Fri, 5 May 1995 05:16:52 +0000 (05:16 +0000)]
Fix spelling typo

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

29 years agokrb5.conf: Add example of the new [realms]/<realm>/v4_instance_convert/
Theodore Tso [Fri, 5 May 1995 05:13:43 +0000 (05:13 +0000)]
krb5.conf: Add example of the new [realms]/<realm>/v4_instance_convert/
<instance> form used by krb5_425_convert_principal.

krb5.conf.M: Document new v4_instance_convert subsection.

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

29 years agoprof_init.c (profile_get_values): Return PROF_NO_PROFILE if the
Theodore Tso [Fri, 5 May 1995 04:57:03 +0000 (04:57 +0000)]
prof_init.c (profile_get_values): Return PROF_NO_PROFILE if the
passed-in profile variable is NULL (instead of core dumping).

prof_err.et (PROF_NO_PROFILE): Defined new error code.

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

29 years agoconv_princ.c (krb5_425_conv_principal): Use new calling
Theodore Tso [Fri, 5 May 1995 04:56:00 +0000 (04:56 +0000)]
conv_princ.c (krb5_425_conv_principal): Use new calling
convention of krb5_get_realm_domain, which is that it
returns the realm *without* the leading dot.

Also use the profile code to look up individual instance
conversions using [realms]/<realm>/v4_instance_convert/<inst>
This allows special case handling of mit.edu and
lithium.lcs.mit.edu.

t_kerb.c: New file for testing krb library functions.  Currently
only tests krb5_425_conv_principal.

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

29 years agoprof_tree.c (profile_free_node): Copy child->next to a scratch
Theodore Tso [Fri, 5 May 1995 03:58:57 +0000 (03:58 +0000)]
prof_tree.c (profile_free_node): Copy child->next to a scratch
pointer before freeing the node; otherwise we have to
dereference a freed object.

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

29 years ago * krcp.c (answer_auth()): Don't destroy the credential cache
Chris Provenzano [Fri, 5 May 1995 03:54:58 +0000 (03:54 +0000)]
* krcp.c (answer_auth()): Don't destroy the credential cache

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

29 years agoUpdate .Sanitize file to reflect new files that have been added and deleted
Theodore Tso [Thu, 4 May 1995 20:19:50 +0000 (20:19 +0000)]
Update .Sanitize file to reflect new files that have been added and deleted

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

29 years agoNew .Sanitize file for the windows/gss directory
Theodore Tso [Thu, 4 May 1995 19:53:59 +0000 (19:53 +0000)]
New .Sanitize file for the windows/gss directory

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

29 years agoUpdate Sanitize file to reflect file additions, deletions
Theodore Tso [Thu, 4 May 1995 19:50:13 +0000 (19:50 +0000)]
Update Sanitize file to reflect file additions, deletions

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

29 years agoReorganized some sections
Ezra Peisach [Thu, 4 May 1995 18:40:12 +0000 (18:40 +0000)]
Reorganized some sections
Added missing functions

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

29 years ago * put_svc_key.c (put_svc_key): remove spurious & in front of fkey
Tom Yu [Thu, 4 May 1995 14:51:18 +0000 (14:51 +0000)]
* put_svc_key.c (put_svc_key): remove spurious & in front of fkey
(it's a char[] and takint address of it is redundant)

* recvauth.c (krb_recvauth): remove spurious & in front of
reference to kdata->session

* rd_req.c (krb_rd_req): remove spurious & in front of reference
to ad->session

* g_in_tkt.c(decrypt_tkt): remove spurious & in front of reference
to key (it is a C_Block and taking address of it is
redundant)

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

29 years ago * Makefile.in: new includes target to install krb_err.h in
Tom Yu [Thu, 4 May 1995 14:06:24 +0000 (14:06 +0000)]
* Makefile.in: new includes target to install krb_err.h in
$(BUILDTOP)/include; includes depends on krb_err.h.
Previously, it was attempting to install a header that had
not yet been generated!

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

29 years ago * klist.c : Changed progname to argv[0] for consistancy with
Chris Provenzano [Thu, 4 May 1995 08:58:13 +0000 (08:58 +0000)]
* klist.c : Changed progname to argv[0] for consistancy with
kdestroy, and to cleanup the code some.

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

29 years ago * kdestroy.c : Added #include <string.h>
Chris Provenzano [Thu, 4 May 1995 08:57:45 +0000 (08:57 +0000)]
* kdestroy.c : Added #include <string.h>

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

29 years agov5 database..
Ezra Peisach [Thu, 4 May 1995 02:03:40 +0000 (02:03 +0000)]
v5 database..

get_hostname: Needs to set the hostname to all lowercase for entry into the

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

29 years ago * klist.c : #include <string.h>, a must for prototypes of various
Chris Provenzano [Thu, 4 May 1995 00:28:53 +0000 (00:28 +0000)]
* klist.c : #include <string.h>, a must for prototypes of various
string routines on systems where int != void *.

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

29 years ago * krcp.c (answer_auth()): Set auth_context = NULL before using it
Chris Provenzano [Thu, 4 May 1995 00:11:40 +0000 (00:11 +0000)]
* krcp.c (answer_auth()): Set auth_context = NULL before using it

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

29 years ago * telnetd.c: respect HAVE_SYS_TTY_H
Mark Eichin [Wed, 3 May 1995 23:52:11 +0000 (23:52 +0000)]
* telnetd.c: respect HAVE_SYS_TTY_H

(sgi build now completes, though rshd doesn't work.)

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

29 years agoFix reversed sense of #ifdef OLD_SIGNALS to prevent use of calling signal()
Theodore Tso [Wed, 3 May 1995 21:00:41 +0000 (21:00 +0000)]
Fix reversed sense of #ifdef OLD_SIGNALS to prevent use of calling signal()
from within a signal handler; it's not needed if you're using sigaction(), and
it tickles a bug in Solaris.

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

29 years ago * krb5.tex (subsubsection{The krb5_auth_context}): Added
Ezra Peisach [Wed, 3 May 1995 15:38:47 +0000 (15:38 +0000)]
* krb5.tex (subsubsection{The krb5_auth_context}): Added
auth_context routines.

* free.tex: Add krb5_xfree and krb5_free_data.

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

29 years agoAdded prototype for krb5_auth_con_getkey
Ezra Peisach [Wed, 3 May 1995 15:23:07 +0000 (15:23 +0000)]
Added prototype for  krb5_auth_con_getkey

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

29 years agoAdded missing prototype for krb5_auth_con_setports
Ezra Peisach [Wed, 3 May 1995 14:38:25 +0000 (14:38 +0000)]
Added missing prototype for krb5_auth_con_setports

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

29 years ago * kpropd.c: (krb5_recvauth()): No longer needs the rc_type arg
Chris Provenzano [Wed, 3 May 1995 07:49:10 +0000 (07:49 +0000)]
    * kpropd.c: (krb5_recvauth()): No longer needs the rc_type arg

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

29 years ago * recvauth.c, compat_recv.c (krb5_recvauth()):
Chris Provenzano [Wed, 3 May 1995 07:48:48 +0000 (07:48 +0000)]
    * recvauth.c, compat_recv.c (krb5_recvauth()):
* compat_recv.c (krb5_compat_recvauth()):
No longer needs the rc_type arg.

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

29 years ago * adm_process.c: (krb5_recvauth()): No longer needs the rc_type arg
Chris Provenzano [Wed, 3 May 1995 07:48:10 +0000 (07:48 +0000)]
    * adm_process.c: (krb5_recvauth()): No longer needs the rc_type arg

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

29 years ago * krb5.h: (krb5_recvauth()): No longer needs the rc_type arg
Chris Provenzano [Wed, 3 May 1995 07:47:50 +0000 (07:47 +0000)]
* krb5.h: (krb5_recvauth()): No longer needs the rc_type arg

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

29 years ago * client.c: (krb5_recvauth()): No longer needs the rc_type arg
Chris Provenzano [Wed, 3 May 1995 07:47:23 +0000 (07:47 +0000)]
    * client.c: (krb5_recvauth()): No longer needs the rc_type arg

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

29 years ago * sserver.c: (krb5_recvauth()): No longer needs the rc_type arg
Chris Provenzano [Wed, 3 May 1995 07:46:59 +0000 (07:46 +0000)]
    * sserver.c: (krb5_recvauth()): No longer needs the rc_type arg

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

29 years ago * pop_init.c: (krb5_recvauth()): No longer needs the rc_type arg
Chris Provenzano [Wed, 3 May 1995 07:46:35 +0000 (07:46 +0000)]
    * pop_init.c: (krb5_recvauth()): No longer needs the rc_type arg

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