summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix declaration of usage()Theodore Tso1994-09-301-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4396 dc483132-0cff-0310-8789-dd5450dbe970
* Use getsockname instead of getpeername in order to get the sender address!Theodore Tso1994-09-302-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4395 dc483132-0cff-0310-8789-dd5450dbe970
* In krb5_rc_dfl_recover, krb5_rc_io_size was being called withTheodore Tso1994-09-302-1/+7
| | | | | | completely bogus arguments. It's amazing it worked at all... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4394 dc483132-0cff-0310-8789-dd5450dbe970
* Removed MIT DES implementation; only use Fergeson DESTheodore Tso1994-09-3019-1893/+153
| | | | | | | | | Fix destest and verify so that they work with the new DES libraries. "make check" will run the DES test suite. (Note that all of the krb5 libraries have to be built, since they depend on them.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4393 dc483132-0cff-0310-8789-dd5450dbe970
* More will be added..Mark Eichin1994-09-308-0/+51
| | | | | | | | | | | * base.conf: simplest path, lists all executables. * ucb.conf: add /usr/ucb to the base path. * svr4.conf: add /usr/ccs/bin instead. * athena.conf: sets KRB4 to /usr/athena. * cns.conf: sets KRB4 to /usr/kerberos. * gcc.conf: overrids CC and CC_OPTS for gcc -g -O -Wall. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4391 dc483132-0cff-0310-8789-dd5450dbe970
* * util/kbuild: complete rewrite.Mark Eichin1994-09-302-14/+98
| | | | | | | | * util/kfrags: fragments of input to kbuild. See top of util/kbuild for instructions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4390 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogin.c (mode): ifdef VLNEXT instead of svr4 for ^V fixing.Mark Eichin1994-09-293-4/+16
| | | | | | | | (doit): ditto. krlogin.c, configure.in: include sys/tty.h and sys/ttold.h only if they're both there. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4388 dc483132-0cff-0310-8789-dd5450dbe970
* cache name was not being properly null-terminatedTheodore Tso1994-09-292-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4385 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure mod time on the dump_ok file is updated. (Some systemsTheodore Tso1994-09-292-0/+12
| | | | | | don't update the mod-time when a file is opened for writing.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4384 dc483132-0cff-0310-8789-dd5450dbe970
* Relink executable when libraries changeTheodore Tso1994-09-294-15/+79
| | | | | | | | | Apply suggested change from Openvision so that principals with spaces in their names can be read in. Pass variable with correct type to ctime(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4383 dc483132-0cff-0310-8789-dd5450dbe970
* Oops.. Missing close braceTheodore Tso1994-09-291-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4382 dc483132-0cff-0310-8789-dd5450dbe970
* Exit with a non-zero status if there was an error in an executed command.Theodore Tso1994-09-295-9/+145
| | | | | | (Useful when the -R option is used in a shell-script.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4381 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for KRB5_KDCREP_SKEW error codeTheodore Tso1994-09-292-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4380 dc483132-0cff-0310-8789-dd5450dbe970
* Added new error codes (from suggested changes from Openvision)Theodore Tso1994-09-292-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4379 dc483132-0cff-0310-8789-dd5450dbe970
* Return new error codes KRB5_IN_TKT_REALM_MISTCH and KRB5_KDCREP_SKEWTheodore Tso1994-09-293-7/+28
| | | | | | instead of more generic error codes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4378 dc483132-0cff-0310-8789-dd5450dbe970
* Added realm compare functionTheodore Tso1994-09-294-3/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4377 dc483132-0cff-0310-8789-dd5450dbe970
* Always fill in a NULL for a zero-length char string or octet string inTheodore Tso1994-09-292-3/+20
| | | | | | | asn1_remove_charstring or asn1_remove_octetstring. This means we do the same thing no matter whether the system returns NULL for malloc(0) or not. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4376 dc483132-0cff-0310-8789-dd5450dbe970
* Return the most recent key (with the greatest kvno) instead of theTheodore Tso1994-09-292-7/+25
| | | | | | first key found in the keytab file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4375 dc483132-0cff-0310-8789-dd5450dbe970
* not quite first cut "safety" checkinTom Yu1994-09-292-0/+1272
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4374 dc483132-0cff-0310-8789-dd5450dbe970
* Relink executable when library changesTheodore Tso1994-09-296-6/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4373 dc483132-0cff-0310-8789-dd5450dbe970
* (K4LIB): add libdes.a, needed for des_pcbc_encryptMark Eichin1994-09-291-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4372 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (srand48): check for srand48, and if it exists,Mark Eichin1994-09-292-0/+7
| | | | | | substitute it for srandom (and lrand48 for random.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4370 dc483132-0cff-0310-8789-dd5450dbe970
* Wed Sep 28 14:36:29 1994 Mark Eichin (eichin@rtl.cygnus.com)Mark Eichin1994-09-282-2/+7
| | | | | | | * Makefile.in: always put $(K4LIB) before $(KLIB) so that references to libcrypto.a get resolved. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4365 dc483132-0cff-0310-8789-dd5450dbe970
* get NULL from stdio for sunosMark Eichin1994-09-282-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4360 dc483132-0cff-0310-8789-dd5450dbe970
* = should have been == in commented out codeTheodore Tso1994-09-282-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4359 dc483132-0cff-0310-8789-dd5450dbe970
* Fix to reflect fact that krb5_rc_dfl_close() now frees the rcache structureTheodore Tso1994-09-282-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4358 dc483132-0cff-0310-8789-dd5450dbe970
* fix initial test/square-bracket bugMark Eichin1994-09-281-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4357 dc483132-0cff-0310-8789-dd5450dbe970
* Change the interface of krb5_ktfile_read_entry andTheodore Tso1994-09-236-46/+45
| | | | | | | | krb5_ktfile_internal_read_entry so that they don't allocate memory for the top-level structure. All of their callers didn't need it and were freeing it anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4342 dc483132-0cff-0310-8789-dd5450dbe970
* Add dependencies for the libraries (so the executables are automaticallyTheodore Tso1994-09-233-9/+9
| | | | | | relinked when the libraries change) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4341 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure all object files are removed in a make clean operationTheodore Tso1994-09-231-3/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4340 dc483132-0cff-0310-8789-dd5450dbe970
* Fix memory leak in klist --- the returned credentials should be freed beforeTheodore Tso1994-09-233-4/+11
| | | | | | the next set is fetched. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4339 dc483132-0cff-0310-8789-dd5450dbe970
* xfree() should have been krb5_xfree()Theodore Tso1994-09-232-6/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4338 dc483132-0cff-0310-8789-dd5450dbe970
* Oops. One more free needed to be insertedTheodore Tso1994-09-231-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4337 dc483132-0cff-0310-8789-dd5450dbe970
* Fix memory leak caused by not freeing top-level structureTheodore Tso1994-09-232-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4336 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure memory associated the credentials cache is freed after theTheodore Tso1994-09-234-10/+32
| | | | | | cache is destroyed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4334 dc483132-0cff-0310-8789-dd5450dbe970
* Fix silly spelling typoTheodore Tso1994-09-232-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4333 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo in comment. (Silly spelling mistake)Theodore Tso1994-09-231-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4332 dc483132-0cff-0310-8789-dd5450dbe970
* Fix so that autoconf actually checks for bison/yacc/byacc, so that systemsTheodore Tso1994-09-234-1/+4
| | | | | | | without yacc will win. (Previously, the com_err and ss libraries assumed that yacc existed.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4331 dc483132-0cff-0310-8789-dd5450dbe970
* Fix order of autoconf macros so that the tests can find CC properly.Theodore Tso1994-09-234-5/+14
| | | | | | | (WITH_CCOPTS was too late in the file. We need a standard order to be documented and enforced!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4330 dc483132-0cff-0310-8789-dd5450dbe970
* Applied Cybersafe's changes to do transited realm path checkingTheodore Tso1994-09-2212-135/+378
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4328 dc483132-0cff-0310-8789-dd5450dbe970
* Fix memory leak in decode timestamp returnTheodore Tso1994-09-213-1/+15
| | | | | | Initialize return variable in decode_krb5_authdata() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4327 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo which was causing krb5_encode_test.c to fail due to trying toTheodore Tso1994-09-212-1/+7
| | | | | | free the wrong thing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4305 dc483132-0cff-0310-8789-dd5450dbe970
* Kbuild is a program which builds a Kerberos V5 distribution with aTheodore Tso1994-09-211-0/+63
| | | | | | | specific set of compilation programs and configuration options, in a repeatable manner. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4304 dc483132-0cff-0310-8789-dd5450dbe970
* index() -> strchr()Theodore Tso1994-09-152-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4257 dc483132-0cff-0310-8789-dd5450dbe970
* Put the tests directory under autoconfTheodore Tso1994-09-159-1/+116
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4256 dc483132-0cff-0310-8789-dd5450dbe970
* Put the tests directory under autoconfTheodore Tso1994-09-155-383/+425
| | | | | | | Incorporate krb5_encode_test_body.c into krb5_encode_test.c (no longer any need to keep them as separate files.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4255 dc483132-0cff-0310-8789-dd5450dbe970
* Create database with key version number of 1Theodore Tso1994-09-152-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4254 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize key version numbers to be 1Theodore Tso1994-09-152-3/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4253 dc483132-0cff-0310-8789-dd5450dbe970
* Don't chop off last character of principal name if it is passed in toTheodore Tso1994-09-152-6/+12
| | | | | | the add principal function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4252 dc483132-0cff-0310-8789-dd5450dbe970
* Only report errors to syslog if the debug flag is not set. (OtherwiseTheodore Tso1994-09-152-2/+9
| | | | | | send them to stderr.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4244 dc483132-0cff-0310-8789-dd5450dbe970