krb5.git
32 years agosed hack needed for SunOS
John Carr [Wed, 25 Mar 1992 15:05:52 +0000 (15:05 +0000)]
sed hack needed for SunOS

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

32 years agoSupport alternate source directory
John Carr [Wed, 25 Mar 1992 15:05:27 +0000 (15:05 +0000)]
Support alternate source directory

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

32 years agoSupport for alternate source directory.
John Carr [Wed, 25 Mar 1992 15:03:15 +0000 (15:03 +0000)]
Support for alternate source directory.
Make sed hack conditional.

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

32 years agoRemove unused variable
John Carr [Wed, 25 Mar 1992 15:00:22 +0000 (15:00 +0000)]
Remove unused variable

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

32 years agoFix cast of dbm_open return value
John Carr [Wed, 25 Mar 1992 14:59:57 +0000 (14:59 +0000)]
Fix cast of dbm_open return value

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

32 years agoChanges for alternate source directory: prefix source filenames
John Carr [Wed, 25 Mar 1992 14:59:06 +0000 (14:59 +0000)]
Changes for alternate source directory: prefix source filenames
with $(SRCDIR), add -I. to CFLAGS.
Add real depend target.

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

32 years agoSimplify cleanup macro
John Carr [Wed, 25 Mar 1992 14:58:33 +0000 (14:58 +0000)]
Simplify cleanup macro

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

32 years agoAdd md5 checksum
John Carr [Wed, 25 Mar 1992 14:57:47 +0000 (14:57 +0000)]
Add md5 checksum

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

32 years agoAdd "all" target
John Carr [Wed, 25 Mar 1992 14:57:30 +0000 (14:57 +0000)]
Add "all" target

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

32 years agoAdd md5 checksum types and DES+MD4 and DES+MD5 encryption types
John Carr [Wed, 25 Mar 1992 14:55:35 +0000 (14:55 +0000)]
Add md5 checksum types and DES+MD4 and DES+MD5 encryption types

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

32 years agoAdd $(SRCDIR) prefix to source files
John Carr [Wed, 25 Mar 1992 06:36:07 +0000 (06:36 +0000)]
Add $(SRCDIR) prefix to source files

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

32 years agoRemove krb5_walk_realm_tree declaration
John Carr [Wed, 25 Mar 1992 06:35:31 +0000 (06:35 +0000)]
Remove krb5_walk_realm_tree declaration

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

32 years agoMake sed hack for asn.1/Makefile conditional.
John Carr [Wed, 25 Mar 1992 06:34:16 +0000 (06:34 +0000)]
Make sed hack for asn.1/Makefile conditional.
Rename directories to remove hyphens.

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

32 years agoAdd md5
John Carr [Wed, 25 Mar 1992 06:32:26 +0000 (06:32 +0000)]
Add md5

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

32 years agoMake sure the ticket in the TGS request is for the ticket granting service.
John Carr [Thu, 12 Mar 1992 02:27:21 +0000 (02:27 +0000)]
Make sure the ticket in the TGS request is for the ticket granting service.
Add local variable for encrypted ticket pointer.

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

32 years agoRemove extra '%' from fprintf format string
John Carr [Sun, 1 Mar 1992 17:42:22 +0000 (17:42 +0000)]
Remove extra '%' from fprintf format string

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

32 years agokrb5_free_realm_tree is declared in func-proto.h
John Carr [Sat, 29 Feb 1992 20:29:15 +0000 (20:29 +0000)]
krb5_free_realm_tree is declared in func-proto.h
Delete the declaration here.

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

32 years agoUse ANSI stdio features iff ANSI_STDIO defined
John Carr [Sat, 29 Feb 1992 20:19:38 +0000 (20:19 +0000)]
Use ANSI stdio features iff ANSI_STDIO defined

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

32 years agoDelete include of <isode/psap.h>: it was not needed
John Carr [Fri, 28 Feb 1992 18:24:38 +0000 (18:24 +0000)]
Delete include of <isode/psap.h>: it was not needed

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

32 years ago"from" field is optional
John Carr [Tue, 25 Feb 1992 16:07:29 +0000 (16:07 +0000)]
"from" field is optional

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

32 years agoAdd cast to addr argument to bind()
John Carr [Sun, 23 Feb 1992 12:32:28 +0000 (12:32 +0000)]
Add cast to addr argument to bind()

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

32 years ago#include <stdio.h> first; use correct cast for call to connect
John Carr [Sun, 23 Feb 1992 12:31:56 +0000 (12:31 +0000)]
#include <stdio.h> first; use correct cast for call to connect

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

