Commit Graph

3426 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
e7708a53d6 If its a Kerberos 4 error-code, remove the et BASE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-16 05:13:08 +00:00
Love Hörnquist Åstrand
fb119bf569 Include "krb_err.h".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 20:57:56 +00:00
Love Hörnquist Åstrand
3933016756 return more interesting error codes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 20:56:21 +00:00
Love Hörnquist Åstrand
a4d49f6133 Prefix with KRB4.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 20:49:46 +00:00
Love Hörnquist Åstrand
7df9512191 help solairs make
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 20:47:19 +00:00
Love Hörnquist Åstrand
9deb73f002 add error table functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21566 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 20:46:49 +00:00
Love Hörnquist Åstrand
09ba5b97b3 Add v4 error codes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 20:43:06 +00:00
Love Hörnquist Åstrand
bfd422a0b7 Add more testing funcs, really part of libkdc usage interfaces though.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 11:30:17 +00:00
Love Hörnquist Åstrand
566b9fb910 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 10:30:51 +00:00
Love Hörnquist Åstrand
048c629849 add more testing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 10:27:32 +00:00
Love Hörnquist Åstrand
528b283083 add testing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 10:24:33 +00:00
Love Hörnquist Åstrand
769f1573b8 Prefix enum plugin_type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 09:11:32 +00:00
Love Hörnquist Åstrand
589de42d6d Prefix enum plugin_type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 09:07:56 +00:00
Love Hörnquist Åstrand
bcc003ee5e Expose plugin structures.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 09:04:00 +00:00
Love Hörnquist Åstrand
3d6f4fa562 Add plugin structures.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 09:03:39 +00:00
Love Hörnquist Åstrand
a1c338f987 V4 errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 08:58:41 +00:00
Love Hörnquist Åstrand
dac3107d3c Need _krb5_get_host_realm_int too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 08:47:15 +00:00
Love Hörnquist Åstrand
1dfd1f77dd more symbols needed by libkdc.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 08:39:05 +00:00
Love Hörnquist Åstrand
593e8aba3c Add v4 compat glue.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21547 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 08:28:56 +00:00
Love Hörnquist Åstrand
57c5ece78b add more shared.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 08:17:25 +00:00
Love Hörnquist Åstrand
5b7fc39c63 Syntax.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21545 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 08:08:12 +00:00
Love Hörnquist Åstrand
7b2ef19c39 Add version script.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 07:27:19 +00:00
Love Hörnquist Åstrand
0400d3a542 First version of version script.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 07:26:03 +00:00
Love Hörnquist Åstrand
cc3ac67d05 (_krb5_krb_rd_req): if ticket contains address 0, its ticket less and
don't really care about from_addr. return better error codes.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21523 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 18:37:19 +00:00
Love Hörnquist Åstrand
ebdac0dcf0 Fix pointer vs strict alias rules.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 12:28:38 +00:00
Love Hörnquist Åstrand
13518ccd7d Spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-11 09:41:43 +00:00
Love Hörnquist Åstrand
c0e76182db Set error string when there is no KDC for a realm.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:53:25 +00:00
Love Hörnquist Åstrand
b7bd206b82 New library version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:37:36 +00:00
Love Hörnquist Åstrand
2dd77ab1fc update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:31:58 +00:00
Love Hörnquist Åstrand
6d9f9f12ac Add default_cc_name_env.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:08:09 +00:00
Love Hörnquist Åstrand
39184f36f3 (enviroment_changed): return non-zero if enviroment that will
determine default krb5cc name has changed.
(krb5_cc_default_name): also check if cached value is uptodate.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:07:33 +00:00
Love Hörnquist Åstrand
7ce6be4012 drop internal flags that was impossile to set.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 11:52:00 +00:00
Love Hörnquist Åstrand
7df896616a Drop pkinit_flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 11:50:04 +00:00
Love Hörnquist Åstrand
5a5abdd190 move pkinit internal flags to krb5_locl.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 11:45:34 +00:00
Love Hörnquist Åstrand
c08dd3d70e verify_krb5_conf_OBJECTS depends on krb5-pr*.h, make -j finds this.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21397 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-02 11:38:19 +00:00
Love Hörnquist Åstrand
2a8c5958d5 add krb5_get_renewed_creds
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-26 10:58:10 +00:00
Love Hörnquist Åstrand
55473ae4f7 Add krb5_get_renewed_creds.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-26 10:54:15 +00:00
Love Hörnquist Åstrand
42c349839d Use hx509_cms_unwrap_ContentInfo.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-26 05:21:56 +00:00
Love Hörnquist Åstrand
7f1b54370c (nametypes) += static const.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 12:30:55 +00:00
Love Hörnquist Åstrand
6ef8b2861b Adapt to hx509_verify_hostname change.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:26:50 +00:00
Love Hörnquist Åstrand
0a31115937 Document krb5_parse_nametype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 04:36:31 +00:00
Love Hörnquist Åstrand
bcbae1850b (krb5_parse_nametype): parse nametype and return their integer values.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 04:30:06 +00:00
Love Hörnquist Åstrand
d5bb7a7c56 (krb5_get_creds): if KRB5_GC_CONSTRAINED_DELEGATION is set, set both
request_anonymous and constrained_delegation.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 04:24:24 +00:00
Love Hörnquist Åstrand
42bf4117ad Add KRB5_GC_CONSTRAINED_DELEGATION.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21252 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 04:18:28 +00:00
Love Hörnquist Åstrand
f2f87ddcd9 Add KRB5_PRINCIPAL_UNPARSE_DISPLAY.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:23:26 +00:00
Love Hörnquist Åstrand
cc6c68ffac Windows likes little endian, so lets use that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 10:10:58 +00:00
Love Hörnquist Åstrand
d68b36bb90 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:50:22 +00:00
Love Hörnquist Åstrand
c614532c87 (verify_checksum): memset cksum to avoid using pointer from stack.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:06:08 +00:00
Love Hörnquist Åstrand
a073113c08 Don't expose free pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:02:23 +00:00
Love Hörnquist Åstrand
6a7734667a (_krb5_pk_load_id): fail directoy for first calloc.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:52:29 +00:00