summaryrefslogtreecommitdiffstats
path: root/src/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* * rcp.exp: Invoke kshd with -L for every environment variable weEzra Peisach1996-04-082-1/+23
| | | | | | | | | | | | want passed to invoke rcp with... We also tell kshd to pass on ENV_SET because at MIT, csh -c rcp.... will source the users .cshrc - which at MIT sets LD_LIBRARY_PATH on the SUNS... We cannot use other options like -f as the user may have sh as their shell. Probably kshd should recognize rcp and invoke rcp without the shell invocation.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7759 dc483132-0cff-0310-8789-dd5450dbe970
* Check in comments from previous checkinEzra Peisach1996-04-081-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7758 dc483132-0cff-0310-8789-dd5450dbe970
* Major chanes to use the list of runtime environment variables asEzra Peisach1996-04-082-79/+111
| | | | | | | indicated by configure. (i.e. do not assume that LD_LIBRARY_PATH is all you need) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7754 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add KRB5_RUN_FLAGSEzra Peisach1996-04-082-2/+11
| | | | | | | * Makefile.in (site.exp): Create site.exp with runtime environment line from configure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7753 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): New methodology forEzra Peisach1996-03-262-3/+45
| | | | | | | | | | | | | | | starting KDC so that the KDC will not hang on a full output buffer which is being ignored. (setup_kerberos_files): Enable des3 encryption types. The first problem was seen on Suns where I previously set the logging for the kdc to stderr, and then ignored the output after the server was running. The second exercised the bug that sam just fixed in mixing in the des3 encryption types. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7712 dc483132-0cff-0310-8789-dd5450dbe970
* Put back in the encrypted telnet testsEzra Peisach1996-03-192-62/+66
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7666 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add KRB5_RUN_FLAGSEzra Peisach1996-03-199-18/+43
| | | | | | * Makefile.in: Use the run flags. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7665 dc483132-0cff-0310-8789-dd5450dbe970
* detect kadmin failures that are *really* kdc failuresMark Eichin1996-03-182-1/+56
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7656 dc483132-0cff-0310-8789-dd5450dbe970
* changelogs entries from cygnus changesMark Eichin1996-03-182-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7655 dc483132-0cff-0310-8789-dd5450dbe970
* Add USE_ANAME for proper DBEzra Peisach1996-03-183-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7648 dc483132-0cff-0310-8789-dd5450dbe970
* Add new tests for GSS-API ftp programsEzra Peisach1996-03-153-0/+345
| | | | | | | | Note: This is using the ftp/$hostname key. If ftp/ftpd is changed to not allow this service, this file will need to be changed as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7645 dc483132-0cff-0310-8789-dd5450dbe970
* more specific check for kadmin failure messageMark Eichin1996-03-141-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7638 dc483132-0cff-0310-8789-dd5450dbe970
* replace KRBTEST.COM with $REALMNAME. Now you can change the realm name theMark Eichin1996-03-139-104/+142
| | | | | | | tests use by "runtest --tool krb --srcdir whatever REALMNAME=WHITEHOUSE.GOV" also added -- to kadmin tests so they work with any getopt git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7625 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Log krb5kdc to stderr so that test can detectEzra Peisach1996-03-052-1/+20
| | | | | | | | | | | properly when server has started. Change start_kerberos_daemons to take advantage of this. Before, every time the server was started, the test would have to wait for the standard timeout (100 sec) before continuing with the test. The standalone tests used to take 15.5 min and now take 4. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7591 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to start up kshd (not krshd) with new argumentsEzra Peisach1996-03-033-8/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7590 dc483132-0cff-0310-8789-dd5450dbe970
* Change to execute with new program name and argumentsEzra Peisach1996-03-032-4/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7589 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_decode_test.c (main): In krb5_enc_tkt_part (optionals NULL)Ezra Peisach1996-03-032-1/+7
| | | | | | | test, set starttime to authtime. Matches change to lib/krb5/asn.1/krb5_decode.c. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7588 dc483132-0cff-0310-8789-dd5450dbe970
* Build the gssapi tests directoryTheodore Tso1996-02-282-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7567 dc483132-0cff-0310-8789-dd5450dbe970
* Simple test program for testing how GSSAPI import name works. (May beTheodore Tso1996-02-243-0/+169
| | | | | | made into a more full-fledged test program later.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7515 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.exp: use a longer password for kadmin_modify test to meetMark Eichin1996-01-272-3/+8
| | | | | | password quality constraints. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7403 dc483132-0cff-0310-8789-dd5450dbe970
* Simplified to simply require the use of WITH_ANAME or USE_KDB5_LIBRARYRichard Basch1996-01-222-30/+0
| | | | | | to specify the need for dbm inclusion/testing/compilation flags. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7350 dc483132-0cff-0310-8789-dd5450dbe970
* Remove use of krb5_kdc_default_optionsEzra Peisach1996-01-202-3/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7343 dc483132-0cff-0310-8789-dd5450dbe970
* Add check for DBM/db librariesTheodore Tso1996-01-194-0/+38
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7340 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.exp: test that kadmin_modify doesn't corrupt key entriesMark Eichin1995-12-132-0/+14
| | | | | | (I think proven's changes fix this, but this will help keep it fixed.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7230 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_mkdums.c : Remove mkvno from krb5_db_entryChris Provenzano1995-12-132-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7222 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_verify.c : Remove mkvno for krb5_db_entryChris Provenzano1995-12-132-6/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7221 dc483132-0cff-0310-8789-dd5450dbe970
* * ktest_equal.c (ktest_equal_krb5_etype_info_entry()) :Chris Provenzano1995-11-152-2/+9
| | | | | | Only do emecmp() if ref->length > 0 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7108 dc483132-0cff-0310-8789-dd5450dbe970
* Comment out encrypted telnet testsEzra Peisach1995-11-112-62/+66
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7087 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_verify.c : Remove krb5_enctype from krb5_string_to_key() argsChris Provenzano1995-11-092-10/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7081 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc5_hammer.c : Remove krb5_enctype from krb5_string_to_key() argsChris Provenzano1995-11-092-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7080 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_mkdums.c : Remove krb5_enctype from krb5_string_to_key() argsChris Provenzano1995-11-092-3/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7079 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_encode_test.c (main): In case of an error in the encodingTheodore Tso1995-11-093-7/+36
| | | | | | | | | | | | routines, exit. Otherwise, calling the print routines will often lead to a coredump. * ktest.c (ktest_make_sample_etype_info): Set etype.length to -1 to mean that the optional salt string is missing. (This is change in the convention used by the ASN.1 encoder and decoder for this ASN.1 structure.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7068 dc483132-0cff-0310-8789-dd5450dbe970
* Updated reference files for the new structures now supported by the ASN.1Theodore Tso1995-11-082-0/+31
| | | | | | encoders and decoders. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7062 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_decode_test.c (main): Add tests for decode_krb5_enc_dataTheodore Tso1995-11-087-2/+74
| | | | | | | | | | | | | | | and decode_krb5_pa_enc_ts. * krb5_encode_test.c (main): Add tests for encode_krb5_enc_data and encode_krb5_pa_enc_ts. * ktest.c (ktest_make_sample_pa_enc_ts): New functions to test {encode,decode}_krb5_pa_enc_ts(). * ktest_equal.c (ktest_equal_krb5_pa_enc_ts): New functions to test {encode,decode}_krb5_pa_enc_ts(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7052 dc483132-0cff-0310-8789-dd5450dbe970
* stamp out festering ImakefilesMark Eichin1995-11-033-87/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7015 dc483132-0cff-0310-8789-dd5450dbe970
* remove rcs keyword cruft which doesn't make much sense in CVS.Mark Eichin1995-11-034-12/+5
| | | | | | | | removal simplifies merging. I left in the RCSID's that are in actual error table values (*_RCSID typically) but comments had them elided (Source keywords replaced with a literal pathname, Id totally removed.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7014 dc483132-0cff-0310-8789-dd5450dbe970
* Run db checks before going into subdirs and dejagnu test..Ezra Peisach1995-10-252-1/+5
| | | | | | We really want to do the lower level tests before dealing with network connections. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6996 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed signed/unsigned -Wall flameTheodore Tso1995-10-152-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6968 dc483132-0cff-0310-8789-dd5450dbe970
* Work around bug in NetBSD expect. This is the same fix asEzra Peisach1995-10-072-1/+10
| | | | | | is found in gssapi.exp for dealing with AIX... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6947 dc483132-0cff-0310-8789-dd5450dbe970
* Change kdc port specifications in kdc.conf to match currentEzra Peisach1995-10-072-4/+7
| | | | | | implementation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6946 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: set timeout to 100 since the default of 10 isMark Eichin1995-10-022-0/+7
| | | | | | ludicrous with NFS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6921 dc483132-0cff-0310-8789-dd5450dbe970
* Remove trval on a make cleanTheodore Tso1995-09-292-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6898 dc483132-0cff-0310-8789-dd5450dbe970
* Remove the dejagnu temporary filesTheodore Tso1995-09-292-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6897 dc483132-0cff-0310-8789-dd5450dbe970
* Program for testing if getsockname() works like the BSD networking codeTheodore Tso1995-09-161-0/+89
| | | | | | or not. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6804 dc483132-0cff-0310-8789-dd5450dbe970
* Save the key used to generate the database files. Also generate a setTheodore Tso1995-09-132-1/+35
| | | | | | | of environment setup scripts. These are the convenience of someone who wishes to run some of the tests by hand, when tests are bombing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6777 dc483132-0cff-0310-8789-dd5450dbe970
* Fix fencepost error; use argv[1] to test for a specfied host if argcTheodore Tso1995-09-132-1/+5
| | | | | | is >= 1, not just > 1. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6775 dc483132-0cff-0310-8789-dd5450dbe970
* Add des-cbc-crc to supported_enctypes as krb5_edit requires it to generate ↵Ezra Peisach1995-09-102-3/+7
| | | | | | | | random keys Note: this is to work around a misfeature which should be changed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6747 dc483132-0cff-0310-8789-dd5450dbe970
* supported_keytypes -> supported_enctypes in the kdc.conf fileEzra Peisach1995-09-092-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6746 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_verify.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/gChris Provenzano1995-09-062-14/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6732 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc5_hammer.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/gChris Provenzano1995-09-062-16/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6731 dc483132-0cff-0310-8789-dd5450dbe970