| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
subversion commit log entry needs to include information that would
have been in the changelog.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17893 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
| |
* default.exp (setup_krb5_conf): Don't include a non-listening KDC port in the
client's config file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17434 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
| |
(setup_root_shell): If can_get_root is "no", log a message and return, without
making another attempt. On failing attempts, set can_get_root to "no".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17375 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
| |
just kdc file, so kadmin.local (etc) invocations using other config files still
see them.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17334 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
| |
Depend on Makefile.
* config/default.exp (setup_kerberos_files): Don't write database_name entry
into KDC config file.
(setup_krb5_conf): Write new config lines for the realm into the krb5.conf file
for the KDC.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17333 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
(start_kerberos_daemons): Pass it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17124 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
| |
less delay than the old code that was in start_kerberos_daemons.
(start_kerberos_daemons): Call start_tail for both log files.
ticket: 2873
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17019 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
running "date".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17015 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
to look up KDCs, to avoid timeouts on KRBTEST.COM's DNS servers.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16478 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
| |
Use it to compute all port numbers.
This should help reduce conflicts between multiple simultaneous test
runs, if they supply different $PORTBASE values.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16169 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
| |
new pass which does AES and "mode=tcp".
(setup_kerberos_files, setup_krb5_conf): Check global var "mode" and use it to
force UDP or TCP communication between client and KDC. Also, have clients try
another random port where we don't expect anything to be listening.
ticket: 2285
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16125 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
| |
available in tcl-8.3.
ticket: new
target_version: 1.3.2
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16071 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Implement gross hack to use priocntl to work around the Solaris 9
pty-close bug. Run expect at a higher class "FX" priority than
spawned processes, which run at a lower class "FX" priority. "make
check" needs to start from a process which has FX priority >= 30 and
FX priority limit >= 30. Thanks to Bill Sommerfeld for the hints.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16069 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(start_kerberos_daemons): Check for error "No principal in keytab matches
desired name".
(dump_db): New proc, for debugging.
(spawn_xterm): Add GSSCLIENT to list of exported variables.
ticket: 2066
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15915 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
| |
* default.exp (setup_root_shell): Check for "not authorized". Map eof to
unsupported.
ticket: new
target_version: 1.3
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15582 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
"-" when handling error messages from rlogin.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15563 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15555 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
supported.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15545 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
| |
(start_kerberos_daemons): Watch for "Cannot bind server socket" and log it.
Watch for "no sockets set up" and report an error.
(setup_root_shell): Watch for "Cannot assign requested address", log it and
give up.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15541 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
variables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15452 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
| |
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 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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
"-4" flag.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15152 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
ticket: 1249
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14986 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
with a non-standard port number.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13355 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
|
| |
|
|
|
|
| |
doesn't deal with digits in passed-in variables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12861 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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
too quickly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12618 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12616 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
| |
compatibility. Set KRBTKFILE environment variable. Add
v4_compatible_enctype() proc to test if krb4 tests are being run
and if the current encryption type being tested is compatible with
V4. Added v4kinit() proc.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12614 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
assignments. Dejagnu (June 1999 release) fails overwise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12610 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
| |
multipass testing to particular passes. dejagnu-1.3 doesn't have
support for PASS, so we kludge it here, though some later versions
handle it by themselves.
(krb_exit): Add new proc to clean up on exit.
(kinit): Remove "expect \r" since "expect eof" will drain the pty
buffer properly anyway.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12583 dc483132-0cff-0310-8789-dd5450dbe970
|