Commit Graph

12242 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
2dfba1b25c fix mdoc bug
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:57:08 +00:00
Love Hörnquist Åstrand
3df6ae565f document --no-gss-bindings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12459 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:54:27 +00:00
Love Hörnquist Åstrand
6e46d232bf Optionally support gss bindings, client does it by default, server not.
This is to make it work for clients behind NAT.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12458 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:51:15 +00:00
Love Hörnquist Åstrand
579b0037e6 (args): add gss-bindings
(main): set ftp_do_gss_bindings to 1 to make client use them


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:49:28 +00:00
Love Hörnquist Åstrand
5c9001d9a1 (args): add gss-bindings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12456 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:48:17 +00:00
Love Hörnquist Åstrand
295027f2e9 document --gss-bindings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:47:25 +00:00
Love Hörnquist Åstrand
0a0729dd08 add krb5_c_ functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12454 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:17:15 +00:00
Love Hörnquist Åstrand
150ffb9adb support passing in NULL as the cipher_state/ivec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 07:40:53 +00:00
Love Hörnquist Åstrand
0cfe6c3513 add test for krb5_c_encrypt_length and krb5_c_decrypt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 07:40:02 +00:00
Love Hörnquist Åstrand
fa8baf4a62 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12451 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 07:35:36 +00:00
Love Hörnquist Åstrand
ea7327e39d (wrapped_length/wrapped_length_derived): when calculating the length
of the encrypted data, use the keyed checksum length if the enctype
supports a keyed checksum. This only matter for aes, for all other
enctypes the key and unkeyed checksum have the same length.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 07:34:12 +00:00
Love Hörnquist Åstrand
8c720307bc krb5_c encryption glue
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12449 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 06:52:54 +00:00
Love Hörnquist Åstrand
144d4010c3 first version of krb5_c encryption glue
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12448 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-18 22:00:21 +00:00
Love Hörnquist Åstrand
d8b9601aae x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-18 08:05:56 +00:00
Love Hörnquist Åstrand
c4bf55656b update pointer to luke ldap documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12446 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-18 08:04:58 +00:00
Love Hörnquist Åstrand
41e7cd2af1 (hdb_create): check for dynamic backend after static to avoid warning
from dynamic backend when using a known static backend


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-18 08:03:07 +00:00
Love Hörnquist Åstrand
7bafce13ca (LDAP_store): log what principal/dn failed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-17 22:45:12 +00:00
Love Hörnquist Åstrand
48ed204b65 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-16 14:46:58 +00:00
Love Hörnquist Åstrand
dd752eed03 don't return value in void function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-16 14:46:46 +00:00
Love Hörnquist Åstrand
3f12b14e68 (krb5_compare_creds): if client is specified in the mcreds, check that too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12441 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 17:53:48 +00:00
Love Hörnquist Åstrand
99c86fa5f3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12440 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 14:06:39 +00:00
Love Hörnquist Åstrand
283630104a prefix libasn1 types with heim_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12439 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 14:05:49 +00:00
Love Hörnquist Åstrand
939b444ca3 prefix typedef\'s and structs with heim_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 13:57:32 +00:00
Love Hörnquist Åstrand
72c26c7cce x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12437 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 12:56:59 +00:00
Love Hörnquist Åstrand
801e3f9334 (do_afslog): is cell is unset, set it "<default cell>" for error printing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 12:56:00 +00:00
Love Hörnquist Åstrand
b48c005971 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 12:40:04 +00:00
Love Hörnquist Åstrand
11f5550fe8 unconditionally set KRBTKFILE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 12:38:46 +00:00
Love Hörnquist Åstrand
294cccfdf3 avoid unnecessary setting of variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-13 15:41:17 +00:00
Love Hörnquist Åstrand
6c76352a76 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-11 15:41:52 +00:00
Love Hörnquist Åstrand
beca19cb05 AIX have broken res_nsearch() in 5.1 (5.0 also ?)
so just don't use res_nsearch on AIX


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-11 15:41:40 +00:00
Love Hörnquist Åstrand
4650161189 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:43:37 +00:00
Love Hörnquist Åstrand
6afd02e701 XXX inline COMPILE since automake wont add it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12429 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:42:56 +00:00
Love Hörnquist Åstrand
431abedcbb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:37:35 +00:00
Love Hörnquist Åstrand
3026b3bd70 (verify_krb5): use krb5_cc_clear_mcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:36:28 +00:00
Love Hörnquist Åstrand
1b0fb56912 (check_for_tgt): use krb5_cc_clear_mcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:35:43 +00:00
Love Hörnquist Åstrand
64ac54bd79 (proto): use krb5_cc_clear_mcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:33:13 +00:00
Love Hörnquist Åstrand
e00dc96279 (krb5_to4): use krb5_cc_clear_mcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:31:49 +00:00
Love Hörnquist Åstrand
63711b92db (init_tgs_req): in case of error, don't free in the req_body addresses
since they where pass in by caller
(find_cred): use krb5_cc_clear_mcred


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:28:34 +00:00
Love Hörnquist Åstrand
91f5bdc308 document krb5_cc_clear_mcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12422 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:24:59 +00:00
Love Hörnquist Åstrand
80b7b535a2 (krb5_cc_clear_mcred): new function, clear a krb5_creds to use with
krb5_cc_retrieve_cred


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12421 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:23:05 +00:00
Love Hörnquist Åstrand
a7fa272ee4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-03 13:38:42 +00:00
Love Hörnquist Åstrand
715020f048 Add probing from the server that the client is still there, also make
the client check that the server is probing.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-03 13:36:09 +00:00
Love Hörnquist Åstrand
33222471b9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-02 17:52:38 +00:00
Love Hörnquist Åstrand
b24c29b099 (main): add missing ``if (ret)''
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-02 17:52:27 +00:00
Love Hörnquist Åstrand
af5f43acee x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12416 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-30 12:08:12 +00:00
Love Hörnquist Åstrand
a1a43053f6 (find_dynamic_method): if there isn't a prefix, don't load anything
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-30 10:34:05 +00:00
Johan Danielsson
271e76e634 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12414 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-29 18:51:51 +00:00
Johan Danielsson
4a9b3f573a * don't ever print sign for unsigned conversions
* don't break when right justifying a number past the end of the buffer
* handle zero precision and the value zero more correctly


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-29 18:51:30 +00:00
Love Hörnquist Åstrand
76192475cc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-29 12:11:25 +00:00
Love Hörnquist Åstrand
1efa899c5a Dynamic backend loading, based on patch from Luke Howard <lukeh@PADL.COM>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-29 12:10:00 +00:00