Commit Graph

216 Commits

Author SHA1 Message Date
Johan Danielsson
453092b9a8 make this compile without krb4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 19:12:22 +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
Assar Westerlund
ae2453241d remove extra clearing of password and some redundant code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 17:39:11 +00:00
Johan Danielsson
73436cba4f move ticket conversion code to separate function, and call that from a
couple of places, like when renewing a ticket; also add a flag for
just converting a ticket


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 16:57:04 +00:00
Assar Westerlund
b7eeb7eb8d (main): dereference result from krb5_princ_realm. from Thomas Nystrom
<thn@saeab.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-19 09:02:32 +00:00
Johan Danielsson
c75c102956 free principal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 16:40:02 +00:00
Assar Westerlund
99f53c4c8b new krb524_convert_creds_kdc_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 13:11:33 +00:00
Johan Danielsson
1737c9cb7c fix for broken mdoc.old grog test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-08 21:40:40 +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
06a574edbb transpose last two paramaters to krb5_cc_next_cred (as MIT does, and not as they document). From "Jacques A. Vidrine" <n@nectar.com>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 19:55:13 +00:00
Assar Westerlund
dbf7e6f72a simplify error printing code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-07 21:08:15 +00:00
Assar Westerlund
c1351784e9 (main): try to print the error string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-07 05:29:06 +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
Johan Danielsson
6e96026473 add simple support for running commands
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-06 09:55:33 +00:00
Assar Westerlund
1dd105ff08 (main): only request a renewable ticket when explicitly requested. it
still gets a renewable one if the renew life is specified


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-02 05:07:32 +00:00
Assar Westerlund
283db8b3a6 (renew_validate): treat -1 as flags not being set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-02 04:52:22 +00:00
Assar Westerlund
67422a6b02 s/[gs]et_progname/[gs]etprogname/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-20 01:44:56 +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
Assar Westerlund
2e050f0df7 (print_tickets): initialize `ct' to help gcc figure out it's not used
unitialized


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-25 12:37:01 +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
Johan Danielsson
5acbbb1770 call a time time', and not seconds'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9459 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-05 16:32:55 +00:00
Johan Danielsson
72310c068d use krb5_get_init_creds_opt_set_default_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-04 17:07:03 +00:00
Assar Westerlund
633782864b (main): handle krb5_init_context failure consistently
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 08:05:03 +00:00
Assar Westerlund
e31d9ba4c2 (generate_requests): handle krb5_init_context failure consistently
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 07:49:27 +00:00
Assar Westerlund
870cab56a7 clarify usage strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-25 17:01:34 +00:00
Assar Westerlund
3434a35932 print key versions numbers of v4 tickets in verbose mode
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:10:15 +00:00
Assar Westerlund
baebf953a8 use LIB_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:51:14 +00:00
Johan Danielsson
a5f93c953e fix v4 fallback lifetime calculation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-27 14:34:59 +00:00
Assar Westerlund
accdd87f82 check return value from krb5_crypto_init
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-18 06:50:26 +00:00
Johan Danielsson
528097b3bb make -a and -n aliases for -v
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-22 00:07:37 +00:00
Johan Danielsson
0605a76584 update for -f and add some more text for -v
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 20:47:58 +00:00
Johan Danielsson
0aaf7d52b9 add flags for preauth and hwauth
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 20:40:48 +00:00
Johan Danielsson
68e64d204c use rtbl to format cred listing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 18:02:40 +00:00
Assar Westerlund
9e21c6529a new test progrma
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-02 15:42:33 +00:00
Assar Westerlund
fc8a55a4dc (noinst_PROGRAMS): add generate-requests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-02 15:41:54 +00:00
Assar Westerlund
d7738d0423 (main): fix = -> ==
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-07 02:40:01 +00:00
Assar Westerlund
387a840eb1 try also to fallback to v4 when no KDC is found
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-02 19:53:10 +00:00
Assar Westerlund
60ada09b01 continue even we have no v5 ccache.
make showing your krb4 tickets the default (if build with krb4
support)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-28 05:31:37 +00:00
Assar Westerlund
89b8ffbd05 add a fallback that tries to get a v4 ticket if built with krb4
support and we got back a version error from the KDC


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-28 05:30:47 +00:00
Johan Danielsson
09b232fca4 change case of `verbose' to match the other options
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-12 10:26:08 +00:00
Assar Westerlund
fbe43f1d3d update documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-13 22:42:23 +00:00
Assar Westerlund
7d48b6d39e add support for display v4 tickets
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-13 22:41:56 +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
Assar Westerlund
24738e4449 add `krb4_get_tickets' per realm
add --anonymous


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-04 16:02:41 +00:00
Assar Westerlund
ec93c68b2d new krb5_timeofday
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 08:15:40 +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
Johan Danielsson
c2910e3ec3 change --noaddresses into --no-addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-01 14:06:33 +00:00
Johan Danielsson
c5b916ca6f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00