Commit Graph

6706 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand 64482ff6ab (krb5_get_init_creds): kdc_reply can be set in case of failure too,
free unconditionally on exit to avoid memory leak


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14179 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-30 23:28:10 +00:00
Johan Danielsson 64c89a98fe remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 12:25:20 +00:00
Johan Danielsson 970edde9f8 HAVE_FOO_DECLARATION -> HAVE_DECL_FOO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 15:11:39 +00:00
Johan Danielsson 4131cb9d00 no need to declare __progname here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 15:09:50 +00:00
Johan Danielsson 043f9e3dfc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 14:44:14 +00:00
Johan Danielsson 1ca7fb5163 always clean generated headers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 14:44:07 +00:00
Johan Danielsson 0624b4457e replace INCLUDES with AM_CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Love Hörnquist Åstrand 2924ee6f68 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 07:50:15 +00:00
Love Hörnquist Åstrand a234077ca3 (fetch_acl): use " \t\n" instead of just "\n" for the delim of the
third element, this is so we can match
"foo@REALM<SPC>all<SPC><SPC>*@REALM", before it just matched
"foo@REALM<SPC>all<SPC>*@REALM", but that is kind of luck since what
really happen was that the last <SPC> was stamped out, and the it
never strtok_r never needed to parse over it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 07:48:46 +00:00
Love Hörnquist Åstrand cca3f70913 spkm, rfc2025
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 20:08:22 +00:00
Love Hörnquist Åstrand eb889bfd39 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 16:14:18 +00:00
Love Hörnquist Åstrand 423fef40e4 (_kadm5_generate_key_set): since arcfour-hmac-md5 is without salting,
some people tries to add the string "arcfour-hmac-md5" when they
really should have used "arcfour-hmac-md5:pw-salt", help them and add
glue for that


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 15:29:09 +00:00
Love Hörnquist Åstrand 3225e16607 (set_auth_data): set pointer to NULL after free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-23 19:33:34 +00:00
Love Hörnquist Åstrand 8763264587 (krb5_get_err_text): if neither of com_right nor strerror finds the
error-code, return Unknown error.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-20 07:54:58 +00:00
Johan Danielsson c7b40cba89 update to reality
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-19 15:32:02 +00:00
Johan Danielsson 8964d4ead4 if a .k5login file exist, don't give implicit rights to anyone; also
check owner/mode of .k5login


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-19 15:31:40 +00:00
Johan Danielsson 49856b092f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-18 16:59:16 +00:00
Johan Danielsson 1f57648d35 add --detach
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-18 16:59:03 +00:00
Love Hörnquist Åstrand f5946ce7bf man_MANS = krb5_getportbyname.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-15 16:05:08 +00:00
Love Hörnquist Åstrand 9592525a3e manpage for krb5_getportbyname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-15 16:04:16 +00:00
Love Hörnquist Åstrand bf8dc75548 add krb5_getportbyname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-15 16:02:13 +00:00
Love Hörnquist Åstrand d2e3b6f2b4 krb5_free_salt and krb5_enctype_valid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-15 13:07:15 +00:00
Love Hörnquist Åstrand d9a43dfd35 document krb5_enctype_valid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-15 13:00:11 +00:00
Love Hörnquist Åstrand b7664ac1cb document krb5_free_salt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-13 13:23:57 +00:00
Love Hörnquist Åstrand b3c377ae79 data needs to be freed when using krb5_ticket_get_authorization_data_type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-12 10:22:04 +00:00
Love Hörnquist Åstrand f81af1030b test variables in default_cc_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-11 21:49:46 +00:00
Love Hörnquist Åstrand 10f34a170b explain support for varibles in [libdefaults]default_cc_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-11 21:49:08 +00:00
Love Hörnquist Åstrand 1851cd8507 drop ${time}, its not very useful
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-11 21:44:52 +00:00
Love Hörnquist Åstrand 92b867f617 Add _krb5_expand_default_cc_name that expand variables in the default
cc name. Supported variables now are: ${time},${uid} and ${null}


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-11 21:42:34 +00:00
Love Hörnquist Åstrand 292536b121 document default_cc_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-11 19:25:22 +00:00
Love Hörnquist Åstrand 3ea7dd11bb (krb5_cc_set_default_name): s/libdefault/libdefaults/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-11 19:21:20 +00:00
Love Hörnquist Åstrand 5d2f79f90c (DES_rand_data): also try /dev/arandom
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-10 11:21:48 +00:00
Love Hörnquist Åstrand 6f6b196959 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-09 13:41:45 +00:00
Love Hörnquist Åstrand 350845db92 ifdef protect AFS_SYSCALL for DragonFly since they still define
__FreeBSD__ (and __FreeBSD_version), but claim that they will stop
doing it some time...


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-09 13:41:32 +00:00
Love Hörnquist Åstrand 7a20eef04a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-09 11:25:03 +00:00
Love Hörnquist Åstrand e44b2f9e21 dragonflybsd uses 339 just like freebsd5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-09 11:24:47 +00:00
Love Hörnquist Åstrand 379db7c5fa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-07 14:36:13 +00:00
Love Hörnquist Åstrand b28cb7da78 mutex buglet, From: Luke Howard <lukeh@PADL.COM>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-07 14:31:52 +00:00
Love Hörnquist Åstrand 5c193984ae remove magic 3 with ccapi_version_3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-06 16:09:51 +00:00
Love Hörnquist Åstrand 3b7f84fe0d libkrb5_la_SOURCES += acache.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-06 16:03:05 +00:00
Love Hörnquist Åstrand 00373fe5ba register krb5_acc_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-06 16:01:54 +00:00
Love Hörnquist Åstrand cb6d60695f add krb5_acc_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-06 16:01:07 +00:00
Love Hörnquist Åstrand 97fd731a78 CCAPI v3 implementation, the read only support was from Magnus Ahltorp
and then extended by me to support all other operations.  Tested with
MIT kerberos cc cache implementation on MacOS 10.3.3


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-06 16:00:41 +00:00
Love Hörnquist Åstrand eb4103488f (krb5_cc_set_default_name): allow setting the default cc name, this is
not very useful for general purpose glue since its not possible to
glue in user information (like uid), but for CCAPI it works just fine


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-06 15:58:27 +00:00
Love Hörnquist Åstrand e21fbb2aaa add krb5_eai_to_heim_errno.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-03 11:14:15 +00:00
Love Hörnquist Åstrand cc39632fd0 document krb5_eai_to_heim_errno, krb5_h_errno_to_heim_errno
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-03 11:13:46 +00:00
Love Hörnquist Åstrand 69d9db95c4 add krb5_eai_to_heim_errno, krb5_h_errno_to_heim_errno
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-03 11:13:16 +00:00
Love Hörnquist Åstrand 23796c7b70 krb5_expand_hostname_realms result should be free with krb5_free_host_realm
drop krb5_get_host_realm text


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14081 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-26 17:56:54 +00:00
Love Hörnquist Åstrand 394097ae26 krb5_get_host_realm result should be free with krb5_free_host_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-26 17:54:37 +00:00
Love Hörnquist Åstrand 7cea153f37 document krb5_free_kdc_rep
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-26 16:22:23 +00:00