32 years agoDon't use flock() on AIX
John Carr [Sun, 23 Feb 1992 12:31:33 +0000 (12:31 +0000)]
Don't use flock() on AIX

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

32 years agoDon't build telnet
John Carr [Sun, 23 Feb 1992 12:30:33 +0000 (12:30 +0000)]
Don't build telnet

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

32 years agoSupport POSIX file locking.
John Carr [Sun, 23 Feb 1992 12:29:25 +0000 (12:29 +0000)]
Support POSIX file locking.
Use fstat() instead of stat().

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

32 years agoignore some more files
John Carr [Sun, 23 Feb 1992 12:28:56 +0000 (12:28 +0000)]
ignore some more files

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

32 years agoUse cc -pipe on a sun
John Carr [Sun, 23 Feb 1992 12:28:42 +0000 (12:28 +0000)]
Use cc -pipe on a sun

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

32 years agoDelete "\" added to work around imake problems; the fix was insufficient
John Carr [Sun, 23 Feb 1992 12:27:37 +0000 (12:27 +0000)]
Delete "\" added to work around imake problems; the fix was insufficient
and a different fix has been made in lib/Imakefile and lib/asn.1/Imakefile.
Add default IsodeLib definition.

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

32 years agoUse cp -p to copy files
John Carr [Sun, 23 Feb 1992 12:27:13 +0000 (12:27 +0000)]
Use cp -p to copy files

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

32 years ago#include <krb5/sysincl.h>
John Carr [Sun, 23 Feb 1992 12:26:54 +0000 (12:26 +0000)]
#include <krb5/sysincl.h>

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

32 years agoAdd hack to work around imake problems on some systems when building
John Carr [Sun, 23 Feb 1992 12:26:14 +0000 (12:26 +0000)]
Add hack to work around imake problems on some systems when building
asn.1/Makefile.

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

32 years agoAdd cast
John Carr [Sun, 23 Feb 1992 12:25:59 +0000 (12:25 +0000)]
Add cast

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

32 years agoindex -> strchr
John Carr [Sun, 23 Feb 1992 12:25:36 +0000 (12:25 +0000)]
index -> strchr

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

32 years agoInstall include files.
John Carr [Sun, 23 Feb 1992 12:24:38 +0000 (12:24 +0000)]
Install include files.
Add hack to work around problems with imake on some systems with
SYSV style C preprocessors.

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

32 years agoInclude <krb5/sysincl.h> to get time include files
John Carr [Sun, 23 Feb 1992 12:22:44 +0000 (12:22 +0000)]
Include <krb5/sysincl.h> to get time include files

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

32 years agoUse fork() when vfork() isn't available.
John Carr [Sun, 23 Feb 1992 12:21:47 +0000 (12:21 +0000)]
Use fork() when vfork() isn't available.
Use "int" instead of "union wait" on SYSV, AIX, and POSIX.

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

32 years agoAdd new error code: KRB5_KDB_DB_CORRUPT
John Carr [Sun, 23 Feb 1992 12:21:05 +0000 (12:21 +0000)]
Add new error code: KRB5_KDB_DB_CORRUPT

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

32 years agoInstall header files
John Carr [Sun, 23 Feb 1992 12:20:45 +0000 (12:20 +0000)]
Install header files

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

32 years ago<sys/errno.h> -> <errno.h>
John Carr [Sun, 23 Feb 1992 12:20:06 +0000 (12:20 +0000)]
<sys/errno.h> -> <errno.h>

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

32 years agoAIX 3.1 support: work around include file bug; include <sys/access.h>
John Carr [Sun, 23 Feb 1992 12:19:28 +0000 (12:19 +0000)]
AIX 3.1 support: work around include file bug; include <sys/access.h>

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

32 years agoAlways include <krb5/sysincl.h>
John Carr [Sun, 23 Feb 1992 12:18:58 +0000 (12:18 +0000)]
Always include <krb5/sysincl.h>

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

32 years agoUse connect() and send() instead of sendto() for better
John Carr [Sun, 23 Feb 1992 12:18:19 +0000 (12:18 +0000)]
Use connect() and send() instead of sendto() for better
error detection.

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

32 years agosizeof (int) -> 4 bytes, because this is supposed to be a portable
John Carr [Sun, 23 Feb 1992 12:17:37 +0000 (12:17 +0000)]
sizeof (int) -> 4 bytes, because this is supposed to be a portable
binary representation.
Fix bug in writing length.

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

