summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Changes to implement FCC format version #3, which is architectureTheodore Tso1994-11-179-171/+235
| | | | | | independent, and includes the key encryption type information. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4668 dc483132-0cff-0310-8789-dd5450dbe970
* Set the encryption type of the session keyblock to be the type used toTheodore Tso1994-11-173-1/+12
| | | | | | encrypt the ticket. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4667 dc483132-0cff-0310-8789-dd5450dbe970
* Check to make sure the subkey exists before setting its encryption typeTheodore Tso1994-11-171-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4666 dc483132-0cff-0310-8789-dd5450dbe970
* Add new error code --- KRB5_CC_WRITE_ERRTheodore Tso1994-11-172-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4665 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogin.c:Richard Basch1994-11-162-0/+12
| | | | | | | If the system includes a SA_RESTART signal flag, use it. We want to resume the read() system call after a SIGURG comes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4664 dc483132-0cff-0310-8789-dd5450dbe970
* * dumpv4.c: new file. New command dump_v4db which creates a v4Mark Eichin1994-11-165-3/+389
| | | | | | | | | | | | | | | | | | slave dump out of a v5 database, leaving out any keys which aren't using v4 salt, and any keys that aren't for the current realm. Reencrypts using v4 master key, synthesizes arbitrary master key version number. * configure.in: use WITH_KRB4 for dump support. * kdb5_ed_ct.ct: add new dump_v4 command. * Makefile.in: link in dumpv4. I've successfully used this to convert a full database and compared it with the original by hand -- the only differences were 1) leading zeros on the new database 2) k.m date didn't match 3) mkvno's didn't match (but were consistent) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4663 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_convert.c (enter_in_v5_db): use the correct instance forMark Eichin1994-11-162-1/+6
| | | | | | | | | the mod_name field. This makes the modifier field actually have a valid name in it, which makes it (1) useful (2) easier to turn back into a v4 field... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4662 dc483132-0cff-0310-8789-dd5450dbe970
* Move mk_cred and rd_cred to libkrb.aTheodore Tso1994-11-142-334/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4660 dc483132-0cff-0310-8789-dd5450dbe970
* get_in_tkt (krb5_get_in_tkt): Set the encryption type of the sessionTheodore Tso1994-11-145-0/+404
| | | | | | | | | | keyblock to be the type used to encrypt the ticket. mk_cred.c, rd_cred.c: New routines for forwarding credentials --- note that the API is still subject to change! (Moved from telnet and bsd directories) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4659 dc483132-0cff-0310-8789-dd5450dbe970
* 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