Commit Graph

46 Commits

Author SHA1 Message Date
Nicolas Williams d1d900034f kinit: Make default-for-princ behavior optional
We can't just default to useing the krb5_cc_default_for() ccache for a
principal -- that breaks a number of uses of kinit.
2020-05-25 14:07:05 -05:00
Nicolas Williams a8874a62bb krb5: Fix kinit harder
The previous fixes for using `krb5_cc_default_for()` weren't quite
correct.
2020-03-17 19:13:16 -05:00
Nicolas Williams 7dae771eef kinit: Add --cache-default-for flag (fix check-cc) 2020-03-12 21:02:09 -05:00
Viktor Dukhovni 5bbe7c8dc6 Implement forwarding of leaf TGTs to selected realms.
Refactor and enhance TGT forwarding to allow forwarding of leaf
(destination) TGTs for selected destination realms.

Enhance kinit(1) to renew non-origin realm tickets

Document delegate-destination-tgt

Use the newly implemented _krb5_mk_1cred().
2019-10-30 16:20:58 -05:00
Viktor Dukhovni fae8df3839 Optional backwards-compatible anon-pkinit behaviour
* Anonymous pkinit responses from the KDC where the name
  type is not well-known (as issued by 7.5 KDCs and earlier)
  are accepted by the client.  There is no need for the client
  to strictly enforce the name type.

* With historical_anon_pkinit = true, the kinit(1) client's
  "--anonymous" option only performs anon pkinit, and does
  not require an '@' prefix for the realm argument.

* With historical_anon_realm = true, the KDC issues anon
  pkinit tickets with the legacy pre-7.0 "real" realm.
2019-09-04 18:00:15 -04:00
Luke Howard 3051db0d5d kuser: support authenticated anonymous AS-REQs in kinit
Allow kinit to request anonymous tickets with authenticated clients, not just
anonymous PKINIT.
2019-05-14 15:16:19 -04:00
Roland C. Dowdeswell 92aad0fa3d Fix kinit.1's synopsis w.r.t. -f and -F. 2014-12-01 12:40:54 -05:00
Jelmer Vernooij ea062e4bb2 Remove references to KRBTKFILE from login.1 and kinit.1. 2014-06-02 00:32:37 +02:00
Roland C. Dowdeswell a952dc2c52 Add -F to kinit for compatibility with MIT Kerberos. 2013-02-02 05:42:05 +08:00
Love Hornquist Astrand 0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Thomas Klausner db8e287e41 Use "Fl Fl" for long options.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-05-21 11:54:14 -07:00
Love Hornquist Astrand b1909b2daa Fixes from NetBSD via Thomas Klausner and Roland C. Dowdeswell 2011-05-04 21:31:10 -07:00
Love Hornquist Astrand 341f4a2f23 update help text 2010-11-06 20:26:03 +01:00
Love Hornquist Astrand 3ba4f32d8d Expand on what enterprise names are 2010-08-28 13:01:45 -07:00
Guillaume Rousse 792db1ca13 document --enterprise option, as in --help output
Signed-off-by: Guillaume Rousse <Guillaume.Rousse@inria.fr>
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-08-28 10:57:12 -07:00
Love Hornquist Astrand a6f9dfc5ad drop krb4 2010-03-16 20:43:24 -07:00
Love Hörnquist Åstrand 0db761a0c4 remove extra kinit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-25 16:26:30 +00:00
Love Hörnquist Åstrand 2e7d8823f9 remove reference to kauth
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-25 16:26:20 +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 095abbfd38 Document --password-file=STDIN.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-10 14:46:58 +00:00
Love Hörnquist Åstrand 43c959fd1d document option password-file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 21:24:04 +00:00
Johan Danielsson c5b09ec10c document -A
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12394 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-23 11:39:49 +00:00
Love Hörnquist Åstrand 0a77e7b2f6 setup -> set up, new sentence, new line
from Thomas Klausner <wiz@netbsd.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 12:21:49 +00:00
Love Hörnquist Åstrand 62fb84849a s/kerberos/Kerberos/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 17:53:05 +00:00
Love Hörnquist Åstrand aa25cfcafa add copyright/license statment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11648 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-16 21:10:32 +00:00
Johan Danielsson aa5ba66390 remove unneeded Ns
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-13 14:50:27 +00:00
Johan Danielsson 530dbd1fdf whitespace fix (from NetBSD)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11260 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 16:09:36 +00:00
Johan Danielsson 879fc6b8bc more, mostly whitespace, fixes from Thomas Klasusner
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 17:07:29 +00:00
Johan Danielsson 747a00df69 remove Ns before comma (from Thomas Klausner)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 16:37:20 +00:00
Johan Danielsson b5b921b917 document -a
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-07 09:28:39 +00:00
Assar Westerlund 1633b94ab9 mdoc fixes (refer correctly to programs). from Ruslan Ermilov <ru@FreeBSD.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-01-24 15:30:49 +00:00
Assar Westerlund 17ece7c5e6 add kauth as an alias for kinit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10754 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-29 15:58:44 +00:00
Johan Danielsson 13c411113a remove references to kauth
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-31 10:02:21 +00:00
Assar Westerlund 19aff2e7fb references and see also fixups from Ruslan Ermilov <ru@FreeBSD.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-12 08:42:28 +00:00
Assar Westerlund f0e3248df2 update with new options. remove confusing text about KRB5_CONFIG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 19:21:29 +00:00
Johan Danielsson 776835b929 fix for broken mdoc.old grog test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-08 21:35:32 +00:00
Assar Westerlund 25ad02d691 mdoc fixes from ru@freebsd.org
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-02 08:59:23 +00:00
Johan Danielsson da415a6c2b document run-command-mode
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-06 10:00:35 +00:00
Assar Westerlund 0016308628 clarifyication on v4 behavioiur, from <lha@stacken.kth.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-28 21:44:56 +00:00
Assar Westerlund 123f083d26 mdoc fixed from ru@freebsd.org
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-26 22:46:29 +00:00
Johan Danielsson 1b1f9fcfd5 some cleanup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-05 16:34:27 +00:00
Assar Westerlund dbc3262a57 update
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-04 16:05:32 +00:00
Johan Danielsson 6175795a3d document kauth
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-01 14:12:13 +00:00
Assar Westerlund a7dd141b5f update
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6243 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-14 14:05:40 +00:00
Johan Danielsson a98e3b0b03 updated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4981 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-28 23:36:49 +00:00
Assar Westerlund 44edbf46f3 new man pages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3205 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-27 23:44:57 +00:00