Commit Graph

16530 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
f3ab57d7bf Merge the description and function jumptables into one structure.
Use the length of the array when checking if opcode is value, not a constant.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 21:28:44 +00:00
Love Hörnquist Åstrand
89e2c558e2 struct kcm_op: jumptable structure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:46:28 +00:00
Love Hörnquist Åstrand
25db6ad7e4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:41:57 +00:00
Love Hörnquist Åstrand
b5c88f56dc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:40:23 +00:00
Love Hörnquist Åstrand
af6eb0f463 Don't test HAVE_DAEMON since roken supplies it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:39:35 +00:00
Love Hörnquist Åstrand
78103d6bc6 move declaration of detach_from_console away from here to kcm_locl.h
Don't test HAVE_DAEMON since roken supplies it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:37:36 +00:00
Love Hörnquist Åstrand
7a9666ae1d move declaration of detach_from_console here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:36:04 +00:00
Love Hörnquist Åstrand
2c0f3e36a1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:32:38 +00:00
Love Hörnquist Åstrand
216e046295 Adding new and improve old documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 15:15:04 +00:00
Love Hörnquist Åstrand
423f9856da x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 14:07:46 +00:00
Love Hörnquist Åstrand
5d06d26b07 document WRFILE and JAVA14
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 14:07:32 +00:00
Love Hörnquist Åstrand
c44aa60795 rc1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-22 18:54:49 +00:00
Love Hörnquist Åstrand
c2b1b1654a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-22 18:14:25 +00:00
Love Hörnquist Åstrand
fef228d108 ignore weak symbols too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-22 18:11:30 +00:00
Love Hörnquist Åstrand
285d9f5407 Remove duplicate line that was commented using c99 style comments.
Found by samba's build farm.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 10:42:54 +00:00
Love Hörnquist Åstrand
fafd147697 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 09:10:25 +00:00
Love Hörnquist Åstrand
429998ed6e (srv_get_hosts): if srv_get_hosts failes, return and ignore the error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 09:09:42 +00:00
Love Hörnquist Åstrand
ea49018330 (srv_find_realm): make sure res' and count' have good values
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 09:07:18 +00:00
Love Hörnquist Åstrand
305ca701d3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 09:02:26 +00:00
Love Hörnquist Åstrand
a1e379cb15 tests all keytab format
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 09:01:29 +00:00
Love Hörnquist Åstrand
fc578bb215 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 08:36:47 +00:00
Love Hörnquist Åstrand
3fe17e04c4 (start_login): put utmpx code into a new scope to avoid pre c99 problems.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 08:35:51 +00:00
Love Hörnquist Åstrand
9fe35267a4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 08:16:16 +00:00
Love Hörnquist Åstrand
936247b01e (rk_read_env_file): move assignment to later to make pre c99 compiler happy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 07:50:56 +00:00
Love Hörnquist Åstrand
21824d94f6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 20:52:35 +00:00
Love Hörnquist Åstrand
cc1891f16f add missing options, prompted by James F. Hranicky mail to heimdal-discuss
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 20:50:53 +00:00
Love Hörnquist Åstrand
3712b65b51 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 20:41:34 +00:00
Love Hörnquist Åstrand
2d1b36a743 (_krb5_pk_rd_pa_reply): non non asn1 decoding errors, fail. Make sure
we free memory on error.
(pk_verify_chain_standard): make sure we provide good errors.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 18:49:05 +00:00
Love Hörnquist Åstrand
b4d451a234 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 18:28:33 +00:00
Love Hörnquist Åstrand
d90f956e94 (pk_verify_chain_standard): store better error message in the context
for certificate errors.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 18:27:15 +00:00
Love Hörnquist Åstrand
577e88be43 add pkinit and password quailty check options
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 18:15:20 +00:00
Love Hörnquist Åstrand
0aa27f221b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 14:05:51 +00:00
Love Hörnquist Åstrand
c0817d7f3b (krb5_kt_free_entry): zero out content of all krb5_free_x_content like
functions to make sure data doesnt get reused, idea from Wynn Wilkes
<wwilkes@vintela.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 14:04:45 +00:00
Love Hörnquist Åstrand
5b46227564 (kt_change): plug memory leak from krb5_kt_remove_entry, print
principal on error.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 14:03:16 +00:00
Love Hörnquist Åstrand
035f9890c9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 11:25:04 +00:00
Love Hörnquist Åstrand
798226f3a3 define _POSIX_PTHREAD_SEMANTICS to make solaris provide the right getpwname_r
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 11:24:48 +00:00
Love Hörnquist Åstrand
a934d46ac0 Make Solaris find tgetent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 11:22:53 +00:00
Love Hörnquist Åstrand
15c3cd1ba3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 08:19:23 +00:00
Love Hörnquist Åstrand
e910a50925 depend on automake 1.8, we don't test anything older
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15179 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 07:52:10 +00:00
Love Hörnquist Åstrand
0ec6d0d363 (process_pa_data_to_md): add comment that the caller always free
out_md; remove comment about memory, it doesn't happen.
(init_cred_loop): free ctx->as_req.padata when its reset (From Wynn
Wilkes <wwilkes@vintela.com>), move a comment close the the code


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 07:42:06 +00:00
Love Hörnquist Åstrand
db975c9c97 (fkt_remove_entry): need to call krb5_kt_free_entry after each
krb5_kt_next_entry.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 04:13:18 +00:00
Love Hörnquist Åstrand
1ed2143174 (fkt_remove_entry): need to call krb5_kt_free_entry after each
fkt_next_entry_int. From: Wynn Wilkes <wwilkes@vintela.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 04:11:34 +00:00
Love Hörnquist Åstrand
4a5b9202fb s/sizeo/sizeof/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-18 10:06:16 +00:00
Love Hörnquist Åstrand
efd0eb5184 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-18 09:55:29 +00:00
Love Hörnquist Åstrand
5802e5f856 use english spelling of March
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-18 09:54:53 +00:00
Love Hörnquist Åstrand
71fc6141d5 TESTS += test_keytab
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-18 05:08:29 +00:00
Love Hörnquist Åstrand
db19fc890c (krb4_kt_remove_entry): plug memory leak, avoid crashing on empty keytab
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-18 05:03:30 +00:00
Love Hörnquist Åstrand
46c23b1852 document behavior of krb5_kt_remove_entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-18 04:49:15 +00:00
Love Hörnquist Åstrand
ed2c4b3694 (mkt_remove_entry): check if there isn't any entries in the keytab
before removing any since that leads to bad pointer arithmetic and
crashing. From: Wynn Wilkes <wwilkes@vintela.com>.
Make the function return KRB5_KT_NOTFOUND if the entry wasn't in the
keytab (just like the filebased keytab).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-18 04:44:40 +00:00
Love Hörnquist Åstrand
f97a50a117 test memory corruption in MEMORY keytab
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-18 04:38:30 +00:00