krb5.git
29 years agoAllow kdc_hammer to be called on an arbitrary realm
Theodore Tso [Mon, 24 Oct 1994 18:33:19 +0000 (18:33 +0000)]
Allow kdc_hammer to be called on an arbitrary realm

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

29 years agokdb5_verify.c: Check principals with correct realm name
Theodore Tso [Mon, 24 Oct 1994 18:32:22 +0000 (18:32 +0000)]
kdb5_verify.c: Check principals with correct realm name

configure.in: Look for ndbm or dbm libraries

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

29 years agokdb5_mkdums.c: Create principals with correct realm name
Theodore Tso [Mon, 24 Oct 1994 18:31:38 +0000 (18:31 +0000)]
kdb5_mkdums.c: Create principals with correct realm name

configure.in: Look for ndbm or dbm libraries

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

29 years agoDo checks for depth = 5
Theodore Tso [Mon, 24 Oct 1994 18:30:23 +0000 (18:30 +0000)]
Do checks for depth = 5

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

29 years agoDon't need to define POSIX_FILE_LOCKS; just include config.h instead
Theodore Tso [Mon, 24 Oct 1994 18:29:22 +0000 (18:29 +0000)]
Don't need to define POSIX_FILE_LOCKS; just include config.h instead

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

29 years agoRemove header file from include directory when doing a make clean
Theodore Tso [Mon, 24 Oct 1994 18:26:59 +0000 (18:26 +0000)]
Remove header file from include directory when doing a make clean

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

29 years agosanity checkin again
Tom Yu [Fri, 21 Oct 1994 04:54:27 +0000 (04:54 +0000)]
sanity checkin again

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

29 years agoSelect the cryptosystem to be used using krb5_use_cstype() instead of
Theodore Tso [Wed, 19 Oct 1994 22:55:34 +0000 (22:55 +0000)]
Select the cryptosystem to be used using krb5_use_cstype() instead of
using a implementation specific assignment.  Also, allow the
encryption type to be specified using a command line option.

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

29 years agoChange one last variable to be an unsigned char
Theodore Tso [Wed, 19 Oct 1994 21:36:58 +0000 (21:36 +0000)]
Change one last variable to be an unsigned char

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

29 years agoAdd other termios c_cc initializations for the ALPHA
Theodore Tso [Wed, 19 Oct 1994 16:41:45 +0000 (16:41 +0000)]
Add other termios c_cc initializations for the ALPHA

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

29 years agoMake protocol buffers be unsigned, since we're comparing against
Theodore Tso [Wed, 19 Oct 1994 16:39:09 +0000 (16:39 +0000)]
Make protocol buffers be unsigned, since we're comparing against
unsigned data.

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

29 years agoObey CCOPTS in CFLAGS declaration
Theodore Tso [Wed, 19 Oct 1994 16:33:41 +0000 (16:33 +0000)]
Obey CCOPTS in CFLAGS declaration

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

29 years agoDon't use LDFLAGS, but CCFLAGS since CCFLAGS is configurable
Theodore Tso [Wed, 19 Oct 1994 16:28:43 +0000 (16:28 +0000)]
Don't use LDFLAGS, but CCFLAGS since CCFLAGS is configurable

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

29 years agoLook for man page in the source directory
Theodore Tso [Wed, 19 Oct 1994 16:22:19 +0000 (16:22 +0000)]
Look for man page in the source directory

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

29 years agoFix missing $(DESTDIR) in "make install" lines
Theodore Tso [Wed, 19 Oct 1994 16:21:44 +0000 (16:21 +0000)]
Fix missing $(DESTDIR) in "make install" lines

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

29 years agoExit with a non-zero exit status when the test suite detects any errors
Theodore Tso [Wed, 19 Oct 1994 15:58:23 +0000 (15:58 +0000)]
Exit with a non-zero exit status when the test suite detects any errors

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

29 years agoClear the kvno field when destroying encrypted data
Theodore Tso [Wed, 19 Oct 1994 15:46:04 +0000 (15:46 +0000)]
Clear the kvno field when destroying encrypted data

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

29 years agoasn1_decode_k.c (asn1_decode_kdc_req_body): If the authorization field
Theodore Tso [Wed, 19 Oct 1994 15:45:23 +0000 (15:45 +0000)]
asn1_decode_k.c (asn1_decode_kdc_req_body): If the authorization field
is not present, fill in the authorization data fields with all zeros.
Don't set kvno (that's *key* version number, not *Kerberos* version
number) to 5.

