summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* kerberos.c: Initialize random number generator on the server side soTheodore Tso1994-11-143-334/+22
| | | | | | | | | | | | that the encryption routines later on can use it. Fix bug in how we pick the challenge for the challenge/response mutual authentication. forward.c: Move rd_cred and mk_cred to libkrb.a. (Although we still need to fix the API!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4658 dc483132-0cff-0310-8789-dd5450dbe970
* another zero length manpageMark Eichin1994-11-141-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4657 dc483132-0cff-0310-8789-dd5450dbe970
* remote cvs loses on zero length filesMark Eichin1994-11-141-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4656 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for krb5_address table; rename KV5M_AUTH_DATA to followTheodore Tso1994-11-122-1/+7
| | | | | | the convention properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4655 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: fix some typos for kv5m_err.etTom Yu1994-11-112-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4654 dc483132-0cff-0310-8789-dd5450dbe970
* Defining setpgrp(a,b) to setpgrp() if SETPGRP_TWOARG is not set canTheodore Tso1994-11-113-5/+13
| | | | | | | | cause infinite macro recursion on some C preprocessors. Fix by putting the #ifdef for SETPGRP_TWOARG where setpgrp is actually called, instead of trying to redefine setpgrp(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4653 dc483132-0cff-0310-8789-dd5450dbe970
* Set the encryption type in the keyblock information in the decryptedTheodore Tso1994-11-114-0/+17
| | | | | | | ticket/authenticator/rd_rep message to be the encryption type used to encrypt said message. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4652 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug in logic of incrementing the received challenge. A ++/--Theodore Tso1994-11-092-1/+5
| | | | | | mixup means there's a 1 in 256 chance the server will get it wrong. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4651 dc483132-0cff-0310-8789-dd5450dbe970
* Set the keyblock's magic number and encryption type information appropriatelyTheodore Tso1994-11-092-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4650 dc483132-0cff-0310-8789-dd5450dbe970
* Change internal calling signature to pass in the encryption block, soTheodore Tso1994-11-086-11/+37
| | | | | | | that the encryption type in the keyblock structure can be properly initialized. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4649 dc483132-0cff-0310-8789-dd5450dbe970
* Use the published interface to call krb5_string_to_key()Theodore Tso1994-11-082-5/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4648 dc483132-0cff-0310-8789-dd5450dbe970
* Use the documented interface for calling krb5_string_to_key()Theodore Tso1994-11-082-6/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4647 dc483132-0cff-0310-8789-dd5450dbe970
* Use published interface to call krb5_random_keyTheodore Tso1994-11-083-2/+11
| | | | | | Fix typo in do_as_req.c (added missing '&') git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4646 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use $< in a non suffix rule contextTheodore Tso1994-11-082-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4645 dc483132-0cff-0310-8789-dd5450dbe970
* Fix spelling typoTheodore Tso1994-11-082-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4644 dc483132-0cff-0310-8789-dd5450dbe970
* Use des_init_random_number_genator(), since that will result inTheodore Tso1994-11-082-1/+7
| | | | | | different subsession keys on successive runs of telnet. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4643 dc483132-0cff-0310-8789-dd5450dbe970
* Only print each possible authentication type once in the auth statusTheodore Tso1994-11-082-5/+25
| | | | | | | | | | | | report. Remove excess call to getauthmask() in auth_onoff() which stomped the mask field. Only print each possible authentication type once in the help message. Fix reversed sense of strcasecmp comparison in getauthmask(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4642 dc483132-0cff-0310-8789-dd5450dbe970
* Add check for stdlib.hTheodore Tso1994-11-082-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4641 dc483132-0cff-0310-8789-dd5450dbe970
* Don't define functions manually, but pull in the appropriate includeTheodore Tso1994-11-082-7/+8
| | | | | | files (com_err.h, krb5/ext-proto.h, krb5/los-proto.h, etc.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4640 dc483132-0cff-0310-8789-dd5450dbe970
* Only include <sys/tty.h> if HAVE_SYS_TTY_H is defined by configureTheodore Tso1994-11-083-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4639 dc483132-0cff-0310-8789-dd5450dbe970
* Change prototypes of auth_enable() and auth_disable() to be a char *Theodore Tso1994-11-082-2/+23
| | | | | | | Print an error message if there are no arguments to "auth" or "encrypt", instead of core dumping. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4638 dc483132-0cff-0310-8789-dd5450dbe970
* Change the input type to be a char *, which is what auth_onoff wants anywayTheodore Tso1994-11-082-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4637 dc483132-0cff-0310-8789-dd5450dbe970
* Don't define time() manually; pull it in from <time.h>Theodore Tso1994-11-084-2/+20
| | | | | | Add checking for whether we should be pulling in <time.h> and <sys/time.h> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4636 dc483132-0cff-0310-8789-dd5450dbe970
* Add check for util library (needed for the Alpha)Theodore Tso1994-11-082-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4635 dc483132-0cff-0310-8789-dd5450dbe970
* Fix lineage check so that we don't fail if we're cross-authenticatingTheodore Tso1994-11-082-1/+7
| | | | | | with a realm with the same length as our own. ('||' should have been '&&') git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4634 dc483132-0cff-0310-8789-dd5450dbe970
* Use published interface to call krb5_random_key()Theodore Tso1994-11-082-2/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4633 dc483132-0cff-0310-8789-dd5450dbe970
* Checked in Richard's changes of November 2nd. (See changelog). Lots ofTheodore Tso1994-11-0810-221/+565
| | | | | | portability fixes: POSIX_SIGNALS, POSIX_SETJMP, use of POSIX waitpid, etc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4632 dc483132-0cff-0310-8789-dd5450dbe970
* Added checks POSIX setjmp handling and POSIX signal handlingTheodore Tso1994-11-082-0/+23
| | | | | | (CHECK_SETJMP, CHECK_SIGNALS) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4631 dc483132-0cff-0310-8789-dd5450dbe970
* Use POSIX method of obtaining fd table size, if availableTheodore Tso1994-11-082-4/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4630 dc483132-0cff-0310-8789-dd5450dbe970
* Missing comma on all of the error_code lines. (Oops!)Theodore Tso1994-11-051-34/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4629 dc483132-0cff-0310-8789-dd5450dbe970
* make this not zero lengthMark Eichin1994-11-041-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4628 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: stop building f_pcbc.c, since it belongs inMark Eichin1994-11-032-2/+7
| | | | | | libdes425, but leave it here for reference. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4627 dc483132-0cff-0310-8789-dd5450dbe970
* * pcbc_encrypt.c: moved from f_pcbc.c in lib/crypto/des, andMark Eichin1994-11-033-241/+239
| | | | | | | | | | | inlined proper des.h to avoid confusion in names. * Makefile.in: add -I to CFLAGS to get f_tables.h from lib/crypto/des as well. this shouldn't have been in lib/crypto/des in the first place, and the old version here was nonportable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4626 dc483132-0cff-0310-8789-dd5450dbe970
* Added a field to hold an encryption type in the keyblock field --- soTheodore Tso1994-11-032-0/+7
| | | | | | routines have a hint of which encryption type they should use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4625 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for the kv5m error table. (For magic numbers.)Theodore Tso1994-11-032-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4624 dc483132-0cff-0310-8789-dd5450dbe970
* Add the kv5m error tableTheodore Tso1994-11-035-3/+74
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4623 dc483132-0cff-0310-8789-dd5450dbe970
* Add WITH_CPPOPTS since we're not using CONFIG_RULES (yet)Theodore Tso1994-11-032-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4622 dc483132-0cff-0310-8789-dd5450dbe970
* We're probably not going to be building in the top-level directory,Theodore Tso1994-11-032-1/+5
| | | | | | but even so, the CFLAGS should include $(DEFS). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4621 dc483132-0cff-0310-8789-dd5450dbe970
* Don't actually add the $(CPPOPTS) flags to CPPFLAGS; CPPFLAGS has themTheodore Tso1994-11-032-2/+5
| | | | | | | defined already. In fact, don't define the CPPOPTS makefile variable at all; we don't need it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4620 dc483132-0cff-0310-8789-dd5450dbe970
* Don't recursively pass the CPPOPTS makefile variable down to subdirectoriesTheodore Tso1994-11-032-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4619 dc483132-0cff-0310-8789-dd5450dbe970
* NULL should not be used as a character assignment value. Use '\0' insteadTheodore Tso1994-11-032-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4618 dc483132-0cff-0310-8789-dd5450dbe970
* NULL should not be used as a character assignment value. Use '\0'Theodore Tso1994-11-032-4/+9
| | | | | | instead. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4617 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for a new --with-cppopts" value where you can put -DXXXXXTheodore Tso1994-11-032-1/+8
| | | | | | | such that they are found by autoconf tests that use run the preprocessor over header files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4616 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for a new "--with-cppopts" value where you can put -DXXXXXTheodore Tso1994-11-032-1/+20
| | | | | | | such that they are found by autoconf tests that use run the preprocessor over header files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4615 dc483132-0cff-0310-8789-dd5450dbe970
* revert misguided kstash changesMark Eichin1994-11-023-59/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4614 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (libkrb5.a): done needs a trailing semicolon if itMark Eichin1994-11-022-2/+7
| | | | | | isn't followed by a newline, as does fi, with certain shells. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4613 dc483132-0cff-0310-8789-dd5450dbe970
* Include the tag numbers for the krb5 application tags, since that'sTheodore Tso1994-11-023-52/+57
| | | | | | | something we're going to want to check to make sure they're actually correct. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4612 dc483132-0cff-0310-8789-dd5450dbe970
* Add the "-t option to krb5_encode_test, which causes it to use theTheodore Tso1994-11-025-15/+2335
| | | | | | | | ASN.1 unparser found in trval.c. This routine will attempt to decode the ASN.1 data stream and display it in a logical format for a human being to decipher. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4611 dc483132-0cff-0310-8789-dd5450dbe970
* Use library.stamp to determine whether or not $arcmd needs to be rerunTheodore Tso1994-11-024-4/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4610 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_stash.c (main): added -o option to read a Kerberos V4Mark Eichin1994-11-023-7/+59
| | | | | | | | | | kstash'ed master key. (usage): mention it in the usage message. * kdb5_stash.M: document it. Necessary for practical conversion of a functioning v4 realm... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4609 dc483132-0cff-0310-8789-dd5450dbe970