Commit Graph

31 Commits

Author SHA1 Message Date
Nicolas Williams
1aa0a495c2 tests: Use kadmin w/ here-document to speed up tests 2024-01-16 16:28:35 -06:00
Nicolas Williams
016373931d tests: Kill daemons on ^C 2024-01-16 16:28:35 -06:00
Nicolas Williams
d172a8bd79 kdc: More testing of hard aliases
This is an attempt to make sure we test realm migration aliases by doing
kinit w/ a hard alias name in a different realm, and that we can get
service tickets for services in the same and other realms some of which
are hard aliases in one direction, and some in the other.
2022-03-23 12:46:00 -05:00
Nicolas Williams
1acb961bc1 kdc: Implement hard and soft principal aliases
We introduced a notion of soft vs. hard aliases in the previous commit
(hdb: Distinguish soft and hard principal aliases).

This commit corrects existing test cases and adds new test cases.

Soft aliases allow for the configuration of referrals using HDB entries.

Hard aliases are like copies of the aliased HDB entries.  These are
useful for renaming principals (and realms).

See the preceding commit.
2022-03-17 20:43:32 -05:00
Nicolas Williams
06ba7b1597 test: When kdc fails to start, show the log
This is an attempt to find out why the GitHub Actions OS X build is
failing.
2022-01-20 14:32:17 -06:00
Isaac Boukris
d0e6ab43bc tests: check PAC client name in the non-canon case
and fixed the existing test to match the actual behavior,
I think it used to fail just because it used enterprise name
style without specifying it.
2021-09-23 22:35:54 +10:00
Isaac Boukris
efb111e450 Separate enterprise and canonicalize flags
The meaning of the two is different and we should
not implicitly set both if one was requested (this
aligns the logic with MIT kinit -C/-E options).

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
2018-12-26 16:55:13 -06:00
Quanah Gibson-Mount
7c16ce3457 Minor typo/grammar fixes 2017-03-10 15:47:43 -05:00
Nicolas Williams
2027aa11ed Use --detach in tests to avoid waiting 2016-12-07 19:52:29 -06:00
Viktor Dukhovni
c3eb3341c2 Implement and test referrals for host:port 2016-02-26 15:43:13 -05:00
Love Hornquist Astrand
4ebfd6b818 make sure logs are truncated 2012-10-07 11:11:17 -07:00
Love Hörnquist Åstrand
e73a5a9c54 remove stray klist 2011-06-19 11:39:39 -07:00
Love Hornquist Astrand
dfd107c709 Test principal name with aliases in them 2010-06-09 22:21:12 -07:00
Love Hornquist Astrand
86da42df1d abstract out --no-afslog and --no-unlog 2010-06-01 14:42:16 -07:00
Love Hornquist Astrand
72908828b1 remove $Id$ 2009-09-21 10:36:37 -07:00
Love Hornquist Astrand
6377aab76f migrate to ${env_setup} 2009-09-07 15:40:14 -07:00
Love Hornquist Astrand
9a106ac7da migrate to ${env_setup} 2009-09-07 15:15:14 -07:00
Love Hörnquist Åstrand
f62a6180c9 check that alias is added
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:05:01 +00:00
Love Hörnquist Åstrand
d93ac20298 kill -9 to make store its dead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:03:47 +00:00
Love Hörnquist Åstrand
55d94796d0 drop removal of no existig file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24456 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:47:03 +00:00
Love Hörnquist Åstrand
df0cc7d1b4 use leaks-kill.sh
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24165 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:10:51 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
8e36f33c5e Fix status messages.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22766 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:09:14 +00:00
Love Hörnquist Åstrand
99a3df5a8a Try client side guessing too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:27 +00:00
Love Hörnquist Åstrand
395d4e88af Test TGS referrals.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:18 +00:00
Love Hörnquist Åstrand
9aa3b672c2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-08 06:58:49 +00:00
Love Hörnquist Åstrand
6fae0fe78e Spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-26 05:22:49 +00:00
Love Hörnquist Åstrand
208080c122 Add some more as-req canon tests, add disable tgs-req tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21048 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-11 23:10:55 +00:00
Love Hörnquist Åstrand
9df9f6a9da revert 21003
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:53:10 +00:00
Love Hörnquist Åstrand
12df8538af use "roken.h" consitantly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:42:05 +00:00
Love Hörnquist Åstrand
76677d199a add check-referral
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:25:15 +00:00