Assar Westerlund
5e75a6ed64
allow specification of afslog in krb5.conf, noted by jhutz@cs.cmu.edu
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-29 15:59:08 +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
41aef46b1e
install kauth as a symlink to kinit
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-02 17:12:23 +00:00
Johan Danielsson
f8a8bcf466
get v4_tickets by default
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-02 16:57:32 +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
Johan Danielsson
63432b5860
kauth is no more
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-31 10:01:55 +00:00
Johan Danielsson
df4581e760
use appdefaults for everything. defaults are now as in kauth.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10612 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-31 10:01:31 +00:00
Assar Westerlund
6f0e549ca6
remove CHECK_LOCAL - non bin programs require no special treatment now
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-24 01:12:58 +00:00
Assar Westerlund
3e6771f647
do add optind
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-24 01:08:13 +00:00
Assar Westerlund
6dee9a377c
parse arguments in a useful way
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-24 01:07:22 +00:00
Assar Westerlund
b3880607d5
add --help/--verify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10547 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-24 00:59:25 +00:00
Assar Westerlund
a5bcd83ab5
(renew_validate): invert condition correctly. get v4 tickets if we
...
succeed renewing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10361 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-19 16:54:42 +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
45de301338
re-do some of the v4 fallbacks:
...
look at get-tokens flag
do not print extra errors
do not try to do 524 if we got tickets from a v4 server
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-06 14:37:38 +00:00
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