Commit Graph

15574 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
bc23e0056b Memory keytab are now named and refcounted.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 12:41:22 +00:00
Love Hörnquist Åstrand
76fe170bdd Test that memory keytab are refcounted.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 12:40:50 +00:00
Love Hörnquist Åstrand
b6037cc29a Index by name and start reference counting on entries.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 12:40:22 +00:00
Love Hörnquist Åstrand
c955b32547 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 09:27:31 +00:00
Love Hörnquist Åstrand
591052ef87 Add ank as an alias to add, it lost in transition to slc, from Måns Nilsson.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16323 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 09:26:02 +00:00
Love Hörnquist Åstrand
d6931c3fea (krb5_address_type): add KRB5_ADDRESS_NETBIOS (20)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 15:20:32 +00:00
Love Hörnquist Åstrand
ad3f3d8f3c (set_field): try another way to calculate the path to the
database/logfile/signal-socket


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 12:39:19 +00:00
Love Hörnquist Åstrand
665577dc46 (kadm5_log_init): set error string on failures
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16320 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 12:27:07 +00:00
Love Hörnquist Åstrand
fe6921c768 Specifify explicitly that the database is in the current directory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 12:22:38 +00:00
Love Hörnquist Åstrand
6e58db8120 (find_method): accept relative paths as old db format too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16318 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 12:22:09 +00:00
Love Hörnquist Åstrand
116c7fa6f6 Remove usage of krb5_enctype_to_keytype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 11:25:45 +00:00
Love Hörnquist Åstrand
486c4cd80c Make compile again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 20:34:35 +00:00
Love Hörnquist Åstrand
d63b2abca9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 19:04:27 +00:00
Love Hörnquist Åstrand
1019cb16d4 (kcm_loop): Use HAVE_DOOR_CREATE, not HAVE_DOORS.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 19:03:50 +00:00
Love Hörnquist Åstrand
68caf40b2c (libdefaults_entries): add default_cc_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 18:59:19 +00:00
Love Hörnquist Åstrand
c2fc62851f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 18:53:33 +00:00
Love Hörnquist Åstrand
f32ada0887 Only match db databases on filename starting with '/'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 18:48:07 +00:00
Love Hörnquist Åstrand
56538b207f Update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 18:22:51 +00:00
Love Hörnquist Åstrand
755229f6d3 (krb5_verify_ap_re2): check timestamp in authenticator
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 15:55:34 +00:00
Love Hörnquist Åstrand
ca1a379a41 (check_transited): explain the TR-type 0 better and why it matters.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 14:14:26 +00:00
Love Hörnquist Åstrand
d7b6e1f223 test krb5_cc_get_prefix_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 09:11:12 +00:00
Love Hörnquist Åstrand
6ccf928a53 (krb5_cc_get_prefix_ops): change the behavior to return NULL when its
not found, and fcc when the name starts with a '/'. Almost matches
behavior in other parts of the code, but can't really do that since
the name passed in to this function may only contain the prefix itself
without the colon.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 09:10:47 +00:00
Love Hörnquist Åstrand
459932f3ef (krb5_cc_get_prefix_ops): if there are not colon (:) in the name, its
a file credential cachce


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 08:44:21 +00:00
Love Hörnquist Åstrand
0fa794702c (hdb_db_create): use calloc to callocate memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 23:33:24 +00:00
Love Hörnquist Åstrand
daf7286660 (hdb_ndbm_create): use calloc to allocate memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 23:31:36 +00:00
Love Hörnquist Åstrand
8ce2056373 (gss_krb5_import_cred): fix buglet, from Andrew Bartlett.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 23:05:44 +00:00
Love Hörnquist Åstrand
efd3e2ab61 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 20:43:23 +00:00
Love Hörnquist Åstrand
d3d5392e05 (krb5_get_forwarded_creds): use session key for delegated credentials
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 20:43:02 +00:00
Love Hörnquist Åstrand
6c218a0c6a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16299 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 20:34:16 +00:00
Love Hörnquist Åstrand
1e5120ac02 (_kdc_as_rep): add comment when we send ETYPE-INFO and ETYPE-INFO2,
from Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 20:33:57 +00:00
Love Hörnquist Åstrand
d7e11e5716 s/krb5_keytab_get_full_name/krb5_kt_get_full_name/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-26 11:00:08 +00:00
Love Hörnquist Åstrand
56c27754ad x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-25 21:48:15 +00:00
Love Hörnquist Åstrand
27546db2b4 (krb5_kt_get_full_name): new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-25 21:46:40 +00:00
Love Hörnquist Åstrand
e4f39fc8ae Use gss_krb5_import_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-25 15:57:35 +00:00
Love Hörnquist Åstrand
e5d85fd42d Rename gss_krb5_import_ccache to gss_krb5_import_cred.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-25 14:43:03 +00:00
Love Hörnquist Åstrand
a85c42da3f Rename gss_krb5_import_ccache to gss_krb5_import_cred and let it grow
code to handle keytabs too.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-25 14:39:57 +00:00
Love Hörnquist Åstrand
859d1f0996 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16291 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-24 09:58:04 +00:00
Love Hörnquist Åstrand
52e365482b Split encryption and s2k iterations to diffrent counters, 38seconds of
aes256 s2k is way too long.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-24 09:57:50 +00:00
Love Hörnquist Åstrand
2f31564fc4 Add timing code for s2k function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-24 09:54:49 +00:00
Love Hörnquist Åstrand
72d1857ae0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-08 03:36:33 +00:00
Love Hörnquist Åstrand
b5204f4584 Print the time the principal expired, based on patch from Andrew Bartlett.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-08 03:32:25 +00:00
Love Hörnquist Åstrand
f363759739 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-03 18:39:28 +00:00
Love Hörnquist Åstrand
a7629e422f Spelling in comments, from Dave Love <fx@gnu.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-03 18:38:57 +00:00
Johan Danielsson
2807ca723b remove newline from syslog string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-03 16:40:05 +00:00
Love Hörnquist Åstrand
d28785e212 Change sematics of ok-as-delegate to match windows if
[gssapi]realm/ok-as-delegate=true is set, otherwise keep old sematics.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 11:52:49 +00:00
Love Hörnquist Åstrand
6ece760454 (gss_release_cred): use GSS_CF_DESTROY_CRED_ON_RELEASE to decide if
the cache should be krb5_cc_destroy-ed


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:57:35 +00:00
Love Hörnquist Åstrand
f0dc59770a (acquire_initiator_cred): GSS_CF_DESTROY_CRED_ON_RELEASE on created credentials.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:56:25 +00:00
Love Hörnquist Åstrand
2a0d1e1d88 (gsskrb5_accept_delegated_token): rewrite to use gss_krb5_import_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:55:19 +00:00
Love Hörnquist Åstrand
6879aaef09 (gss_cred_id_t_desc_struct): add field cred_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:51:17 +00:00
Love Hörnquist Åstrand
52bb24b476 s/RFC2140/RFC4120/ From Andrew Bartlet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:36:42 +00:00