summaryrefslogtreecommitdiffstats
path: root/src/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Renamed RUNTEST to HAVE_RUNTEST variable in Makefile.in to avoid collisionEzra Peisach1996-10-072-3/+8
| | | | | | with definition in config/pre.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9147 dc483132-0cff-0310-8789-dd5450dbe970
* remove ".so man1/header.doc" and extra args to .THTom Yu1996-09-102-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9069 dc483132-0cff-0310-8789-dd5450dbe970
* Tweak to manpage from CygnusJeff Bigler1996-08-291-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9013 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Tom Yu1996-08-151-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8937 dc483132-0cff-0310-8789-dd5450dbe970
* * gssftp.exp: Do case insensitive match in case hostname doesn'tTom Yu1996-08-151-3/+3
| | | | | | get downcased. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8936 dc483132-0cff-0310-8789-dd5450dbe970
* Use kadmin.local instead of kdb5_editEzra Peisach1996-08-134-186/+90
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8934 dc483132-0cff-0310-8789-dd5450dbe970
* * Read all kadmin output before waiting for it to dieSam Hartman1996-08-102-8/+17
| | | | | | | * Sleep 2 seconds before starting KDC, so we know we slept at elast one second so that the file modification time will actually change. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8920 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.exp: Fix to specify "2500 seconds" explictly to avoidTom Yu1996-08-062-1/+6
| | | | | | getting negative maxlife. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8912 dc483132-0cff-0310-8789-dd5450dbe970
* Update to new kdb5_util calling conventionEzra Peisach1996-08-062-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8910 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.exp: Added back in. Rewritten to use new admin systemEzra Peisach1996-07-292-0/+851
| | | | | | | | | | | | Notes: a) This only tests the old functionailty - the policy database testing does not exist b) The rename test is taken out as you currently cannot rename a random key (deficiency in kadmind) c) The v4 keytab extraction does not have an equivalent in this system and is not included. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8859 dc483132-0cff-0310-8789-dd5450dbe970
* defaul.exp (kinit): Look for the end-of-file from kinit beforeEzra Peisach1996-07-292-0/+8
| | | | | | going into wait.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8858 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Rewrite to use kdb5_util instead of kdb5_create andEzra Peisach1996-07-272-36/+40
| | | | | | | kdb5_stash. No longer add the kadmin/admin and changepw keys to the database as this is handled automatically. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8852 dc483132-0cff-0310-8789-dd5450dbe970
* Removed kadmin.exp, since it's for the old admin serverTheodore Tso1996-07-242-834/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8794 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-229-60/+94
| | | | | | | | | OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970
* cvsignore hackeryTom Yu1996-06-108-8/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize fileTheodore Tso1996-06-064-1/+70
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8249 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize files to reflect current file statusTheodore Tso1996-06-064-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8246 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_decode_test.c (main): For asn1_decode_enc_kdc_rep_part,Ezra Peisach1996-06-052-1/+7
| | | | | | starttime will equal authtime if not sent OTW. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8232 dc483132-0cff-0310-8789-dd5450dbe970
* Use a wrapper script for the rcp started from kshd. This change cleans up theEzra Peisach1996-05-072-10/+12
| | | | | | test as written. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7908 dc483132-0cff-0310-8789-dd5450dbe970
* 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