Commit Graph

6739 Commits

Author SHA1 Message Date
Johan Danielsson
cdef504282 add support for "strings" and "negative-flag" types, plus some
usability tweaks and bug fixes


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-22 16:09:19 +00:00
Johan Danielsson
f00a88cf6c one more
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 15:50:29 +00:00
Johan Danielsson
61085a8a31 (write_stats): use krb5_format_time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 15:48:24 +00:00
Johan Danielsson
a61e4d44bd (krb5_format_time): check return value from localtime and strftime
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 15:47:37 +00:00
Johan Danielsson
ef3f12c742 add --detach
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 14:56:03 +00:00
Love Hörnquist Åstrand
536724daed x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-13 21:47:19 +00:00
Love Hörnquist Åstrand
ddd06231ea add --version/--help
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-13 21:45:59 +00:00
Love Hörnquist Åstrand
af85929869 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-12 20:50:26 +00:00
Love Hörnquist Åstrand
e85467e3b9 make resolve-test a noinst program
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14221 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-12 20:48:19 +00:00
Love Hörnquist Åstrand
b234201112 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-12 12:11:06 +00:00
Love Hörnquist Åstrand
03b4ecc9bd deal with changed prototype for _kadm5_free_keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-12 12:10:35 +00:00
Love Hörnquist Åstrand
5bb4dc8723 (_kadm5_free_keys): change prototype, make it use krb5_context instead
of a kadm5_server_context


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14218 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-12 12:09:58 +00:00
Love Hörnquist Åstrand
cf112007d1 (parse_key_set): do way with static returning (function) static
variable and returned allocated memory
(_kadm5_generate_key_set): free enctypes returned by parse_key_set


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-12 12:08:40 +00:00
Love Hörnquist Åstrand
845d290835 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-11 20:51:39 +00:00
Love Hörnquist Åstrand
119a28b42e test program for libroken resolve from resolve.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-11 20:46:17 +00:00
Love Hörnquist Åstrand
3c5f0607c4 add resolve-test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-11 20:42:57 +00:00
Love Hörnquist Åstrand
87b4e9fdd8 add constant for max DNS protocol packet size
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-11 20:40:37 +00:00
Love Hörnquist Åstrand
15b169c7a5 (dns_lookup_int): grow the answer buffer to the size the server send
to us if the answer buffer was too small (limited to the dns protocol
max packet size)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-11 20:38:55 +00:00
Love Hörnquist Åstrand
2218eea060 use krb5_ccapi.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-11 04:02:43 +00:00
Love Hörnquist Åstrand
35cec21db6 break out krb5 api definitions to separate (not installed) file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-11 04:00:42 +00:00
Love Hörnquist Åstrand
82406dabe3 add AM_CPPFLAGS to libkrb5_la_CPPFLAGS since AM_CPPFLAGS overridden by
target specific _CPPFLAGS


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-11 03:56:19 +00:00
Johan Danielsson
034ec2a71e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-08 09:06:02 +00:00
Johan Danielsson
03bae875ad use krb5_appdefault_boolean instead of krb5_config_get_bool
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-08 09:02:59 +00:00
Love Hörnquist Åstrand
ba0ff6be30 make variable shorter, make error messages from pkinit, make freeing easier
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-07 22:26:40 +00:00
Love Hörnquist Åstrand
1a000b4604 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 11:42:13 +00:00
Love Hörnquist Åstrand
f0aee06246 Fix memory leak, don't return stack variables
From Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 11:39:10 +00:00
Love Hörnquist Åstrand
c9d296148a make all_etypes const and move outside function to avoid returning
data on stack


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 11:25:30 +00:00
Love Hörnquist Åstrand
b30d575de7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 07:10:44 +00:00
Love Hörnquist Åstrand
713d5b767b gss_krb5_extract_authz_data_from_sec_context was renamed to
gsskrb5_extract_authz_data_from_sec_context


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 07:08:58 +00:00
Love Hörnquist Åstrand
cf536910ba link libkrb5 with LIB_dlopen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 06:52:18 +00:00
Love Hörnquist Åstrand
6af75bb33b (seed_something): avoid poking at memory that is uninitialized, make
valgrind unhappy. Pointd out by abartlet@samba.org. While where, plug
the fd leak.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 06:45:12 +00:00
Love Hörnquist Åstrand
f04518dc7f (decode_*): name all tag-length variables the same
(decode_enumerated): check that the tag-length is not longer the length


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-05 15:29:22 +00:00
Love Hörnquist Åstrand
861f615ca9 (decode_boolean): fail if length of tag is larger then len
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-05 15:23:43 +00:00
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