32 years agosizeof(int) -> 4 bytes, because this is intended to be a portable
John Carr [Sun, 23 Feb 1992 12:16:09 +0000 (12:16 +0000)]
sizeof(int) -> 4 bytes, because this is intended to be a portable
binary representation.

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

32 years agoMake use of ANSI stdio configurable
John Carr [Sun, 23 Feb 1992 12:15:30 +0000 (12:15 +0000)]
Make use of ANSI stdio configurable

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

32 years agoCompare key lengths before comparing key data
John Carr [Sun, 23 Feb 1992 12:15:07 +0000 (12:15 +0000)]
Compare key lengths before comparing key data

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

32 years agoMajor rewrite for a more portable data format
John Carr [Sun, 23 Feb 1992 12:13:59 +0000 (12:13 +0000)]
Major rewrite for a more portable data format

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

32 years agoRemove inappropriate __STDC__ test
John Carr [Sun, 23 Feb 1992 12:12:50 +0000 (12:12 +0000)]
Remove inappropriate __STDC__ test

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

32 years ago"realms" argument is not const
John Carr [Sun, 23 Feb 1992 12:12:09 +0000 (12:12 +0000)]
"realms" argument is not const

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

32 years agoFix arg to krb5_finish_random_key()
John Carr [Sun, 23 Feb 1992 12:11:44 +0000 (12:11 +0000)]
Fix arg to krb5_finish_random_key()

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

32 years agoMake use of "const", "volatile", "void", and ANSI stdio configurable
John Carr [Sun, 23 Feb 1992 12:10:21 +0000 (12:10 +0000)]
Make use of "const", "volatile", "void", and ANSI stdio configurable

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

32 years agoFix arg type for decoder_func
John Carr [Sun, 23 Feb 1992 12:09:57 +0000 (12:09 +0000)]
Fix arg type for decoder_func

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

32 years agoinstall header files
John Carr [Sun, 23 Feb 1992 12:09:23 +0000 (12:09 +0000)]
install header files

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

32 years agoMake use of "const" and "volatile" configurable
John Carr [Sun, 23 Feb 1992 12:08:44 +0000 (12:08 +0000)]
Make use of "const" and "volatile" configurable

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

32 years agoNew MIT copyright notice
John Carr [Sun, 23 Feb 1992 12:08:20 +0000 (12:08 +0000)]
New MIT copyright notice

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

32 years agoAlways include <sys/file.h>; on AIX or SYSV include <fcntl.h> too
John Carr [Sun, 23 Feb 1992 12:07:27 +0000 (12:07 +0000)]
Always include <sys/file.h>; on AIX or SYSV include <fcntl.h> too

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

32 years agoChange include path from "error_tables/foo" to <krb5/foo>
John Carr [Sun, 23 Feb 1992 12:06:45 +0000 (12:06 +0000)]
Change include path from "error_tables/foo" to <krb5/foo>

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

32 years agoDeclare krb5_free_realm_tree()
John Carr [Sun, 23 Feb 1992 12:06:25 +0000 (12:06 +0000)]
Declare krb5_free_realm_tree()

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

32 years agoChange include path from "asn.1/foo" to <krb5/asn.1/foo>
John Carr [Sun, 23 Feb 1992 12:05:47 +0000 (12:05 +0000)]
Change include path from "asn.1/foo" to <krb5/asn.1/foo>

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

32 years agoSet umask to 077 on entry so that output files created with stdio
John Carr [Sun, 23 Feb 1992 12:04:58 +0000 (12:04 +0000)]
Set umask to 077 on entry so that output files created with stdio
will not be world-readable.

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

32 years agoImprove error checking
John Carr [Sun, 23 Feb 1992 12:04:11 +0000 (12:04 +0000)]
Improve error checking

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

32 years agoDocument -t, -K, and -v options
John Carr [Sun, 23 Feb 1992 12:03:36 +0000 (12:03 +0000)]
Document -t, -K, and -v options

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

32 years agoAdd krb5_dbm_db_open_database() and
John Carr [Sun, 23 Feb 1992 11:52:23 +0000 (11:52 +0000)]
Add krb5_dbm_db_open_database() and
krb5_dbm_db_close_database().

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

32 years agoAdd option '-t' to make a temporary database and rename it into place.
John Carr [Sun, 23 Feb 1992 11:50:36 +0000 (11:50 +0000)]
Add option '-t' to make a temporary database and rename it into place.
Call krb5_dbm_open_database() to avoid overhead of multiple calls
to dbm_open().
Improve error detection.

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