err2kerr.c (KRB5_KRB__ERROR2krb5_error): The e_data field wasn't being
decoded when it should have been.

qbuf2data.c (qbuf2krb5_data): Set magic number field to zero.

tgrq2ktgrq.c (KRB5_KDC__REQ__BODY2krb5_kdc_req): Allow the service
principal to be optional.

ktgrq2tgrq.c (krb5_kdc_req2KRB5_KDC__REQ__BODY): ditto

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

29 years agosanity checkin
Tom Yu [Wed, 19 Oct 1994 15:14:29 +0000 (15:14 +0000)]
sanity checkin

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

29 years agoMakefile.in: "make check" depends on krb5_decode_test and
Theodore Tso [Wed, 19 Oct 1994 14:37:37 +0000 (14:37 +0000)]
Makefile.in: "make check" depends on krb5_decode_test and
krb5_encode_test being up to date.

ktest_equal.c: Don't segfault if one of the arguments is NULL and the
other is not in array_compare.

krb5_decode_test.c: Use krb5_init_ets() instead of explicitly naming
the error tables to initialize.

utility.c: Remove unused routine, and return EINVAL instead of
ASN1_PARSE_ERROR in krb5_data_hex_parse, since the ASN1 error codes
aren't defined if the ISODE routines are being used.

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

29 years ago * krlogind.c: use HAVE_STREAMS, fix TIOCPKT_* test
Mark Eichin [Tue, 18 Oct 1994 20:25:34 +0000 (20:25 +0000)]
* krlogind.c: use HAVE_STREAMS, fix TIOCPKT_* test

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

29 years ago * raw-des.c (mit_raw_des_decrypt_func): ditto.
Mark Eichin [Tue, 18 Oct 1994 20:14:53 +0000 (20:14 +0000)]
* raw-des.c (mit_raw_des_decrypt_func): ditto.
(mit_raw_des_encrypt_func): ditto.
* des-md5.c (mit_des_md5_decrypt_funct): cast zero_ivec.
(mit_des_md5_encrypt_funct): ditto.

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

29 years ago * des-crc.c (mit_des_crc_decrypt_func): cast key->key->contents to
Mark Eichin [Tue, 18 Oct 1994 19:51:53 +0000 (19:51 +0000)]
* des-crc.c (mit_des_crc_decrypt_func): cast key->key->contents to
krb5_pointer to satisfy sunos cc about :? argument types.
(mit_des_crc_encrypt_funct): ditto.

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

29 years ago * configure.in (HAVE_STREAMS): test for streams interface headers
Mark Eichin [Tue, 18 Oct 1994 19:50:06 +0000 (19:50 +0000)]
* configure.in (HAVE_STREAMS): test for streams interface headers
in a way that fails on sunos but works on solaris.
* krlogin.c: use HAVE_STREAMS.

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

29 years agoadd sort for make check
Mark Eichin [Tue, 18 Oct 1994 18:53:08 +0000 (18:53 +0000)]
add sort for make check

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

29 years agoClean up the test.out file
Theodore Tso [Mon, 17 Oct 1994 19:28:15 +0000 (19:28 +0000)]
Clean up the test.out file

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

30 years agoAdd ISODE_DEFS
Theodore Tso [Sat, 15 Oct 1994 03:53:49 +0000 (03:53 +0000)]
Add ISODE_DEFS

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

30 years agoAdd ISODE_DEFS
Theodore Tso [Sat, 15 Oct 1994 03:45:39 +0000 (03:45 +0000)]
Add ISODE_DEFS

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

30 years agoClean up the test.out file
Theodore Tso [Fri, 14 Oct 1994 23:48:53 +0000 (23:48 +0000)]
Clean up the test.out file

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

30 years agoFix typo in spelling of KRB5_USE_ISODE
Theodore Tso [Fri, 14 Oct 1994 23:46:12 +0000 (23:46 +0000)]
Fix typo in spelling of KRB5_USE_ISODE

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

30 years agoAdd the ISODE_DEFS rule
Theodore Tso [Fri, 14 Oct 1994 23:35:28 +0000 (23:35 +0000)]
Add the ISODE_DEFS rule

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

