Love Hörnquist Åstrand
f2fe7866d3
When running kinit in "fork mode" do pagsh independent of krb4, also
...
always do krb4 setup of cc. Always try to destroy the v4 cc.
all boolean --{,no-}request-pac that will request pac or not
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 12:21:42 +00:00
Love Hörnquist Åstrand
f5104e0d11
don't get v4 tickets by default
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-21 13:15:34 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Johan Danielsson
d173a06e02
(main): pass ccache to krb524_convert_creds_kdc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7148 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-16 15:30:33 +00:00
Johan Danielsson
5bd7f70998
(main): only get default value for `get_v4_tgt' if it's explicitly set
...
in krb5.conf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7017 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-24 08:38:04 +00:00
Assar Westerlund
8f8b7c05c8
(main): don't print any error if reading the password was interrupted
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6968 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-14 21:48:04 +00:00
Assar Westerlund
48ee8e1b12
(main): some more KRB4-conditionalizing
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6733 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 19:40:29 +00:00
Assar Westerlund
1974bff890
(main): add config file support for forwardable and krb4 support.
...
From Miroslav Ruda <ruda@ics.muni.cz >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6723 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:15:01 +00:00
Assar Westerlund
2881e3a734
add --noaddresses
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6169 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-09 08:49:50 +00:00
Johan Danielsson
6542ddb045
add `--fcache-version' to set cache version to create
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6039 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:44:49 +00:00
Assar Westerlund
339eff8738
(renew_validate): set all flags
...
(main): fix cut-n-paste error when setting start-time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6003 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 14:48:11 +00:00
Assar Westerlund
4ba208f29a
(renew_validate): use the client realm instead of the local realm when
...
renewing tickets.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6001 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 13:36:31 +00:00
Assar Westerlund
72cbcac0e9
(renew_validate): hopefully fix up freeing of memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5998 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 13:19:40 +00:00