32 years agoAdd two functions: krb5_dbm_db_open_database() and
John Carr [Sun, 23 Feb 1992 11:48:31 +0000 (11:48 +0000)]
Add two functions: krb5_dbm_db_open_database() and
krb5_dbm_db_close_database() to keep the file open
over multiple calls to put_principal().
Replace stat(), open() with open(), fstat().

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

32 years agoUse vfork only on BSD systems, and union wait only on BSD systems
John Carr [Tue, 11 Feb 1992 03:19:24 +0000 (03:19 +0000)]
Use vfork only on BSD systems, and union wait only on BSD systems
prior to 4.3 Reno.

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

32 years agoAdd debugging, fix printf calls
John Carr [Tue, 11 Feb 1992 03:12:06 +0000 (03:12 +0000)]
Add debugging, fix printf calls

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

32 years agoInclude <krb5/sysincl.h> and <netinet/in.h>. The former is needed
John Carr [Tue, 11 Feb 1992 03:00:01 +0000 (03:00 +0000)]
Include <krb5/sysincl.h> and <netinet/in.h>.  The former is needed
for proper time includes on AIX; the latter makes sure that a
definition of ntohl is available.

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

32 years agoAdd -v option for verbose output.
John Carr [Tue, 11 Feb 1992 02:48:07 +0000 (02:48 +0000)]
Add -v option for verbose output.
Default to using stored master key (instead of requiring operator
input).
Correct error detection on input.
Use memcpy instead of bcopy.

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

32 years agoImprove install configuration.
John Carr [Mon, 13 Jan 1992 14:37:58 +0000 (14:37 +0000)]
Improve install configuration.
Use -L/usr/athena/lib and -I/usr/athena/include.

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

32 years agopepsy 7.0 needs -C to work with Kerberos
John Carr [Mon, 13 Jan 1992 14:36:10 +0000 (14:36 +0000)]
pepsy 7.0 needs -C to work with Kerberos
Add new variables to set level of ANSI C support.
Add install configuration options.

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

32 years agoNew variables to describe level of ANSI C support
John Carr [Mon, 13 Jan 1992 14:34:03 +0000 (14:34 +0000)]
New variables to describe level of ANSI C support

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

33 years agoFixes from pato@apollo.com:
John Carr [Fri, 20 Dec 1991 08:29:33 +0000 (08:29 +0000)]
Fixes from pato@apollo.com:
1. allow extra whitespace in file
2. fix comparison of realm names to avoid prefix matches
3. reduce calls to realloc()

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

33 years agoDeclare convtime() static.
John Carr [Fri, 6 Dec 1991 14:09:30 +0000 (14:09 +0000)]
Declare convtime() static.
Print "password incorrect" if the password is incorrect.

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

33 years agoStore the length field of the encrypted key in network byte order
John Carr [Fri, 6 Dec 1991 13:18:16 +0000 (13:18 +0000)]
Store the length field of the encrypted key in network byte order

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

33 years agoAdded backslash before colon in the PepsyTarget() rule to stop imake on
Theodore Tso [Wed, 2 Oct 1991 17:38:42 +0000 (17:38 +0000)]
Added backslash before colon in the PepsyTarget() rule to stop imake on
Sun's from screwing up.

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

33 years agoIntegrate changes from James Bottomley at UK to make this work on
Theodore Tso [Wed, 2 Oct 1991 17:32:16 +0000 (17:32 +0000)]
Integrate changes from James Bottomley at UK to make this work on
Sun's.

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

33 years agoIntegrated Bill Sommerfeld's kinit lifetime parsing changes
Theodore Tso [Wed, 2 Oct 1991 17:23:55 +0000 (17:23 +0000)]
Integrated Bill Sommerfeld's kinit lifetime parsing changes

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

33 years agoApplied patch from Bill Sommerfeld at Apollo
Theodore Tso [Thu, 29 Aug 1991 17:45:49 +0000 (17:45 +0000)]
Applied patch from Bill Sommerfeld at Apollo

The following patch to klist.c (relative to the beta-1 release)
improves the output formatting a bit.

a) Expired tickets (relative to the local clock) are reported as
EXPIRED, in large unfriendly letters.

b) Timestamp printing is collected into one procedure (better
modularity)

c) if the client name is the same as the default name, it's not
printed.

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

33 years agoFixed spelling mistakes
Theodore Tso [Tue, 20 Aug 1991 19:18:43 +0000 (19:18 +0000)]
Fixed spelling mistakes

