summaryrefslogtreecommitdiffstats
path: root/src/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed the abstraction violation, where the code knew the details about theRichard Basch1996-05-064-24/+28
| | | | | | cryptosystem structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7907 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Setup a wrapper script in executing klist in the remoteEzra Peisach1996-05-063-2/+18
| | | | | | | | | shell so that environment variables are properly set. * kadmin.exp: (kpasswd_cpw): After giving new password, wait for the newline or we hang waiting for the process to finish. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7904 dc483132-0cff-0310-8789-dd5450dbe970
* Use a wrapper script when invoking login.krb5 in order for sharedEzra Peisach1996-05-062-1/+14
| | | | | | libraries to be setup properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7903 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Add procedure setup_wrapper to first setup shared libraryEzra Peisach1996-05-062-0/+32
| | | | | | | | | environment variables and the exec program. This allows for easy testing of "rsh $hostname klist" which would normally fail due to shared libraries not being setup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7902 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: For stty_init set to \^h as on some /bin/sh, ^ isEzra Peisach1996-05-052-1/+6
| | | | | | | | | | treated as a pipe. I had never heard of this until under DU 3.2 the tests started failing until I read the sh man page. Apparently ^ is for some very old compatibility. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7900 dc483132-0cff-0310-8789-dd5450dbe970
* whitespaceKen Raeburn1996-05-041-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7899 dc483132-0cff-0310-8789-dd5450dbe970
* work around process group problems; recognize certain failure modes (e.g.,Ken Raeburn1996-05-043-9/+67
| | | | | | connection closed) better; work around gnu getopt problem git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7898 dc483132-0cff-0310-8789-dd5450dbe970
* cygnus merge: sscanf workaround; logs for sam testsKen Raeburn1996-05-042-3/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7897 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Add tests for ticket forwardingKen Raeburn1996-05-046-47/+164
| | | | | | | | | | | | | | | | | | | | | * kadmin.exp and gssapi.exp: Fix syntax of expect_after blocks. The -i $foo must be inside the {, and the { must be by itself at the end of the line. * gssftp.exp (start_ftp_daemon): use krb5.conf, not krb.conf * gssftp.exp (ftp_test): Explicitly select binary mode. * kadmin.exp: Don't look at output from kadmind to drain it; that problem is handled elsewhere now. * kadmin.exp (kadmin_delete, kamind_add, kadmin_add_rnd, kadmin_examine, kadmin_cpw, kadmin_cpw_rnd, kadmin_modify, kadmin_rename, kadmin_list, kadmin_extract, kadmin_extractv4): check for "lost KDC" as well. * kadmin.exp (kadmin_show): extend regexp to match current kadmin interface. (kadmin_add): match more of extended output (tentative change, should be expanded later to actually check the values.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7896 dc483132-0cff-0310-8789-dd5450dbe970
* Tue Apr 2 22:22:47 1996 Chris Provenzano <proven@cygnus.com>Ken Raeburn1996-05-042-45/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * default.exp : Do an stty to set kill and erase correctly. Things don't work if kill is set to '@'. Fri Mar 29 15:02:32 1996 Chris Provenzano <proven@cygnus.com> * default.exp : Always use variable BINSH instead of sh. Use -f flag with kinit to get forwardable tickets. Setup kdc.conf to allow forwardable tickets. Thu Mar 28 17:30:55 1996 Ken Raeburn <raeburn@cygnus.com> * default.exp (touch, tail1): New proc. (start_kerberos_daemons, stop_root_shell): Use them, and sleep built-in cmd. Wed Mar 27 22:43:08 1996 Ken Raeburn <raeburn@cygnus.com> * default.exp (start_kerberos_daemons): Use ">>" to avoid updating mod time on kadmind log file. Wed Mar 27 21:35:57 1996 Marc Horowitz <marc@mit.edu> * default.exp: (start_kerberos_daemons): exec the kadmind inside an sh to redirect stderr (this is a pending bug), and keep the same pid, so that stop_kerberos_daemons doesn't leave a kadmind running. Wed Mar 27 21:24:35 1996 Marc Horowitz <marc@mit.edu> * default.exp: (start_kerberos_daemons): add a check for "cannot initialize network" as a failure message to the kadmind5 startup expect checks Wed Mar 27 21:10:47 1996 Marc Horowitz <marc@mit.edu> * default.exp (start_kerberos_daemons): use ezra's KDC tail changes for kadmind5, too. * rlogin.exp (start_rlogin_daemon): start klogind with sh -c so that setsid() won't fail due to the process already being the leader of a process group git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7895 dc483132-0cff-0310-8789-dd5450dbe970
* Fix the expect string so that it doesn't assume that the client isTheodore Tso1996-04-172-1/+9
| | | | | | | | | using its fully qualified domain name as its local hostname. We now check to make sure that FTP banner contains $localhostname, plus optional characters (which can be the domainname depending on the system.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7824 dc483132-0cff-0310-8789-dd5450dbe970
* Added V5_USE_SHARED_LIBSRichard Basch1996-04-151-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7815 dc483132-0cff-0310-8789-dd5450dbe970
* Added V5_USE_SHARED_LIBRichard Basch1996-04-114-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7789 dc483132-0cff-0310-8789-dd5450dbe970
* add sam challenge and response test casesMark Eichin1996-04-096-0/+218
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7775 dc483132-0cff-0310-8789-dd5450dbe970
* * 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