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
Johan Danielsson
dfa5ed41db
(renew_validate): don't allocate out
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5833 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-01 17:33:25 +00:00
Assar Westerlund
05317908d6
homogenized includes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5736 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-24 04:53:56 +00:00
Johan Danielsson
aaae186ab9
merge new-crypto branch
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5332 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-11 21:03:59 +00:00
Assar Westerlund
fc1956b05f
new arg_printusage
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5130 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-08-18 21:17:01 +00:00
Assar Westerlund
75cda86e24
(mian): initialize `ticket_life'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5051 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-30 16:10:34 +00:00
Johan Danielsson
d4995c35c9
Implement lots a new options.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4978 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-28 23:35:42 +00:00
Johan Danielsson
8c82fb9131
use print_version
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4862 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-12 12:55:32 +00:00
Johan Danielsson
df31f1043a
Check for special user-error from krb5_get_init_creds_password.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4324 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-01-21 00:36:15 +00:00
Assar Westerlund
c3c2943385
rename -s' to
-S' to be MIT-compatible.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4317 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-01-20 22:09:13 +00:00
Johan Danielsson
1e906da6e1
Allow specification of server to ticket for.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3616 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-15 17:40:09 +00:00