summaryrefslogtreecommitdiffstats
path: root/src/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Set length correctly in krb5_get_in_tkt_with_password if password isTom Yu2003-05-214-17/+27
| | | | | | | | | | actually passed in. Also, fix test suite to be more lenient about password prompts, which changed under the previous patches for this ticket. ticket: 1480 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15463 dc483132-0cff-0310-8789-dd5450dbe970
* Sequence numbers are now unsigned. Implement lenient parser forTom Yu2003-05-183-25/+207
| | | | | | | | | | | sequence numbers which folds received negative sequence numbers into positive unsigned numbers. Constrain the space of initial sequence numbers to facilitate backwards compatibility. ticket: 1262 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15457 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (spawn_xterm): Add KPASSWD and REALMNAME to the list of exportedKen Raeburn2003-05-172-1/+6
| | | | | | variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15452 dc483132-0cff-0310-8789-dd5450dbe970
* Cleanup memory in asn.1 testsuite to allow for leak checkingEzra Peisach2003-05-126-94/+623
| | | | | | | | | | | | | | | | | | | | | | | * krb5_decode_test.c: Modify decode_run macro to take a cleanup handler to free allocated memory. Add static handlers to free krb5_alt_method, passwd_phrase_element and krb5_enc_data as the krb5 library does not handle at this time. * krb5_encode_test.c: Free krb5_context at end. Utilize the many ktest_empty and detroy functions to cleanup memory. * ktest.h, ktest.c: Add many ktest free and empty functions to cleanup allocated structures in tests. * utility.c (krb5_data_hex_parse): Free temporary data. With these changes, one can then test for memory leaks in the asn.1 and krb5_free functions. ticket: new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15413 dc483132-0cff-0310-8789-dd5450dbe970
* Implement encoders for etype_info2 and add support to s2kparams forSam Hartman2003-05-066-0/+105
| | | | | | | | | decoders. Ticket: 1454 Status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15393 dc483132-0cff-0310-8789-dd5450dbe970
* Test AES. ** Not all tests pass at present. **Ken Raeburn2003-04-182-15/+57
| | | | | | | | | | | | | | * default.exp: Add passes for testing AES. (start_kerberos_daemons): Add a small delay between starting the "tail -f" processes and appending the markers to their files. (spawn_xterm): Add RLOGIN, RLOGIND, FTP, and FTPD to the list of variables to export to the environment. Check that variables are defined before exporting them. ticket: 1418 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15361 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): If we get a timeoutTom Yu2003-03-282-0/+9
| | | | | | | looking for the mark, log out the last 10 lines of the kdc logfile. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15309 dc483132-0cff-0310-8789-dd5450dbe970
* fix test suite to reflect loss of des3-krb4Tom Yu2003-03-266-86/+42
| | | | | | | | | | | | | | Fix a few things broken by fix for MITKRB5-SA-2003-004, since kiniting to a des3 TGT intentionally no longer works. Remove code to set up kadmind srvtab, as it's not needed anymore. ticket: new status: open target_version: 1.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15303 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (setup_root_shell): If we get connection refused messages,Ken Raeburn2003-03-142-1/+16
| | | | | | | followed by no unrecognized errors and then eof, report it as an unsupported test. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15279 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): Use correct argument toTom Yu2003-02-052-1/+6
| | | | | | "-4" flag. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15152 dc483132-0cff-0310-8789-dd5450dbe970
* disable krb4 by defaultSam Hartman2003-02-042-1/+5
| | | | | | | | | | | | By default, we disable krb4 in the KDC. This means that -4 none is the default mode. Krb4 is reenabled for the dejagnu tests. ticket: new Tags: enhancement git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15149 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): Record more information when "tail -f"Ken Raeburn2003-01-232-4/+20
| | | | | | | | | doesn't show the mark written to the log file. Look for and discard non-matching lines. (setup_root_shell): Ignore the message displayed by rlogin when a connection is refused to one address but other addresses are available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15132 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc5_hammer.c (verify_cs_pair): Use krb5_free_creds() instead ofEzra Peisach2003-01-122-2/+7
| | | | | | krb5_free_cred_contents() to cleanup memory leak. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15112 dc483132-0cff-0310-8789-dd5450dbe970
* Use markers in Makefile.in rather than rules in configure.in to indicate whenKen Raeburn2003-01-102-9/+6
| | | | | | | | to use the lib.in and libobj.in makefile fragments. Pushing this per-directory info into Makefile.in will make it a little easier to work on combining configure scripts for multiple directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15107 dc483132-0cff-0310-8789-dd5450dbe970
* Only system headers should declare errnoSam Hartman2003-01-052-1/+4
| | | | | | | | | | | | | Many parts of krb5 declare errno in source files using extern int errno. This has not been needed in ANSI C for a long time, and actively breaks modern versions of glibc. So these declarations are removed and errno.h included where necessary. Ticket: new Component: krb5-build git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15082 dc483132-0cff-0310-8789-dd5450dbe970
* * standalone.exp: Only run the keytab to srvtab tests if kerberos 4Ezra Peisach2003-01-012-1/+8
| | | | | | support is compiled into the source tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15076 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesTom Yu2002-12-121-7/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15047 dc483132-0cff-0310-8789-dd5450dbe970
* Oops, missed a few checks for eofTom Yu2002-11-092-8/+6
| | | | | | | ticket: 1249 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14986 dc483132-0cff-0310-8789-dd5450dbe970
* tests/dejagnu leaks ptysTom Yu2002-11-092-4/+38
| | | | | | | | | | | * default.exp: Add (disabled) debugging code for catching leaking ptys. expect eof from the correct spawn_ids when killing kdc and kadmind to avoid leaking ptys. ticket: new status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14984 dc483132-0cff-0310-8789-dd5450dbe970
* For sam_challenge do not encode optional strings if string not present.Ezra Peisach2002-11-074-3/+16
| | | | | | | | Previously, a string of length zero was transmitted. ticket: 1224 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14974 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (stop_kerberos_daemons): Kill, expect eof, wait, inTom Yu2002-10-072-2/+8
| | | | | | | that order. Avoids delivery of multiple signals (HUP+TERM) to KDC daemons when shutting down. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14911 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp (rsh_test): Explicitly call stop_rsh_daemon upon passTom Yu2002-09-302-0/+6
| | | | | | for "encrypted rsh" test, to avoid zombies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14908 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): Fix to use "tail -f" toTom Yu2002-09-292-74/+99
| | | | | | | check for setup messages from daemons; this avoids a few race conditions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14907 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (mydir): Add missing mydir linesEzra Peisach2002-09-242-0/+5
| | | | | | ticket: 1188 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14894 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-08-294-12/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14791 dc483132-0cff-0310-8789-dd5450dbe970
* ignore tmpdirKen Raeburn2002-08-291-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14787 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-2914-7/+35
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn2002-08-294-0/+4
| | | | | | | | | those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the moment, may need updates for other configurations. (Second try; this time, deal with the cases where "cvs add"/"cvs ci" choked on previously deleted versions numbered 5.x.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14785 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn2002-08-294-0/+9
| | | | | | | those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the moment, may need updates for other configurations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14783 dc483132-0cff-0310-8789-dd5450dbe970
* 2002-08-26 Ezra Peisach <epeisach@bu.edu>Ezra Peisach2002-08-262-1/+8
| | | | | | | * configure.in: Use KRB5_LIB_PARAMS instead of AC_CANONICAL_HOST to set krb5_cv_host. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14767 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-2316-8/+40
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Fix sense of HAVE_RUNTESTTom Yu2002-08-072-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14682 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Change K5_OUTPUT_FILES to K5_AC_OUTPUT (cleanup ofEzra Peisach2002-07-182-2/+6
| | | | | | obsolete macro). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14662 dc483132-0cff-0310-8789-dd5450dbe970
* use @HAVE_RUNTEST@ in deciding which tests to runKen Raeburn2002-07-182-5/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14661 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Substitute HAVE_RUNTEST with "yes" or "no"Ken Raeburn2002-07-182-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14660 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Invoke AC_CANONICAL_HOSTKen Raeburn2002-07-122-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14634 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (HAVE_RUNTEST): Include $(DEJAFLAGS)Ken Raeburn2002-07-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14633 dc483132-0cff-0310-8789-dd5450dbe970
* * rlogin.exp: Fix previous changeKen Raeburn2002-07-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14632 dc483132-0cff-0310-8789-dd5450dbe970
* * rlogin.exp: Update expected "encrypting" message for encrypted rloginKen Raeburn2002-07-012-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14593 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-06-155-24/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14522 dc483132-0cff-0310-8789-dd5450dbe970
* * v4gssftp.exp (v4ftp_test): Update checked messages for change of "credentialsKen Raeburn2002-04-262-1/+7
| | | | | | cache file" to "credentials cache" in error message table. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14425 dc483132-0cff-0310-8789-dd5450dbe970
* call krb5_c_ versions of enctype/cksumtype checking routinesKen Raeburn2002-04-064-6/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14367 dc483132-0cff-0310-8789-dd5450dbe970
* delete no-op '-k' optionKen Raeburn2002-04-062-12/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14366 dc483132-0cff-0310-8789-dd5450dbe970
* attribution for log entryKen Raeburn2002-03-071-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14245 dc483132-0cff-0310-8789-dd5450dbe970
* test suite updates from 1.2.x - mostly testing 8-bit-kvno workaroundsKen Raeburn2002-03-076-133/+509
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14244 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): In starting the kadminEzra Peisach2002-02-212-1/+18
| | | | | | | | | daemon, the last line in the log file might read "Seeding random number" for a second. If that is the case, wait three seconds and refetch the last line of the log file to look for the "starting kadmind message" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14158 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): When standalone, delete KDC replayKen Raeburn2002-02-192-0/+6
| | | | | | cache before starting it up. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14148 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Fix date-grabbing regexp to deal with older versions ofEzra Peisach2001-12-052-2/+7
| | | | | | | | expect/tcl that have limited regexp capabilities. Pullup from 1-2-3 branch git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14044 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_verify.c (main): Use krb5_free_unparsed_name() to free upEzra Peisach2001-11-192-0/+18
| | | | | | | | memory. (check_princ): Use krb5_free_data_contents() and krb5_free_principal() to cleanup memory leak. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13996 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_mkdums.c (main): Invoke krb5_free_context when finished.Ezra Peisach2001-11-192-0/+12
| | | | | | (add_princ): Use krb5_free_principal to prevent memory leak. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13995 dc483132-0cff-0310-8789-dd5450dbe970