Love Hörnquist Åstrand
70a9e028b6
Hide krb5_context_data from public exposure.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 16:05:47 +00:00
Love Hörnquist Åstrand
5cd15a3636
Document krb5_get_kdc_sec_offset()
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 15:59:04 +00:00
Love Hörnquist Åstrand
e984cda8b4
Add krb5_get_kdc_sec_offset().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18526 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 15:54:25 +00:00
Love Hörnquist Åstrand
38dafe356c
Add krb5_set_dns_canonize_hostname and krb5_get_dns_canonize_hostname
...
Set context->dns_canonize_hostname using config file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 09:24:32 +00:00
Love Hörnquist Åstrand
37dce24803
Add krb5_set_dns_canonize_hostname and krb5_get_dns_canonize_hostname
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 09:23:50 +00:00
Love Hörnquist Åstrand
8a8fec8f96
add [libdefaults]dns_canonize_hostname
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 09:19:17 +00:00
Love Hörnquist Åstrand
cd7bc22415
use dns_canonize_hostname to determin if we should talk to dns to find
...
the canonical name of the host.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 09:16:32 +00:00
Love Hörnquist Åstrand
a42e791db1
(krb5_context): add dns_canonize_hostname.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 09:09:27 +00:00
Love Hörnquist Åstrand
a3781da599
Remove workaround from when there wasn't always aes.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18456 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:59:49 +00:00
Love Hörnquist Åstrand
8b1cb25ffc
Prefix der primitives with der_.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:53:19 +00:00
Love Hörnquist Åstrand
bdd4e14fd2
Memset irep to zero.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-09 06:39:23 +00:00
Love Hörnquist Åstrand
c22dafa306
fix generation of prototypes headerfiles.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 20:35:14 +00:00
Love Hörnquist Åstrand
3305b31c29
Make argument to PKCS5_PBKDF2_HMAC_SHA1 unsigned char to make OpenSSL happy.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 13:50:34 +00:00
Love Hörnquist Åstrand
61d61bda55
split build files into dist_ and noinst_ SOURCES
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 08:40:34 +00:00
Love Hörnquist Åstrand
7a2077bff3
(common_init): don't try DNS when there is realm w/o a dot.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 17:11:02 +00:00
Love Hörnquist Åstrand
c7b54c3372
Adapt to signature change of _krb5_principalname2krb5_principal.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 17:06:30 +00:00
Love Hörnquist Åstrand
946f7b0a24
(_krb5_principalname2krb5_principal): add krb5_context to signature.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 17:02:48 +00:00
Love Hörnquist Åstrand
bd92b2eb62
man_MANS += krb5_digest.3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-03 23:02:27 +00:00
Love Hörnquist Åstrand
a7cea63ffe
Add all protos
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-03 22:54:00 +00:00
Love Hörnquist Åstrand
5bda808024
Basic krb5_digest manpage.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-03 13:45:41 +00:00
Love Hörnquist Åstrand
681c7331c4
Add krb5_digest functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-03 10:39:35 +00:00
Love Hörnquist Åstrand
b110e33a3f
minimize layering and remove krb5_kdc_flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 12:00:59 +00:00
Love Hörnquist Åstrand
e0645d20a6
Make compile.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 11:57:36 +00:00
Love Hörnquist Åstrand
204118e4d1
Always use the kdc_flags in the right bit order.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 11:54:45 +00:00
Love Hörnquist Åstrand
df68c9c378
(digest_request): if NULL is passed in as realm, use default realm.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 10:49:56 +00:00
Love Hörnquist Åstrand
aea29bec78
Add previous ETypeList code again, it was a halfbuilt context that
...
broke the code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 09:00:36 +00:00
Love Hörnquist Åstrand
7c180646d3
disable ETypeList parsing usage for now, cfx seems broken and its not
...
good to upgrade to a broken enctype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 07:44:32 +00:00
Love Hörnquist Åstrand
64bcdf0b5d
Fixes from Björn Sandell.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-16 09:27:28 +00:00
Love Hörnquist Åstrand
1eaf2446ed
Make compile again.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 17:35:33 +00:00
Love Hörnquist Åstrand
44c73244c3
By using full function calling conversion (*func) we avoid problem
...
when close(fd) is overridden using a macro.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 17:32:10 +00:00
Love Hörnquist Åstrand
8d6e197003
Add keyusage for KRB5SignedPath.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 13:32:57 +00:00
Love Hörnquist Åstrand
b226d0acf5
Adapt to new signature of hx509_cms_unenvelope.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:38:36 +00:00
Love Hörnquist Åstrand
0fbe98fc9c
(pk_verify_host): set errorstrings in a sensable way
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-09 13:39:24 +00:00
Love Hörnquist Åstrand
d23cf3f57d
Prevent a font generation warning, from Jason McIntyre.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18056 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 22:01:43 +00:00
Love Hörnquist Åstrand
746ee7473a
(krb5_init_ets): Add the hx errortable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-06 19:11:32 +00:00
Love Hörnquist Åstrand
b2c273d1fd
Include hx509_err.h.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-06 19:11:02 +00:00
Love Hörnquist Åstrand
c360ec2e50
(_krb5_pk_verify_sign): catch the error string from the hx509 lib
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-06 18:53:39 +00:00
Love Hörnquist Åstrand
062e1d7d5e
(krb5_get_init_creds_opt_set_default_flags): fix argument to
...
krb5_get_init_creds_opt_set_addressless.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 14:28:54 +00:00
Love Hörnquist Åstrand
88182a75ce
(init_cred_loop): try to catch the error when we actually have an
...
error to catch.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17995 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 13:46:45 +00:00
Love Hörnquist Åstrand
fe562592c6
Remove debug printfs.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 11:04:35 +00:00
Love Hörnquist Åstrand
ea574c73c5
Document krb5_get_init_creds_opt_set_addressless.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 11:00:11 +00:00
Love Hörnquist Åstrand
03b6a76a85
use new addressless, convert pa-pac option to use the same tri-state
...
option as the new addressless option.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 10:57:02 +00:00
Love Hörnquist Åstrand
4b009281f6
(krb5_get_init_creds_opt_set_addressless): used to control the
...
address-lessness of the initial tickets instead of passing in the
empty set of address into krb5_get_init_creds_opt_set_addresses.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 10:55:46 +00:00
Love Hörnquist Åstrand
cf9efd9db1
(fallback_get_hosts): limit the fallback lookups to 5.
...
Patch from Wesley Craig, umich.edu
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-01 10:16:28 +00:00
Love Hörnquist Åstrand
7efc06e58d
Catch more error.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-28 11:38:24 +00:00
Love Hörnquist Åstrand
4841cd3fd6
(krb5_digest_set_authid): new function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-25 12:01:49 +00:00
Love Hörnquist Åstrand
02aa31c195
In the case where we get a DigestError back, save the error string and code.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-25 07:15:59 +00:00
Love Hörnquist Åstrand
c84978ea6d
(krb5_kerberos_enctypes): new function, returns the list of Kerberos
...
encryption types sorted in order of most preferred to least preferred
encryption type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 08:43:15 +00:00
Love Hörnquist Åstrand
17f00ca951
Add digest glue.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:31:14 +00:00
Love Hörnquist Åstrand
b68aa0068d
(krb5_digest_set_authentication_user): use krb5_principal
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:30:38 +00:00