30 years agoWhen scanning a database entry, read fail_auth_count into a temporary
Theodore Tso [Fri, 14 Oct 1994 23:34:38 +0000 (23:34 +0000)]
When scanning a database entry, read fail_auth_count into a temporary
integer variable, and then copy that into entry.fail_auth_count, which
is a char.

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

30 years agoMove the various flavors of cryptosystem support -- raw des, des-md5, des-crc
Theodore Tso [Fri, 14 Oct 1994 17:29:10 +0000 (17:29 +0000)]
Move the various flavors of cryptosystem support -- raw des, des-md5, des-crc
to the top level crypto library.

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

30 years agoAdd declaration for krb5_des_md5_cst_entry
Theodore Tso [Fri, 14 Oct 1994 16:28:05 +0000 (16:28 +0000)]
Add declaration for krb5_des_md5_cst_entry

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

30 years agoUse POSIX_FILE_LOCKS if _POSIX_VERSION is defined in unistd.h
Theodore Tso [Fri, 14 Oct 1994 04:58:50 +0000 (04:58 +0000)]
Use POSIX_FILE_LOCKS if _POSIX_VERSION is defined in unistd.h

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

30 years agoChange name of the des_crc cryptosystem from krb5_des_cst_entry to
Theodore Tso [Fri, 14 Oct 1994 04:41:00 +0000 (04:41 +0000)]
Change name of the des_crc cryptosystem from krb5_des_cst_entry to
krb5_des_crc_cst_entry.

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

30 years agoDefine PROVIDE_DES_CBC_MD5 so that we include this new cryptosystem
Theodore Tso [Fri, 14 Oct 1994 04:39:39 +0000 (04:39 +0000)]
Define PROVIDE_DES_CBC_MD5 so that we include this new cryptosystem

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

30 years agoAdd support for the new cryptosystem DES/MD5
Theodore Tso [Fri, 14 Oct 1994 04:38:45 +0000 (04:38 +0000)]
Add support for the new cryptosystem DES/MD5

Add support for new files des-crc.c, des-md5.c, and raw-des.c

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

30 years agoRemove declarations of the cryptosystem specific structures to
Theodore Tso [Fri, 14 Oct 1994 04:36:50 +0000 (04:36 +0000)]
Remove declarations of the cryptosystem specific structures to
raw-des.c and des-crc.c in the parent directory.  They're strictly
speaking not DES specific.

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

30 years agoSelect the cryptosystem to be used using krb5_use_cstype() instead of
Theodore Tso [Fri, 14 Oct 1994 04:32:13 +0000 (04:32 +0000)]
Select the cryptosystem to be used using krb5_use_cstype() instead of
using a implementation specific assignment.  Also, allow the
encryption type to be specified using a command line option.

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

30 years agoDon't assume that the request server's realm name is null terminated.
Theodore Tso [Fri, 14 Oct 1994 04:31:01 +0000 (04:31 +0000)]
Don't assume that the request server's realm name is null terminated.
Compare the request server against changepw/kerberos using
krb5_principal_compare.

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

30 years agoCast char pointer to the expected unsigned char pointer, since that's
Theodore Tso [Fri, 14 Oct 1994 04:23:12 +0000 (04:23 +0000)]
Cast char pointer to the expected unsigned char pointer, since that's
what MDUpdate requires.

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

30 years agoRemove symlinked files on make clean
Theodore Tso [Fri, 14 Oct 1994 04:21:47 +0000 (04:21 +0000)]
Remove symlinked files on make clean

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

30 years agoNo point putting RFC's in the krb5 sources
Theodore Tso [Thu, 13 Oct 1994 22:04:52 +0000 (22:04 +0000)]
No point putting RFC's in the krb5 sources

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

30 years agoAdd support for the MDx test driver t_mddriver. Run t_mddriver on a
Theodore Tso [Thu, 13 Oct 1994 21:54:56 +0000 (21:54 +0000)]
Add support for the MDx test driver t_mddriver.  Run t_mddriver on a
"make check", to make sure we have a valid MD4 implementation.

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

30 years agoAdd support for the MDx test driver t_mddriver. Run t_mddriver on a
Theodore Tso [Thu, 13 Oct 1994 21:53:46 +0000 (21:53 +0000)]
Add support for the MDx test driver t_mddriver.  Run t_mddriver on a
"make check", to make sure we have a valid MD5 implementation.

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

