krb5.git
32 years agoChecked in jfc's changes
Theodore Tso [Tue, 9 Jun 1992 21:19:12 +0000 (21:19 +0000)]
Checked in jfc's changes

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

32 years agokrb5_princ_realm -> krb5_princ_set_realm
John Carr [Tue, 9 Jun 1992 18:38:03 +0000 (18:38 +0000)]
krb5_princ_realm -> krb5_princ_set_realm

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

32 years agokrb5_principal type changes
John Carr [Tue, 9 Jun 1992 18:37:36 +0000 (18:37 +0000)]
krb5_principal type changes

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

32 years agoPrincipal structure changes
John Carr [Tue, 9 Jun 1992 17:17:23 +0000 (17:17 +0000)]
Principal structure changes

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

32 years agoApplied Bill Sommerfeld's patches
Theodore Tso [Tue, 9 Jun 1992 15:26:25 +0000 (15:26 +0000)]
Applied Bill Sommerfeld's patches

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

32 years agostrdup(0) now returns 0
Theodore Tso [Tue, 9 Jun 1992 14:57:05 +0000 (14:57 +0000)]
strdup(0) now returns 0

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

32 years agoFixed to use new krb5_principal structure
Theodore Tso [Tue, 9 Jun 1992 11:33:53 +0000 (11:33 +0000)]
Fixed to use new krb5_principal structure

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

32 years agoAdded depend target
Theodore Tso [Sat, 6 Jun 1992 00:04:11 +0000 (00:04 +0000)]
Added depend target

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

32 years agoAdded depend target
Theodore Tso [Sat, 6 Jun 1992 00:00:58 +0000 (00:00 +0000)]
Added depend target

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

32 years agoLength of realm name is "realmsize", not "size"
John Carr [Fri, 29 May 1992 12:14:45 +0000 (12:14 +0000)]
Length of realm name is "realmsize", not "size"

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

32 years agoFixed fence post errors; assigned the principal type
Theodore Tso [Fri, 29 May 1992 03:25:04 +0000 (03:25 +0000)]
Fixed fence post errors; assigned the principal type

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

32 years agoChecked in John Carr's changes
Theodore Tso [Fri, 29 May 1992 02:57:07 +0000 (02:57 +0000)]
Checked in John Carr's changes

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

32 years agoAdded new error codes which appeared in the krb5 protocol draft
Theodore Tso [Tue, 19 May 1992 16:57:06 +0000 (16:57 +0000)]
Added new error codes which appeared in the krb5 protocol draft
(errorcodes 18 through 23)

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

32 years agoAdded pre-authentication type for DASS
Theodore Tso [Fri, 24 Apr 1992 03:00:48 +0000 (03:00 +0000)]
Added pre-authentication type for DASS

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

32 years agoDelete unused variable.
John Carr [Thu, 9 Apr 1992 17:56:50 +0000 (17:56 +0000)]
Delete unused variable.
Remove extra {} around client_principal initialization.

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

32 years agoFix sign error
John Carr [Wed, 8 Apr 1992 20:25:49 +0000 (20:25 +0000)]
Fix sign error

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

32 years agoAllow command line option to select port number
John Carr [Wed, 8 Apr 1992 15:44:47 +0000 (15:44 +0000)]
Allow command line option to select port number

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

32 years agoRemove call to xfree (not needed and value freed might be
John Carr [Wed, 8 Apr 1992 15:15:26 +0000 (15:15 +0000)]
Remove call to xfree (not needed and value freed might be
uninitialized).
Fix arg to malloc call (sizeof (x) should have been (x)).

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

32 years ago*** empty log message ***
John Carr [Tue, 31 Mar 1992 12:39:49 +0000 (12:39 +0000)]
*** empty log message ***

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

32 years agoInitial revision
John Carr [Thu, 26 Mar 1992 04:17:38 +0000 (04:17 +0000)]
Initial revision

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

32 years agoChange '-' to '_' in directory name
John Carr [Wed, 25 Mar 1992 15:06:47 +0000 (15:06 +0000)]
Change '-' to '_' in directory name

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

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