| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14244 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
cache before starting it up.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14148 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
| |
timezone-less date out of of a syslog message. expect eof in
places to drain pty buffers and avoid deadlock.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13932 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
wrong. So is calling exit. Fix to not do these things. Expect
eof rather than "\r" so as to drain pty buffers and avoid
deadlock.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13931 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
wrong. So is calling exit. Fix to not do these things. Expect
eof rather than "\r" so as to drain pty buffers and avoid
deadlock.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13928 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
a nonexistent .k5login or .klogin for root.
(setup_{kadmind_,}srvtab, add_{random,kerberos}_key): Notice
unmatched output to avoid timing out on certain errors. Look for
command echoes. Clear the expect_after list in places to avoid
problems with lingering expect_after clauses against invalid
spawn_ids. expect eof in places to avoid pty deadlock.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13924 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
accomplish anything due to disabling of SUPPORT_DESMD5 in the
code.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13869 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
then look for eof. Some versions of expect go through a full
timeout in this scenario and others return immediately. New order:
kill process, expect eof, close, and then wait.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13866 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
start_rsh_daemon again to prevent running out of ptys.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13846 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
kadmin_addpol, kadmin_delpol, kadmin_listpols, kadmin_modpol, and
kadmin_showpol, which provide the tools with which to perform policy
tests. Added some basic policy operations to the tests of basic
kadmin functions. Added a test case to exercise the kadmind crash
that used to occur when the history number of a policy was decreased.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13838 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
and avoid deadlock.
* rsh.exp (stop_rsh_daemon, rsh_test): Call "expect eof" to drain
pty buffer and avoid deadlock.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13837 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TGT principal. Add test pass des.md5-tgt for exercising enctype
similarity inconsistency. Add test pass des.no-kdc-md5 for
exercising failure to constrain session key issuance to
permitted_enctypes. Pepper the code with null calls to
expect_after to prevent misfiring of expect_after clauses.
(setup_srvtab): Look for some possible error cases to avoid timing
out.
(setup_root_shell): Restore timeout so we don't wait 5 minutes in
other places.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13836 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
$(OBJEXT). Change a couple of UNIX rules to not trigger incorrectly on
Windows. Rebuild dependencies.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13801 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
don't worry about restoring them when importing new versions of code.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13792 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13734 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13726 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
variable
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13690 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
peer" as a failure to get a root shell. This happens if
tcp_wrappers are in use in inetd.conf, but rlogind is not prsent
on the machine.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13673 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
but never used.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13623 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13581 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13578 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13577 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
exercise PBSZ failure.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13554 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* kadmin.exp: Use $tmppwd rather than hardcoding tmpdir.
* rcp.exp: Use $tmppwd rather than hardcoding tmpdir.
* rsh.exp: Rearrange ordering of environment setup slightly.
* standalone.exp: Use $KLIST -5 -e so as to better debug enctype
problems.
* v4gssftp.exp: Do check_klogin as well as check_k5login. Use
$tmppwd rather than hardcoding tmpdir.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13501 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
specification of an alternative temporary directory. Wrap a loop
around various testings and settings of interface variables that
specify the locations of programs to be tested, e.g. $KADMIND.
Add some support for having different sets of enctypes on client,
server, and kdc. The envstack changes and multiple config file
support should get cleaned up somewhat later to possibly allow for
programs to execute on different hosts.
(check_k5login): Fix up to reflect actual (perhaps bogus) behavior
of krb5_kuserok(), which doesn't do quite what we expect, so there
really does need to be something like "luser@KRBTEST.COM" in the
.k5login file.
(check_klogin): New procedure; .klogin also needs to be checked
for the v4gssftp test.
(envstack_push, envstack_pop): New procedure; keep a stack of
environment variable state, which is useful for running different
programs with different config files.
(setup_runtime_flags, setup_kerberos_env): Rewrite somewhat so
they play nice with the envstack.
(setup_krb5_conf): New procedure; write a config file with the
contents parameterized based on the type of program that will use
it.
(setup_kerberos_files): Create different krb5.conf files for
client, server, and kdc.
(setup_kadmind_srvtab, setup_kerberos_db, start_kerberos_daemons):
Rewrite to play nice with envstack.
(setup_root_shell_noremote): New procedure from raeburn; handle
the case where we're already running as root.
(setup_root_shell): Call setup_root_shell_noremote as appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13500 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13356 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
with a non-standard port number.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13355 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
of /etc/hosts, as well as problems with resolver library, are all
likely to cause failure.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13343 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
cache. Restore at end to previous setting. This prevents failures
caused when the krb5 cache contains valid information - as in the
case of this test being run immediately after the gssftp.exp test.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13313 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
-a so that the test may successfully be run by root without failing
(i.e. root is granted ftp access) and without opening the running
ftpd to a password attack (i.e. authorization is required).
Check for successful login messages added.
* v4gssftp.exp: Same changes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13304 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
minor code from GSSAPI as well.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13277 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
code from GSSAPI.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13212 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13201 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
name from the V5 tests.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13188 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13009 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
KRB4; dejagnu-1.3 doesn't like digits in passed-in variables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12862 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
doesn't deal with digits in passed-in variables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12861 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
timing out.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12860 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
AC_RETSIGTYPE and AC_TYPE_SIGNAL.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12838 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
length ticket and as_rep. Fix up calls to decode_run() to have
the modifier be in the description parameter.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12817 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of -1.
* ktest_equal.c (ktest_equal_krb5_etype_info_entry): Test for
KRB5_ETYPE_NO_SALT. ktest_equal_array_of_octet() and
ktest_equal_array_of_char take unsigned int lengths.
* ktest_equal.h: Add len_unsigned_array macro for a prototype of a
function taking an unsigned int
count. ktest_equal_array_of_octet() is one of
these. ktest_equal_array_of_char() takes an unsigned int as
length.
* trval.c (trval): Unsigned/signed int fix.
* utility.c (asn1_krb5_data_unparse): Better test for krb5_data
length being less than zero.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12789 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
Since the warning message about missing dictionary is now going to the
proper place (instead of simply syslogging), the logic to detect kadmind
startup is getting confused by the warning message of a dictionary not being in
place.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12754 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
error, add one to the error count so there will be a non-zero
exit. Sometimes, the decoded structure is complete enoght to pass
the test, even with an ASN.1 error - which can easilly get missed
in the output run.
The indefinite lengths encryption key test (w/ trailing [2] integer)
fails under linux and SGI - but works on other platforms - probably
due to luck stack problems.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12677 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12627 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
provide a krb4_srvtab stanza (even though we are falling back on
the keytab file) so the tests do not try to access an installed
systems /etc/srvtab file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12626 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12623 dc483132-0cff-0310-8789-dd5450dbe970
|