ba2d66fbd0
use thread specific storage to set/get the kerberos error message
Love Hörnquist Åstrand
2003-07-22 19:51:31 +00:00
2e732d2ef1
Provide locking around the creation of the global krb5_context. Add destruction/creation functions for the thread specific storage that the error string handling is using.
Love Hörnquist Åstrand
2003-07-22 19:50:11 +00:00
df6940ae2b
only enable netbsd thread support if ENABLE_PTHREAD_SUPPORT is defined (so it can be disabled)
Love Hörnquist Åstrand
2003-07-22 19:13:12 +00:00
8fdd082fd4
enable pthread if != no
Love Hörnquist Åstrand
2003-07-22 19:11:28 +00:00
e2a4344ba6
adding RWLOCKS and [sg]etspecific
Love Hörnquist Åstrand
2003-07-22 19:00:06 +00:00
15ee6b991f
use KRB_PTHREADS
Love Hörnquist Åstrand
2003-07-22 18:45:24 +00:00
853a9a5a40
x
Love Hörnquist Åstrand
2003-07-22 18:44:39 +00:00
a30dfdf642
pthread test
Love Hörnquist Åstrand
2003-07-22 18:44:16 +00:00
ee4a8728d5
(gen_files): add asn1_KerberosString and sort
Love Hörnquist Åstrand
2003-07-22 17:52:29 +00:00
11e5bfe11e
(ETYPE-INFO2-ENTRY): salt is a KerberosString
Love Hörnquist Åstrand
2003-07-22 13:04:24 +00:00
141114779c
x
Love Hörnquist Åstrand
2003-07-22 12:30:31 +00:00
aa10794d91
add some more krb5_c functions
Love Hörnquist Åstrand
2003-07-22 10:23:28 +00:00
6d719817e4
(krb5_cksumtype_valid): check is checksum type is a valid one
Love Hörnquist Åstrand
2003-07-22 10:14:05 +00:00
e62ea35927
(krb5_checksum_is_keyed): only set extented error string when there is a context (krb5_checksum_is_collision_proof): ditto
Love Hörnquist Åstrand
2003-07-22 10:08:50 +00:00
d05a6db6f4
x
Love Hörnquist Åstrand
2003-07-21 21:23:05 +00:00
b96d3e3b50
(krb5_c_get_checksum): make type and data argument optional (krb5_c_{encrypt,decrypt}): return "better" error codes for invalid ivec length
Love Hörnquist Åstrand
2003-07-21 21:16:26 +00:00
8967eaa719
update krb5_c_get_checksum usage
Love Hörnquist Åstrand
2003-07-21 21:12:46 +00:00
8b79c24ba7
x
Love Hörnquist Åstrand
2003-07-21 20:22:26 +00:00
2b396ee7e8
(krb5_crypto_getenctype): new function
Love Hörnquist Åstrand
2003-07-21 20:21:34 +00:00
9a9841815d
avoid redefining OPENSSL_DES_LIBDES_COMPATIBILITY
Love Hörnquist Åstrand
2003-07-21 13:11:46 +00:00
ec7eabd6d4
add krb5_enc_data
Love Hörnquist Åstrand
2003-07-21 13:00:09 +00:00
217cb2649d
x
Love Hörnquist Åstrand
2003-07-20 11:05:09 +00:00
ca06524a21
add missing prototype and missing .Ft arguments
Love Hörnquist Åstrand
2003-07-20 11:02:19 +00:00
9999cdae9d
x
Love Hörnquist Åstrand
2003-07-19 10:12:02 +00:00
4759161b72
x
Love Hörnquist Åstrand
2003-07-19 09:58:50 +00:00
0d992fb664
add ftp_do_gss_bindings
Love Hörnquist Åstrand
2003-07-19 09:58:18 +00:00
2dfba1b25c
fix mdoc bug
Love Hörnquist Åstrand
2003-07-19 09:57:08 +00:00
3df6ae565f
document --no-gss-bindings
Love Hörnquist Åstrand
2003-07-19 09:54:27 +00:00
6e46d232bf
Optionally support gss bindings, client does it by default, server not. This is to make it work for clients behind NAT.
Love Hörnquist Åstrand
2003-07-19 09:51:15 +00:00
579b0037e6
(args): add gss-bindings (main): set ftp_do_gss_bindings to 1 to make client use them
Love Hörnquist Åstrand
2003-07-19 09:49:28 +00:00
5c9001d9a1
(args): add gss-bindings
Love Hörnquist Åstrand
2003-07-19 09:48:17 +00:00
295027f2e9
document --gss-bindings
Love Hörnquist Åstrand
2003-07-19 09:47:25 +00:00
0a0729dd08
add krb5_c_ functions
Love Hörnquist Åstrand
2003-07-19 09:17:15 +00:00
150ffb9adb
support passing in NULL as the cipher_state/ivec
Love Hörnquist Åstrand
2003-07-19 07:40:53 +00:00
0cfe6c3513
add test for krb5_c_encrypt_length and krb5_c_decrypt
Love Hörnquist Åstrand
2003-07-19 07:40:02 +00:00
fa8baf4a62
x
Love Hörnquist Åstrand
2003-07-19 07:35:36 +00:00
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.
Love Hörnquist Åstrand
2003-07-19 07:34:12 +00:00
8c720307bc
krb5_c encryption glue
Love Hörnquist Åstrand
2003-07-19 06:52:54 +00:00
144d4010c3
first version of krb5_c encryption glue
Love Hörnquist Åstrand
2003-07-18 22:00:21 +00:00
d8b9601aae
x
Love Hörnquist Åstrand
2003-07-18 08:05:56 +00:00
c4bf55656b
update pointer to luke ldap documentation
Love Hörnquist Åstrand
2003-07-18 08:04:58 +00:00
41e7cd2af1
(hdb_create): check for dynamic backend after static to avoid warning from dynamic backend when using a known static backend
Love Hörnquist Åstrand
2003-07-18 08:03:07 +00:00
7bafce13ca
(LDAP_store): log what principal/dn failed
Love Hörnquist Åstrand
2003-07-17 22:45:12 +00:00
48ed204b65
x
Love Hörnquist Åstrand
2003-07-16 14:46:58 +00:00
dd752eed03
don't return value in void function
Love Hörnquist Åstrand
2003-07-16 14:46:46 +00:00
3f12b14e68
(krb5_compare_creds): if client is specified in the mcreds, check that too
Love Hörnquist Åstrand
2003-07-15 17:53:48 +00:00
99c86fa5f3
x
Love Hörnquist Åstrand
2003-07-15 14:06:39 +00:00
283630104a
prefix libasn1 types with heim_
Love Hörnquist Åstrand
2003-07-15 14:05:49 +00:00
939b444ca3
prefix typedef\'s and structs with heim_
Love Hörnquist Åstrand
2003-07-15 13:57:32 +00:00
72c26c7cce
x
Love Hörnquist Åstrand
2003-07-15 12:56:59 +00:00
801e3f9334
(do_afslog): is cell is unset, set it "<default cell>" for error printing
Love Hörnquist Åstrand
2003-07-15 12:56:00 +00:00
b48c005971
x
Love Hörnquist Åstrand
2003-07-15 12:40:04 +00:00
11f5550fe8
unconditionally set KRBTKFILE
Love Hörnquist Åstrand
2003-07-15 12:38:46 +00:00
294cccfdf3
avoid unnecessary setting of variable
Love Hörnquist Åstrand
2003-07-13 15:41:17 +00:00
6c76352a76
x
Love Hörnquist Åstrand
2003-07-11 15:41:52 +00:00
beca19cb05
AIX have broken res_nsearch() in 5.1 (5.0 also ?) so just don't use res_nsearch on AIX
Love Hörnquist Åstrand
2003-07-11 15:41:40 +00:00
4650161189
x
Love Hörnquist Åstrand
2003-07-06 23:43:37 +00:00
6afd02e701
XXX inline COMPILE since automake wont add it
Love Hörnquist Åstrand
2003-07-06 23:42:56 +00:00
431abedcbb
x
Love Hörnquist Åstrand
2003-07-06 23:37:35 +00:00
3026b3bd70
(verify_krb5): use krb5_cc_clear_mcred
Love Hörnquist Åstrand
2003-07-06 23:36:28 +00:00
1b0fb56912
(check_for_tgt): use krb5_cc_clear_mcred
Love Hörnquist Åstrand
2003-07-06 23:35:43 +00:00
64ac54bd79
(proto): use krb5_cc_clear_mcred
Love Hörnquist Åstrand
2003-07-06 23:33:13 +00:00
e00dc96279
(krb5_to4): use krb5_cc_clear_mcred
Love Hörnquist Åstrand
2003-07-06 23:31:49 +00:00
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
Love Hörnquist Åstrand
2003-07-06 23:28:34 +00:00
91f5bdc308
document krb5_cc_clear_mcred
Love Hörnquist Åstrand
2003-07-06 23:24:59 +00:00
80b7b535a2
(krb5_cc_clear_mcred): new function, clear a krb5_creds to use with krb5_cc_retrieve_cred
Love Hörnquist Åstrand
2003-07-06 23:23:05 +00:00
a7fa272ee4
x
Love Hörnquist Åstrand
2003-07-03 13:38:42 +00:00
715020f048
Add probing from the server that the client is still there, also make the client check that the server is probing.
Love Hörnquist Åstrand
2003-07-03 13:36:09 +00:00
33222471b9
x
Love Hörnquist Åstrand
2003-07-02 17:52:38 +00:00
af5f43acee
x
Love Hörnquist Åstrand
2003-06-30 12:08:12 +00:00
a1a43053f6
(find_dynamic_method): if there isn't a prefix, don't load anything
Love Hörnquist Åstrand
2003-06-30 10:34:05 +00:00
271e76e634
x
Johan Danielsson
2003-06-29 18:51:51 +00:00
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
Johan Danielsson
2003-06-29 18:51:30 +00:00
76192475cc
x
Love Hörnquist Åstrand
2003-06-29 12:11:25 +00:00
1efa899c5a
Dynamic backend loading, based on patch from Luke Howard <lukeh@PADL.COM>
Love Hörnquist Åstrand
2003-06-29 12:10:00 +00:00
c12e22c5ee
add struct hdb_so_method and HDB_INTERFACE_VERSION
Love Hörnquist Åstrand
2003-06-29 12:08:34 +00:00
310984c158
(krb5_mk_req_internal): when using arcfour-hmac-md5, use an unkeyed checksum (rsa-md5), since Microsoft calculates the keyed checksum with the subkey of the authenticator.
Love Hörnquist Åstrand
2003-06-28 21:05:12 +00:00
71635344e5
write out v4 credential caches with _krb5_krb_tf_setup
Love Hörnquist Åstrand
2003-06-28 21:02:36 +00:00
bd7246b6cb
add _krb5_krb_tf_setup
Love Hörnquist Åstrand
2003-06-28 20:59:59 +00:00
068acbc06a
(_krb5_krb_tf_setup): create/append v4 credential to a new krb4 ticket file
Love Hörnquist Åstrand
2003-06-28 20:56:41 +00:00
161f45a45d
x
Johan Danielsson
2003-06-27 15:41:23 +00:00
b6a7633851
put Nd argument in double quotes since it contains more than 9 words; from wiz
Johan Danielsson
2003-06-27 15:40:03 +00:00
89d6ba401a
x
Love Hörnquist Åstrand
2003-06-25 23:58:01 +00:00
3fef574a4e
(make_keys): add aes support
Love Hörnquist Åstrand
2003-06-25 23:56:58 +00:00
05881f3847
x
Love Hörnquist Åstrand
2003-06-25 23:36:46 +00:00
356775a1a0
fix off by one in the aes case, pointed out by Ken Raeburn
Love Hörnquist Åstrand
2003-06-25 23:36:17 +00:00
809afeb35f
add missing " within #if 0, from stefan sokoll <stefansokoll@yahoo.de>
Love Hörnquist Åstrand
2003-06-25 15:02:17 +00:00
e8f85cac18
x
Love Hörnquist Åstrand
2003-06-24 05:13:42 +00:00
5979907af6
improve krb5_set_real_time text
Love Hörnquist Åstrand
2003-06-24 05:12:43 +00:00
f6ef3a180e
improve comment for krb5_set_real_time
Love Hörnquist Åstrand
2003-06-24 05:09:42 +00:00
941db3c501
x
Johan Danielsson
2003-06-23 11:40:25 +00:00
c5b09ec10c
document -A
Johan Danielsson
2003-06-23 11:39:49 +00:00
7eb7222d36
add -A as an alias for --no-addresses
Johan Danielsson
2003-06-23 11:38:22 +00:00
4b37d153b9
(krb5_get_forwarded_creds): pass in a krb5_timestamp to krb5_us_timeofday
Love Hörnquist Åstrand
2003-06-22 20:49:49 +00:00
f02872a9c1
(krb5_mk_error): pass in a krb5_timestamp to krb5_us_timeofday
Love Hörnquist Åstrand
2003-06-22 20:47:14 +00:00
ca8c289837
(krb5_set_real_time): fix comment and make it work
Love Hörnquist Åstrand
2003-06-22 20:35:27 +00:00
9448a346db
implement krb5_set_real_time, used by SAMBA, requested by Luke Howard <lukeh@PADL.COM>
Love Hörnquist Åstrand
2003-06-22 20:26:47 +00:00
8aa0cd793c
x
Love Hörnquist Åstrand
2003-06-22 04:17:36 +00:00