30 years agoAdd the UL macro to control how unsigned long constants are compiled.
Theodore Tso [Thu, 13 Oct 1994 21:51:17 +0000 (21:51 +0000)]
Add the UL macro to control how unsigned long constants are compiled.
If we have an ANSI C environment, use the UL suffix to keep the
compiler from warning about numbers that would overflow a signed long.

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

30 years agoFixed typo; extra space in \funcname{ krb5_recvauth}
Theodore Tso [Thu, 13 Oct 1994 17:15:32 +0000 (17:15 +0000)]
Fixed typo; extra space in \funcname{ krb5_recvauth}

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

30 years agosanity checkin
Tom Yu [Wed, 12 Oct 1994 16:09:59 +0000 (16:09 +0000)]
sanity checkin

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

30 years agoAdd OBJS definition so that object files get cleaned out during a
Theodore Tso [Wed, 12 Oct 1994 06:31:04 +0000 (06:31 +0000)]
Add OBJS definition so that object files get cleaned out during a
"make clean".

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

30 years agoMake sure we do our feature tests using the CC options specified using
Theodore Tso [Wed, 12 Oct 1994 06:26:52 +0000 (06:26 +0000)]
Make sure we do our feature tests using the CC options specified using
CC_OPTS.

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

30 years agoRun crctest on a "make check". Clean up the crctest program on a
Theodore Tso [Wed, 12 Oct 1994 06:24:39 +0000 (06:24 +0000)]
Run crctest on a "make check".  Clean up the crctest program on a
"make clean".

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

30 years agoAdd better dependencies to do two-pass latex runs automatically. Make
Theodore Tso [Wed, 12 Oct 1994 06:20:31 +0000 (06:20 +0000)]
Add better dependencies to do two-pass latex runs automatically.  Make
"make clean" clean up the tex temp files.

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

30 years ago * ucb.conf: add "ranlib" for ucb, it's a common element.
Mark Eichin [Tue, 11 Oct 1994 23:15:28 +0000 (23:15 +0000)]
* ucb.conf: add "ranlib" for ucb, it's a common element.
* sunpro.conf: New file. Points to Sun (not MIT) installation path
for their unbundled compiler ("SUNWspro").

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

30 years ago * kbuild (MAKETARGETS): default to "all check" for make, but allow
Mark Eichin [Tue, 11 Oct 1994 23:09:08 +0000 (23:09 +0000)]
* kbuild (MAKETARGETS): default to "all check" for make, but allow
override from config fragments.

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

30 years agoDon't rm the sed and awk scripts during a make clean
Theodore Tso [Tue, 11 Oct 1994 18:03:17 +0000 (18:03 +0000)]
Don't rm the sed and awk scripts during a make clean

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

30 years agoIf using ISODE we need to add -DKRB5_USE_ISODE to $DEFS, not KRB5_USE_ISODE!
Theodore Tso [Sat, 8 Oct 1994 05:04:59 +0000 (05:04 +0000)]
If using ISODE we need to add -DKRB5_USE_ISODE to $DEFS, not KRB5_USE_ISODE!

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

30 years agostart CONFIG_OPTS with -v so we see the autoconf results too
Mark Eichin [Fri, 7 Oct 1994 20:51:30 +0000 (20:51 +0000)]
start CONFIG_OPTS with -v so we see the autoconf results too

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

30 years agoAdd extra check to make sure blank lines get squeezed out. Needed for
Theodore Tso [Fri, 7 Oct 1994 19:39:26 +0000 (19:39 +0000)]
Add extra check to make sure blank lines get squeezed out.  Needed for
AIX's sed, for some reason.

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

30 years agoAdd -DKRB5_USE_ISODE so that include files get included properly
Theodore Tso [Fri, 7 Oct 1994 19:06:22 +0000 (19:06 +0000)]
Add -DKRB5_USE_ISODE so that include files get included properly

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

30 years agoUse check:: instead of check:
Theodore Tso [Fri, 7 Oct 1994 18:31:21 +0000 (18:31 +0000)]
Use check:: instead of check:

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

30 years agoInclude unistd.h first, and don't try to include sys/types.h first.
Theodore Tso [Fri, 7 Oct 1994 18:21:52 +0000 (18:21 +0000)]
Include unistd.h first, and don't try to include sys/types.h first.
(posix compatibility)

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

30 years agoInclude unistd.h if it is present
Theodore Tso [Fri, 7 Oct 1994 18:21:02 +0000 (18:21 +0000)]
Include unistd.h if it is present

Use POSIX_FILE_LOCKS if _POSIX_VERSION is defined.

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

