Love Hörnquist Åstrand
cb90a09e7f
remove various enctype related function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 12:00:01 +00:00
Love Hörnquist Åstrand
b72a303e66
add various enctype related function here
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 11:58:58 +00:00
Love Hörnquist Åstrand
32f34ae898
add krb5_cksumtype_valid krb5_cksumtype_valid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 11:43:10 +00:00
Love Hörnquist Åstrand
9e2d1ab3e1
real return values for krb5_{enctype,cksumtype}_valid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 11:41:14 +00:00
Love Hörnquist Åstrand
9585e0ae3c
add some functions and descriptions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 11:20:29 +00:00
Love Hörnquist Åstrand
63e65776e7
move out non krb5_c functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 11:18:14 +00:00
Love Hörnquist Åstrand
2e96955fda
document krb5_auth_con_generatelocalsubkey
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 11:09:51 +00:00
Love Hörnquist Åstrand
c4d325a9be
document krb5_krbhst_init_flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 11:03:39 +00:00
Love Hörnquist Åstrand
94e9280b53
document krb5_kt_default_modify_name
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 10:54:23 +00:00
Love Hörnquist Åstrand
ccf6692dfc
document krb5_add_et_list
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 07:22:20 +00:00
Love Hörnquist Åstrand
db2202e310
document krb524_convert_creds_kdc, krb524_convert_creds_kdc_ccache
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 07:20:07 +00:00
Love Hörnquist Åstrand
306532398c
document krb5_acl_match_*
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 07:17:05 +00:00
Love Hörnquist Åstrand
0a03b1f94b
test unknown acl format specifier
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 07:09:46 +00:00
Love Hörnquist Åstrand
5765269557
test generatic acl code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 07:06:48 +00:00
Love Hörnquist Åstrand
4b69fa3283
plug memory leak on file matching
...
make it not fall over when no non matching acl
make fnmatch matching useful by switching arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 07:05:46 +00:00
Johan Danielsson
4385cd757d
add a bunch of Li and document [kadmin] password_lifetime; from Henry B. Hotz
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-18 07:22:44 +00:00
Love Hörnquist Åstrand
b521a2fb43
(krb5_mk_rep): if KRB5_AUTH_CONTEXT_USE_SUBKEY is set send subkey
...
(generate if needed)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:16:58 +00:00
Love Hörnquist Åstrand
e3042fc389
add KRB5_AUTH_CONTEXT_USE_SUBKEY
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13517 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:14:16 +00:00
Love Hörnquist Åstrand
1e0d125761
understand [password_quality]
...
spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-12 09:00:12 +00:00
Love Hörnquist Åstrand
39dc6f4fa5
(fcc_store_cred): NULL terminate krb5_config_get_bool_default' arglist
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-10 13:28:15 +00:00
Love Hörnquist Åstrand
9197bbb0c8
rename ca_dir to pkinit/x509_anchors since its more like that language
...
in RFC3280
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 21:06:10 +00:00
Love Hörnquist Åstrand
ed64621d8e
document [libdefaults]fcc-mit-ticketflags=boolean
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 19:48:53 +00:00
Love Hörnquist Åstrand
cd4be77fc7
(fcc_store_cred): use [libdefaults]fcc-mit-ticketflags=boolean to
...
decide what format to write the fcc in. Default to mit version (aka
heimdal 0.7)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 17:40:05 +00:00
Love Hörnquist Åstrand
a73db09513
add _krb5_store_creds_heimdal_0_7 and
...
_krb5_store_creds_heimdal_pre_0_7 that store the creds in just that format
make krb5_store_creds default to mit format
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 17:34:59 +00:00
Love Hörnquist Åstrand
9107f84073
(krb5_ret_creds): Runtime detect the what is the higher bits of the
...
bitfield
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 17:13:23 +00:00
Love Hörnquist Åstrand
4ccc9ed53b
(krb5_store_creds): add disabled code that store the ticket flags in
...
reverse order
(bitswap32): new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-08 19:27:42 +00:00
Love Hörnquist Åstrand
ac134c6bf0
(krb5_ret_creds): if the higher ticket flags are set, its a mit cache,
...
reverse the bits, bug pointed out by Sergio Gelato <Sergio.Gelato@astro.su.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-08 18:49:12 +00:00
Love Hörnquist Åstrand
12289e8b96
(default_etypes): avoid using disabled enctypes
...
(set_etypes): avoid using disabled enctypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13463 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 20:59:39 +00:00
Love Hörnquist Åstrand
49d345d693
add support for disabling checksum/encryption types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:04:59 +00:00
Love Hörnquist Åstrand
5065dd4bc7
(decrypt_internal_special): do not not modify the original data
...
test case from Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13421 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 16:36:46 +00:00
Love Hörnquist Åstrand
601b8fcfa3
(process_reply): log into result_string if something goes bad, return
...
0 (even on failure), not the KPASSWD protocol error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-03 22:14:47 +00:00
Love Hörnquist Åstrand
fb3cfcca9f
more cc tests, mostly related to mcc behavior
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-03 21:09:28 +00:00
Love Hörnquist Åstrand
188cabf477
(mcc_get_principal): also check for primary_principal == NULL now that
...
that isn't used as dead flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-03 21:06:36 +00:00
Love Hörnquist Åstrand
bd852f759c
don't overload the primary_principal == NULL as dead since that
...
doesn't always work
Based on patch from Jeffrey Hutzelman <jhutz@cmu.edu >, but tweek by me
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-03 20:49:34 +00:00
Johan Danielsson
37be50b9f6
(krb5_get_default_realm): let krb5_set_default_realm set an error
...
string for us
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-23 13:49:28 +00:00
Love Hörnquist Åstrand
6da4e2989e
adapt to rename of oid_cmp to heim_oid_cmp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-22 17:31:53 +00:00
Love Hörnquist Åstrand
9dac88f093
update error codes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-20 21:42:34 +00:00
Love Hörnquist Åstrand
ba2fb75678
prefix pkinit error codes with KRB5_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-20 21:40:42 +00:00
Love Hörnquist Åstrand
e7eaae52ff
handle memory allocate errors
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13391 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-19 21:24:14 +00:00
Love Hörnquist Åstrand
73447cd88f
(_krb5_xlock): handle that everything was ok, and don't put an error
...
in the error strings then
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-19 21:22:52 +00:00
Love Hörnquist Åstrand
9503937a3d
indent, use krb5_abortx() instead of abort()
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-19 12:44:33 +00:00
Love Hörnquist Åstrand
8696c13a7f
(process_pa_data_to_key): spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-19 12:41:19 +00:00
Love Hörnquist Åstrand
82bc224368
adapt to the new format of heim_integer, start working on w2k compat
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13379 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-17 08:46:59 +00:00
Love Hörnquist Åstrand
d85519e16d
s/heim_big_integer/heim_integer/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13355 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-13 17:08:29 +00:00
Love Hörnquist Åstrand
ad01ed478a
adapt to asn1 bignum code, use HEIM_PKINIT errors
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-13 16:24:27 +00:00
Love Hörnquist Åstrand
2e261f0a4b
add HEIM_PKINIT specific errors
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-13 16:23:40 +00:00
Love Hörnquist Åstrand
0d4320db0b
(change_password): handle that printf("%.*s", 0, (void*)NULL); doesn't
...
work on solaris
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-11 12:30:35 +00:00
Love Hörnquist Åstrand
310701f968
don't use path's in first .Nm, it confuses some locate.updatedb, use
...
FILES section to describe where the file is instead.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-10 13:28:45 +00:00
Love Hörnquist Åstrand
1987668bf1
add "next iv" test for aes128, check decryption case too
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 21:05:57 +00:00
Love Hörnquist Åstrand
38222b38b2
(_krb5_aes_cts_encrypt): out iv is the iv of the next to last block,
...
fix decryption case too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 21:04:41 +00:00