Love Hörnquist Åstrand
836b720382
Avoid memory leak.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-18 20:55:39 +00:00
Love Hörnquist Åstrand
c31be304c0
Use krb5_get_kdc_sec_offset.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 16:00:00 +00:00
Love Hörnquist Åstrand
cb22e0849c
update (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 13:08:44 +00:00
Love Hörnquist Åstrand
a887c3389a
split build files into dist_ and noinst_ SOURCES
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 09:11:49 +00:00
Love Hörnquist Åstrand
a01d3c5a98
Make digest argument o MD5_final unsigned char to help OpenSSL.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 12:06:45 +00:00
Love Hörnquist Åstrand
45698ac1dc
Add flag --pk-use-enckey.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-04 20:56:21 +00:00
Love Hörnquist Åstrand
3bab71b31d
Don't require --kerberos-realm.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 10:50:52 +00:00
Love Hörnquist Åstrand
c1c7757afe
Add tool for printing tickets.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-18 17:36:06 +00:00
Love Hörnquist Åstrand
c3b24d8d8e
Remove debug printf
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17988 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 11:04:00 +00:00
Love Hörnquist Åstrand
3ef140c394
Use new function krb5_get_init_creds_opt_set_addressless.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 10:57:48 +00:00
Love Hörnquist Åstrand
1812eef99f
(renew_validate): inherit the proxiable and forwardable from the
...
orignal ticket, pointed out by Bernard Antoine of CERN.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-01 16:36:33 +00:00
Love Hörnquist Åstrand
c993715525
(help): use sl_slc_help().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-28 14:20:18 +00:00
Love Hörnquist Åstrand
03f49a749f
Add --kerberos-realm, add client request command.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:36:41 +00:00
Love Hörnquist Åstrand
37129f204b
Use the krb5_digest api. Return useful errorstring on no-existant command.
...
Add client request command.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:36:19 +00:00
Love Hörnquist Åstrand
258668b591
add realm to server-init
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-21 10:15:45 +00:00
Love Hörnquist Åstrand
c37191e06e
Frontend for remote digest service in KDC
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-18 10:44:40 +00:00
Love Hörnquist Åstrand
5ea0612ca9
If --password-file gets STDIN, read the password from the standard input.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-10 14:47:45 +00:00
Love Hörnquist Åstrand
095abbfd38
Document --password-file=STDIN.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-10 14:46:58 +00:00
Love Hörnquist Åstrand
619970dbd8
add --delegation-credential-cache
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 21:20:55 +00:00
Love Hörnquist Åstrand
efb0ffc76c
use new krb5_get_creds interface, add impersonation.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 15:05:22 +00:00
Love Hörnquist Åstrand
b011acf259
Pass down prompter and password to krb5_get_init_creds_opt_set_pkinit.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17540 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:58:07 +00:00
Love Hörnquist Åstrand
22a9431c92
Move parsing of the PK-INIT configuration file to the library so
...
application doesn't need to deal with it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 10:16:41 +00:00
Love Hörnquist Åstrand
652da91adb
Rename u_intXX_t to uintXX_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:52:01 +00:00
Love Hörnquist Åstrand
81ea1bb05f
Document --credential=principal.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 20:52:12 +00:00
Love Hörnquist Åstrand
43c959fd1d
document option password-file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 21:24:04 +00:00
Love Hörnquist Åstrand
594b3f5d86
Add option password-file, read password from the first line of a file.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 21:21:23 +00:00
Love Hörnquist Åstrand
6815452550
Added certificate revoke information from configuration file.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17054 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 13:21:46 +00:00
Love Hörnquist Åstrand
495cb953e6
Catch empty file case. From Tobias Stoeckmann.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17051 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 12:22:52 +00:00
Johan Danielsson
125128ed5c
use exactly six X:es with mkstemp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 09:55:12 +00:00
Love Hörnquist Åstrand
145960cda9
Add pool of certificates to help certificate path building for clients
...
sending incomplete path in the signedData.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-30 03:12:06 +00:00
Johan Danielsson
b8e5d95008
unused
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-17 15:32:17 +00:00
Love Hörnquist Åstrand
2716c51d68
Default to use DH when fetching keys.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:43:01 +00:00
Love Hörnquist Åstrand
a271224bab
In the list caches view, rename the Status field to Expires.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 19:46:10 +00:00
Love Hörnquist Åstrand
5b3597703d
Document --list-caches
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-06 19:59:16 +00:00
Love Hörnquist Åstrand
737b532df0
Change short flag of --list-caches to -l (-v is already used).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-06 19:56:38 +00:00
Love Hörnquist Åstrand
cd2ce0c2a6
Add option --list-caches that lists the avaible caches and their status.
...
$ klist --list-caches
Principal Cache name Status
lha@E.KTH.SE 2 Valid
lha@SU.SE 1 Expired
lha/root@SU.SE 0 Expired
lha@N.L.NXS.SE Initial default ccache Expired
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-01 03:39:59 +00:00
Love Hörnquist Åstrand
ded223d98f
(check_for_tgt): Re-order code so it only free the credential if one
...
was returned.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-22 20:18:06 +00:00
Love Hörnquist Åstrand
4c6f3aeaf3
If there are no addresses, print addressless instead of nothing.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 03:27:19 +00:00
Love Hörnquist Åstrand
bef3d96fb7
avoid shadowing variables
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-01 07:29:03 +00:00
Love Hörnquist Åstrand
d3dabc335b
avoid shadowing global variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-01 07:20:54 +00:00
Love Hörnquist Åstrand
ac8c82785c
s/optind/optidx/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-01 07:14:58 +00:00
Love Hörnquist Åstrand
54f8d95f72
(main): catch KRB5_CONFIG_BADFORMAT from krb5_init_context
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15369 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-14 00:14:43 +00:00
Love Hörnquist Åstrand
ea7df6b1e6
krb5_get_init_creds_opt_set_pkinit
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 16:17:04 +00:00
Love Hörnquist Åstrand
6ab4270794
use the newly generated units function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 18:08:42 +00:00
Love Hörnquist Åstrand
d6b87a47d9
use strlcpy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:54:58 +00:00
Love Hörnquist Åstrand
5ed2d6418f
add forward declaration of krb5_krb_auth_data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-23 20:29:16 +00:00
Love Hörnquist Åstrand
98f267a220
widen lifetime/renewal warning text field, also make use of
...
unparse_time_approx, no need to be specific to the second when ticket
needs to be renewed or their lifetime.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-15 23:08:35 +00:00
Love Hörnquist Åstrand
3525e279f2
use keeps around options, spelling, from openbsd
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-08 17:40:10 +00:00
Love Hörnquist Åstrand
af89d92dfe
(get_new_tickets): only complain about ticket renewable lifetime when
...
the user asked for a specific renewable lifetime
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14356 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-18 03:39:22 +00:00
Love Hörnquist Åstrand
c4cacd7a06
adapt to new signature of krb5_get_init_creds_opt_set_pkinit
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-07 10:20:41 +00:00