30 years agoAdd test for unistd.h
Theodore Tso [Fri, 7 Oct 1994 17:38:26 +0000 (17:38 +0000)]
Add test for unistd.h

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

30 years agoUse POSIX_FILE_LOCKS if _POSIX_VERSION in unistd.h
Theodore Tso [Fri, 7 Oct 1994 17:24:08 +0000 (17:24 +0000)]
Use POSIX_FILE_LOCKS if _POSIX_VERSION in unistd.h

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

30 years agoExplicitly destroy the test database before reloading it
Theodore Tso [Fri, 7 Oct 1994 05:41:33 +0000 (05:41 +0000)]
Explicitly destroy the test database before reloading it

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

30 years agoDon't let errors in set_dbname_help initially cause the exit status to
Theodore Tso [Fri, 7 Oct 1994 05:40:29 +0000 (05:40 +0000)]
Don't let errors in set_dbname_help initially cause the exit status to
be set.  Commands like load_db don't need a valid database to be
popened.

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

30 years agoAdd general kadmin/kdb confidence check
Theodore Tso [Fri, 7 Oct 1994 05:28:39 +0000 (05:28 +0000)]
Add general kadmin/kdb confidence check

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

30 years agoAdd a "make check" case which runs the test programs
Theodore Tso [Fri, 7 Oct 1994 05:06:14 +0000 (05:06 +0000)]
Add a "make check" case which runs the test programs

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

30 years agoAdd an option to force destruction of the database, without asking any
Theodore Tso [Fri, 7 Oct 1994 05:05:27 +0000 (05:05 +0000)]
Add an option to force destruction of the database, without asking any
questions.

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

30 years agoAdd new option -P to specify master key passwrd on the command line.
Theodore Tso [Fri, 7 Oct 1994 04:55:30 +0000 (04:55 +0000)]
Add new option -P to specify master key passwrd on the command line.
For testing only!

Fix bug where use of the -R option would report a random error, due to
the error code variable passed to ss_execute_line not being cleared first.

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

30 years agoAllow master key to be passed in on the command line. Makes testing
Theodore Tso [Fri, 7 Oct 1994 03:56:55 +0000 (03:56 +0000)]
Allow master key to be passed in on the command line.  Makes testing
scripts easier.   This is for testing only --- the option is not documented!!

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

30 years agoAllow master key to be passed in on the command line. Makes testing
Theodore Tso [Fri, 7 Oct 1994 03:55:49 +0000 (03:55 +0000)]
Allow master key to be passed in on the command line.  Makes testing
scripts easier.

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

30 years agoAdd recursive "make check"
Theodore Tso [Fri, 7 Oct 1994 03:54:52 +0000 (03:54 +0000)]
Add recursive "make check"

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

30 years agoMake sure the "make check" programs are cleaned up on a "make clean"
Theodore Tso [Fri, 7 Oct 1994 03:54:17 +0000 (03:54 +0000)]
Make sure the "make check" programs are cleaned up on a "make clean"

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

30 years agoAdd recursive "make check" target
Theodore Tso [Fri, 7 Oct 1994 03:49:50 +0000 (03:49 +0000)]
Add recursive "make check" target

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

30 years agoAdd recursive "make check" target
Theodore Tso [Fri, 7 Oct 1994 03:49:04 +0000 (03:49 +0000)]
Add recursive "make check" target

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

30 years agoAdd default "check" rules for Makefiles that don't have a make check target
Theodore Tso [Fri, 7 Oct 1994 03:15:42 +0000 (03:15 +0000)]
Add default "check" rules for Makefiles that don't have a make check target

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

30 years agoAdd top level "make check" target
Theodore Tso [Fri, 7 Oct 1994 03:09:35 +0000 (03:09 +0000)]
Add top level "make check" target

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

30 years agoGet the "getdate" routine working. Created suitable Makefile.in and
Theodore Tso [Fri, 7 Oct 1994 01:36:11 +0000 (01:36 +0000)]
Get the "getdate" routine working.  Created suitable Makefile.in and
configure.in scripts for this purpose.

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

30 years agoAdd default all target at the end of pre.in, thus ensuring that all
Theodore Tso [Thu, 6 Oct 1994 23:59:34 +0000 (23:59 +0000)]
Add default all target at the end of pre.in, thus ensuring that all
makefiles will do "make all" by default.

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

