Love Hörnquist Åstrand
5d190295aa
add context argument to krb5_get_init_creds_opt_alloc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:28:20 +00:00
Love Hörnquist Åstrand
54fc57ccb5
s/des_read_pw_string/UI_UTIL_read_pw_string/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:37:03 +00:00
Love Hörnquist Åstrand
61e14619de
use krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:31:42 +00:00
Love Hörnquist Åstrand
ae9f3656f7
use krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:45:38 +00:00
Love Hörnquist Åstrand
1b0fb56912
(check_for_tgt): use krb5_cc_clear_mcred
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:35:43 +00:00
Love Hörnquist Åstrand
71635344e5
write out v4 credential caches with _krb5_krb_tf_setup
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-28 21:02:36 +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
Johan Danielsson
7eb7222d36
add -A as an alias for --no-addresses
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12393 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-23 11:38:22 +00:00
Love Hörnquist Åstrand
45b32a1abb
spelling, from netbsd
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 21:56:40 +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
0764844cac
destroy tokens even if there isn't v4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-08 18:52:57 +00:00
Love Hörnquist Åstrand
77299ee4c7
get token even if there isn't v4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-08 18:51:36 +00:00
Love Hörnquist Åstrand
d7e8189ab7
print tokens even if there isn't v4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-08 18:43:22 +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
e24f1c1207
INCLUDES: -I$(srcdir)/../lib/krb5
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:15:27 +00:00
Love Hörnquist Åstrand
713597129f
(main): handle that krb5_cc_default_name can return NULL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 00:28:22 +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
Jacques A. Vidrine
2372cc4a9d
We need "crypto-headers.h" to get a prototype for des_read_pw_string.
...
This becomes especially important when building against OpenSSL 0.9.7.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-21 14:13:51 +00:00
Johan Danielsson
f8c722fc0d
(display_tokens): allow tokens up to size of buffer (from Magnus
...
Holmberg)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-17 11:59:51 +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
03a7ed8ec5
(do_524init): free principals
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11422 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-09 22:17:53 +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
19ae5f062f
(do_v4_fallback): don't use krb_get_pw_in_tkt2 since it might not
...
exist, and we don't actually care about the key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-21 12:21:31 +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
93c3f541eb
(display_tokens): increase token buffer size, and add more checks of
...
the kernel data (from Love)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 09:05:18 +00:00
Johan Danielsson
406ec954e9
print a notice if the returned ticket life/renew is different from the
...
requested
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-07-01 16:23:56 +00:00
Johan Danielsson
6d6c02d255
(display_tokens): don't bail out before we get EDOM (signaling the end
...
of the tokens), the kernel can also return ENOTCONN, meaning that the
index does not exist anymore (for example if the token has expired)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-06-28 17:42:24 +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
Johan Danielsson
5021c1b2c2
add command line switch for extra addresses
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-07 09:21:06 +00:00
Johan Danielsson
ba522c5e3a
better align some headers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 16:10:10 +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
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