Change to avoid fscanf() into a character array; make it go into a temporary
variable first, and then copy it in, character by character.

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

33 years agochange first arg of krb5_get_server_rcache to a krb5_data *
John Kohl [Fri, 19 Jul 1991 16:55:44 +0000 (16:55 +0000)]
change first arg of krb5_get_server_rcache to a krb5_data *

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

33 years agomake input a krb5_data rather than null-term string
John Kohl [Fri, 19 Jul 1991 16:53:13 +0000 (16:53 +0000)]
make input a krb5_data rather than null-term string

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

33 years agoupdate krb5_get_server_rcache
John Kohl [Fri, 19 Jul 1991 16:47:57 +0000 (16:47 +0000)]
update krb5_get_server_rcache

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

33 years agoAdded more robustness to the PepsyTarget rule
Theodore Tso [Mon, 1 Jul 1991 16:27:02 +0000 (16:27 +0000)]
Added more robustness to the PepsyTarget rule

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

33 years agoMade PepsyTarget() rule more robust by allowing basename-types.h to
Theodore Tso [Sat, 29 Jun 1991 17:27:16 +0000 (17:27 +0000)]
Made PepsyTarget() rule more robust by allowing basename-types.h to
be created even if basename_tables.c already exists.

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

33 years agosome more subtle changes for ODBM/non-ODBM changes to make the master
John Kohl [Fri, 14 Jun 1991 15:47:49 +0000 (15:47 +0000)]
some more subtle changes for ODBM/non-ODBM changes to make the master
key comparison work properly.

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

33 years agoadd code to read v4 database dumps
John Kohl [Fri, 14 Jun 1991 15:24:43 +0000 (15:24 +0000)]
add code to read v4 database dumps

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

33 years agodescribe -f option
John Kohl [Fri, 14 Jun 1991 15:23:52 +0000 (15:23 +0000)]
describe -f option

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

33 years agoconvert can now handle non-NDBM sites
John Kohl [Fri, 14 Jun 1991 15:22:58 +0000 (15:22 +0000)]
convert can now handle non-NDBM sites

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

33 years agowith POSIX locks, we gotta have the file open for write if we want to flock
John Kohl [Fri, 14 Jun 1991 15:21:49 +0000 (15:21 +0000)]
with POSIX locks, we gotta have the file open for write if we want to flock

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

33 years agoadd KRB5_KDB_CANTLOCK_DB
John Kohl [Fri, 14 Jun 1991 15:13:38 +0000 (15:13 +0000)]
add KRB5_KDB_CANTLOCK_DB

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

33 years agoadd convert to list, with NDBM magic
John Kohl [Fri, 14 Jun 1991 11:42:29 +0000 (11:42 +0000)]
add convert to list, with NDBM magic

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

33 years agoInitial revision
John Kohl [Fri, 14 Jun 1991 11:38:29 +0000 (11:38 +0000)]
Initial revision

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

33 years ago*** empty log message ***
John Kohl [Fri, 14 Jun 1991 11:28:58 +0000 (11:28 +0000)]
*** empty log message ***

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

33 years agochange kdb to kdb5
John Kohl [Fri, 14 Jun 1991 08:52:24 +0000 (08:52 +0000)]
change kdb to kdb5

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

33 years agochange "TGS" to "KDC"
John Kohl [Thu, 13 Jun 1991 14:14:59 +0000 (14:14 +0000)]
change "TGS" to "KDC"

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

33 years agothere's a better way to make these "must be the same" items; define a
John Kohl [Thu, 13 Jun 1991 14:09:59 +0000 (14:09 +0000)]
there's a better way to make these "must be the same" items; define a
sub-type, tag that for each one, and it all works.  The on-the-wire
encoding is the same whether the tag is in-line with the sequence or
attached to the pointer, and the ISODE code turns out to work the same
anyway.

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

33 years agoremove files no longer needed with some updated ASN.1 frobbery
John Kohl [Thu, 13 Jun 1991 14:01:43 +0000 (14:01 +0000)]
remove files no longer needed with some updated ASN.1 frobbery

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

33 years agoupdates for cleaned-up ASN.1 on a few items
John Kohl [Thu, 13 Jun 1991 13:59:39 +0000 (13:59 +0000)]
updates for cleaned-up ASN.1 on a few items

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

33 years agoUse $(STDC_TOP_INCLUDES) to identify the include directory
Theodore Tso [Fri, 7 Jun 1991 15:59:56 +0000 (15:59 +0000)]
Use $(STDC_TOP_INCLUDES) to identify the include directory

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