30 years agoReplace use of basename with sed --- it's more portable
Theodore Tso [Thu, 6 Oct 1994 23:59:01 +0000 (23:59 +0000)]
Replace use of basename with sed --- it's more portable

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

30 years agoTake out check that assures that long is 4 bytes. The DES
Theodore Tso [Thu, 6 Oct 1994 16:50:39 +0000 (16:50 +0000)]
Take out check that assures that long is 4 bytes.  The DES
implementation shouldn't be depending on this, and if it is, then
that's what the verify program should be discovering, yes?

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

30 years agoCheck to make sure key version number is 1, not 0
Theodore Tso [Thu, 6 Oct 1994 16:45:22 +0000 (16:45 +0000)]
Check to make sure key version number is 1, not 0

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

30 years agoInitialize all of the fields of the principal entry
Theodore Tso [Thu, 6 Oct 1994 16:44:46 +0000 (16:44 +0000)]
Initialize all of the fields of the principal entry

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

30 years agoUpdate for beta 4 patchlevel 3
Theodore Tso [Wed, 5 Oct 1994 03:49:38 +0000 (03:49 +0000)]
Update for beta 4 patchlevel 3

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

30 years agoDon't bomb out if the argument to krb5_free_principal() is NULL
Theodore Tso [Wed, 5 Oct 1994 02:11:58 +0000 (02:11 +0000)]
Don't bomb out if the argument to krb5_free_principal() is NULL

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

30 years agoOnly try to free the contents of the keytab_entry if it is non-NULL
Theodore Tso [Wed, 5 Oct 1994 02:11:23 +0000 (02:11 +0000)]
Only try to free the contents of the keytab_entry if it is non-NULL

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

30 years agoFix to compare using new_entry instead of cur_entry. (Bug made in
Theodore Tso [Wed, 5 Oct 1994 02:10:35 +0000 (02:10 +0000)]
Fix to compare using new_entry instead of cur_entry.  (Bug made in
previous modification. )  Don't free cur_entry twice on errors.

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

30 years agoDon't build the unifdef directory --- we don't need it any more
Theodore Tso [Tue, 4 Oct 1994 21:54:21 +0000 (21:54 +0000)]
Don't build the unifdef directory --- we don't need it any more

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

30 years agoAdd widen.h and narrow.h around declaration so that argument types are
Theodore Tso [Tue, 4 Oct 1994 21:52:49 +0000 (21:52 +0000)]
Add widen.h and narrow.h around declaration so that argument types are
widened.

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

30 years agoresolve's first argument is now a const char *
Theodore Tso [Tue, 4 Oct 1994 21:51:59 +0000 (21:51 +0000)]
resolve's first argument is now a const char *

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

30 years agoAdded missing * to function pointer deference
Theodore Tso [Tue, 4 Oct 1994 21:51:26 +0000 (21:51 +0000)]
Added missing * to function pointer deference

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

30 years agoDon't assume that krb5_timestamp and time_t are the same type
Theodore Tso [Tue, 4 Oct 1994 21:47:18 +0000 (21:47 +0000)]
Don't assume that krb5_timestamp and time_t are the same type

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

30 years agoAdd widen.h and narrow.h around declaration so that argument types are
Theodore Tso [Tue, 4 Oct 1994 21:46:48 +0000 (21:46 +0000)]
Add widen.h and narrow.h around declaration so that argument types are
widened.

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

30 years agoAdded placeholder for magic number
Theodore Tso [Tue, 4 Oct 1994 21:46:22 +0000 (21:46 +0000)]
Added placeholder for magic number

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

30 years agoDon't build the krb425 library. It is deprecated
Theodore Tso [Tue, 4 Oct 1994 21:44:20 +0000 (21:44 +0000)]
Don't build the krb425 library.  It is deprecated

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

30 years agoAdd magic numbers to encryption strctures
Theodore Tso [Tue, 4 Oct 1994 21:42:39 +0000 (21:42 +0000)]
Add magic numbers to encryption strctures

Make first argument to keytab.resolve be a const char *.

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

30 years agoAdd structure magic numbers
Theodore Tso [Tue, 4 Oct 1994 21:41:31 +0000 (21:41 +0000)]
Add structure magic numbers

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

30 years agoRearrange declarations so it will actually compile
Theodore Tso [Tue, 4 Oct 1994 21:35:31 +0000 (21:35 +0000)]
Rearrange declarations so it will actually compile

Added copyright notice.

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