Love Hörnquist Åstrand
24c3bcd18f
document some more functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14342 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-09 21:19:16 +00:00
Love Hörnquist Åstrand
125e0b9541
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14341 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-09 18:57:46 +00:00
Love Hörnquist Åstrand
735376035c
add description for opt_init, opt_alloc, opt_free
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14340 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-09 18:55:40 +00:00
Love Hörnquist Åstrand
3e732e53ea
unexport krb5_get_init_creds_opt_free_pkinit
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14339 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-09 18:52:03 +00:00
Love Hörnquist Åstrand
fbd7b2787a
fold init_init_creds_ctx into get_init_creds_common
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-09 16:10:57 +00:00
Love Hörnquist Åstrand
fb7b2586bc
(_krb5_get_init_creds_opt_copy): if the in options NULL, just make a clean copy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-09 15:30:34 +00:00
Love Hörnquist Åstrand
d1972b5179
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14336 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-08 18:14:50 +00:00
Love Hörnquist Åstrand
76437eeb5a
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-01 17:07:42 +00:00
Love Hörnquist Åstrand
b4e6b5dc46
(getit): always free columns
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-01 16:54:53 +00:00
Love Hörnquist Åstrand
d466d67e0e
(krb5_rd_rep): free ap_rep message earlier so we don't leak it on error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14333 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-01 09:04:40 +00:00
Love Hörnquist Åstrand
192b125577
(add_one_principal): catch error from UI_UTIL_read_pw_string
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14332 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-01 08:41:00 +00:00
Love Hörnquist Åstrand
34f0f13bbc
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14331 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-31 22:33:16 +00:00
Love Hörnquist Åstrand
4414774aa6
unbreak 2b entry
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14330 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-31 22:32:27 +00:00
Love Hörnquist Åstrand
b8a248474d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14329 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-31 14:14:34 +00:00
Love Hörnquist Åstrand
6956494a09
(del_enctype): fix off-by-one error in del_enctype
...
From: <ragge@ludd.luth.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-31 14:13:17 +00:00
Love Hörnquist Åstrand
6554996344
(make_cred_from_ccred): the address isn't a sockaddr but rather a
...
kerberos address, deal with that.
Based on bug report from Jakob Schlyter <jakob@rfc.se >.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-31 14:10:46 +00:00
Love Hörnquist Åstrand
ed1d06e42a
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-30 22:35:37 +00:00
Love Hörnquist Åstrand
4e9d2f6a5b
update .Dd
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-30 22:34:28 +00:00
Love Hörnquist Åstrand
78e5e11b1a
Change the behavior of the parse_unit code to return the number of
...
bytes needed to print the whole string (minus the trailing '\0'), just
like snprintf. Idea from bugreport from Gabriel Kihlman <gk@stacken.kth.se >.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-30 22:33:08 +00:00
Love Hörnquist Åstrand
9f27ea17bf
test parse_time
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14323 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-30 22:26:50 +00:00
Love Hörnquist Åstrand
7816000f45
Make sure argument passed to ctype isn't signed char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-30 20:55:14 +00:00
Johan Danielsson
8746bf1201
(tgets): return whatever fgets returns
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-25 14:02:00 +00:00
Love Hörnquist Åstrand
01267b8096
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14320 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-16 13:21:28 +00:00
Love Hörnquist Åstrand
236be3a565
put dns_type_to_string and dns_string_to_type in the abi
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-16 12:19:13 +00:00
Love Hörnquist Åstrand
0641d8970d
add ds_record
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14318 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-16 12:17:47 +00:00
Love Hörnquist Åstrand
9f52383628
match new error names
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-14 15:49:51 +00:00
Love Hörnquist Åstrand
f0ca6d74a5
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-14 15:31:48 +00:00
Love Hörnquist Åstrand
c56917439e
match new error names
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-14 15:31:25 +00:00
Love Hörnquist Åstrand
42ab8cc9aa
make error messages sane again
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-14 15:30:29 +00:00
Love Hörnquist Åstrand
063c7a71e6
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 20:29:29 +00:00
Love Hörnquist Åstrand
2011850a53
use KRB5_KT_BADNAME
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 20:10:09 +00:00
Love Hörnquist Åstrand
a18ab28ed1
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 19:15:22 +00:00
Love Hörnquist Åstrand
a8f507a1ac
sync with mit krb5_err.et (require major version bump)
...
add KRB5_DELTAT_BADFORMAT
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 19:14:42 +00:00
Love Hörnquist Åstrand
1f5182ef5d
time defaults to "s"
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 18:13:16 +00:00
Love Hörnquist Åstrand
8311097ae4
(krb5_string_to_deltat): default to "s" again, MIT's behavior was
...
actually that it failed to parse the number (and thus used the
default). Even better, ticket_lifetime (that was a consumer supposed a
of the interface) was documented but never implemented, when it was
implemented, people configuraiton files started to fail.
Also, use KRB5_DELTAT_BADFORMAT as a failure code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 17:57:11 +00:00
Love Hörnquist Åstrand
adf9706ec8
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 17:43:18 +00:00
Love Hörnquist Åstrand
d1c56fd683
sync enctypes with pkinit branch
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 17:42:37 +00:00
Love Hörnquist Åstrand
111de1cb5e
(readd) support negative numbers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 17:41:48 +00:00
Love Hörnquist Åstrand
54bf17b263
support hex numbers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 17:40:21 +00:00
Johan Danielsson
ff2612b608
euthanise {get,set}_progname
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 12:15:23 +00:00
Love Hörnquist Åstrand
4feb3c1abd
use ETYPE_DES3_CBC_NONE_CMS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-12 21:25:43 +00:00
Love Hörnquist Åstrand
6c3270b0eb
add enctype_des3_cbc_none_cms
...
add cms padding for rc2
don't to padding for blocksize 1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-12 21:23:48 +00:00
Love Hörnquist Åstrand
e72a36c030
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-12 08:25:40 +00:00
Love Hörnquist Åstrand
140a5d502f
(parse_file): use hdb_generate_key_set
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14299 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-12 08:24:42 +00:00
Love Hörnquist Åstrand
3648640294
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-11 23:52:25 +00:00
Love Hörnquist Åstrand
c61ef0d7ab
Move keyset parsing and password based keyset generation into hdb.
...
Requested by Andrew Bartlett <abartlet@samba.org > for hdb-ldb backend
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-11 23:50:25 +00:00
Love Hörnquist Åstrand
2ecb91f6fe
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-07 10:21:03 +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
Love Hörnquist Åstrand
aa710fc27f
free openssl engine
...
deal with RecipientIdentifier -> CMSIdentifier and heim_any -> name change
improve error messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-06 22:38:21 +00:00
Love Hörnquist Åstrand
1212f664ea
free openssl engine
...
deal with RecipientIdentifier -> CMSIdentifier and heim_any -> name change
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-06 22:37:46 +00:00