Commit Graph

35 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
652da91adb Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:52:01 +00:00
Love Hörnquist Åstrand
8faf263b83 Use the new unsigned integer storage types. Sprinkle some error handling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:50:56 +00:00
Love Hörnquist Åstrand
5c9982831b pass down HDB_F_GET_ flags as appropriate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 11:33:21 +00:00
Love Hörnquist Åstrand
2211af38b6 _kdc_check_flags takes hdb_entry_ex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:54:37 +00:00
Love Hörnquist Åstrand
ddddd59d94 Finish up transition from hdb_entry to hdb_entry_ex.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16402 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-13 19:44:27 +00:00
Love Hörnquist Åstrand
7a3fc5e663 Don't pollute namespace, generate public headerfile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 01:54:49 +00:00
Love Hörnquist Åstrand
7132a9b084 Merge in the libkdc/kdc configuration split from Andrew Bartlet <abartlet@samba.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 01:03:35 +00:00
Love Hörnquist Åstrand
7dd1049a46 log the kaserver requests, avoid shadowing variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 13:56:09 +00:00
Love Hörnquist Åstrand
3212d821d6 (do_authenticate): check return value from unparse_auth_args
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15359 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-08 17:58:09 +00:00
Love Hörnquist Åstrand
d1d73cd17f Use the new Kerberos 4 functions in libkrb5 and so kaserver support is
always compiled in (still default disabled)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 13:45:18 +00:00
Love Hörnquist Åstrand
c50b57d65d AUTHENTICATE and AUTHENTICATE_V2 is almost the same, and clients
(klog) can deal with that the kaserver returns the same thing for both


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 19:02:29 +00:00
Johan Danielsson
441228af89 (do_getticket): check client max_life
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 15:47:40 +00:00
Love Hörnquist Åstrand
0da0d41d6a (do_getticket): if times data is shorter then 8 byte, request is mailformed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-06 20:39:28 +00:00
Love Hörnquist Åstrand
4ba454b93f (do_authenticate): if request length is less then 8, its a bad request
and fail. Pointed out by Marco Foglia <marco@foglia.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-06 20:22:07 +00:00
Johan Danielsson
73f54b2e7f make sure life is positive (from John Godehn)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-21 12:59:41 +00:00
Jacques A. Vidrine
9849899e7f Validate some counts that may be received from the network:
Check that they are non-negative, and that they are small enough to
avoid integer overflow when used in memory allocation calculations.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-09 14:03:03 +00:00
Johan Danielsson
f5c1154132 storage tweaks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 16:08:24 +00:00
Johan Danielsson
04c7a2f78d fix call to get_des_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-17 07:49:01 +00:00
Johan Danielsson
2b67390d1d always include kaserver support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 16:32:19 +00:00
Assar Westerlund
8aac280e14 update to new db_fetch4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-05 10:49:43 +00:00
Assar Westerlund
7a63c28b48 (do_getticket): check length of ticket. noted by <lha@stacken.kth.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-28 21:51:05 +00:00
Assar Westerlund
8c87a006a4 (do_authenticate): check for time skew
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-08 18:35:19 +00:00
Assar Westerlund
edd9d8dd4d new calls for free_ent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 14:16:41 +00:00
Johan Danielsson
4f91e3feb7 pass extra parameter to get_des_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-28 11:51:42 +00:00
Assar Westerlund
d52e863cc2 (do_authenticate, do_getticket): call check_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-11 03:29:37 +00:00
Assar Westerlund
06b7e92a51 (do_authenticate): return the kvno of the server and not the client.
Thanks to Brandon S. Allbery KF8NH <allbery@@kf8nh.apk.net> and
Chaskiel M Grundman <cg2v@andrew.cmu.edu> for debugging.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-13 19:21:22 +00:00
Johan Danielsson
c5b916ca6f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
475b43a4f9 malloc checks and fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5541 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-15 08:30:42 +00:00
Johan Danielsson
aaae186ab9 merge new-crypto branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5332 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-11 21:03:59 +00:00
Assar Westerlund
0cd1bb1263 (create_reply_ticket): use a random nonce in the reply packet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4071 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-29 06:12:44 +00:00
Assar Westerlund
6b919c6819 removed all unsealing, now done by the hdb layer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3629 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-16 04:24:29 +00:00
Johan Danielsson
e6fe92e286 krb5_store_xdr_data static
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3346 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-03 13:57:27 +00:00
Assar Westerlund
25410aa3e0 some more checks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3123 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-24 11:01:35 +00:00
Assar Westerlund
19f08466bc fix up memory deallocation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3110 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-24 07:32:00 +00:00
Assar Westerlund
038daa94f2 quick hack at talking kaserver protocol
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3106 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-24 06:11:13 +00:00