Love Hörnquist Åstrand
c7b54c3372
Adapt to signature change of _krb5_principalname2krb5_principal.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 17:06:30 +00:00
Love Hörnquist Åstrand
7c8ba97fe4
(_krb5_principalname2krb5_principal): adapt to signature change
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 17:00:21 +00:00
Love Hörnquist Åstrand
599d3cf216
Change _kdc_db_fetch() to return the database pointer too if needed by
...
the consumer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:45:16 +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
8f297fdb5c
(_kdc_do_524): Handle memory allocation failure
...
Coverity, NetBSD CID#2752
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17015 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 22:12:28 +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
389b210409
Always include <krb5-v4compat.h>.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-24 14:59:08 +00:00
Love Hörnquist Åstrand
a36c1df4bd
init kvno to please gcc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15361 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-08 18:11:49 +00:00
Love Hörnquist Åstrand
6f41f39523
use private version of principalname
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 19:22:28 +00:00
Assar Westerlund
f643967982
(encode_524_response): check the enable_v4_cross_realm flag before
...
giving out v4 tickets for foreign v5 principals
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-17 05:35:47 +00:00
Love Hörnquist Åstrand
1f0aaff6f6
(encode_524_response): its 2b not b2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 14:59:21 +00:00
Love Hörnquist Åstrand
ec1a8d0763
always compile in support for 524
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 05:45:11 +00:00
Johan Danielsson
669fa4d24c
implement crude b2 style (non-)conversion for use with afs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-11-07 10:07:55 +00:00
Johan Danielsson
47b7f07d33
ENOENT -> HDB_ERR_NOENTRY (from Derrick Brashear)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-07-31 09:43:20 +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
Assar Westerlund
ae46eb241e
(do_524): fix typo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 17:38:31 +00:00
Johan Danielsson
b1f6a2dd75
don't send more data than required
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 16:27:55 +00:00
Assar Westerlund
f45a473448
new krb5_sockaddr2address
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-14 06:17:47 +00:00
Assar Westerlund
d4263fdf0d
adapt to new db_fetch, and try to print useful error messages when it fails
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 01:44:08 +00:00
Johan Danielsson
de36c5eb53
fix log messge
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-10 06:53:58 +00:00
Assar Westerlund
620646d0f7
(set_address): allocate memory for storing addresses in if the
...
original request had an empty set of addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-01 00:38:18 +00:00
Assar Westerlund
67693d72ed
(set_address): fix bad return of pointer to automatic data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-23 18:04:49 +00:00
Assar Westerlund
5a0952ca19
re-organize
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 14:48:23 +00:00
Assar Westerlund
accdd87f82
check return value from krb5_crypto_init
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-18 06:50:26 +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
Johan Danielsson
98164d1259
if 524 is not enabled, just generate error reply and exit
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8343 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-07 09:54:21 +00:00
Johan Danielsson
46bad02fbe
handle non-existant server principals (from Daniel Kouril)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8323 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-06 09:29:20 +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
Johan Danielsson
43cf1e9e3a
(do_524): sockaddr_in -> sockaddr
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5799 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-29 19:02:03 +00:00
Johan Danielsson
813c454364
check that the ticket came from a valid address; use the address of
...
the connection as the address to put in the v4 ticket (if this address
is AF_INET)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5794 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-29 18:31:28 +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
f9b8c2a15a
(do_524): initialize `ret'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5048 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-30 16:08:36 +00:00
Johan Danielsson
827ae4f721
Use krb5_decode_EncTicketPart.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4374 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-01-31 16:47:55 +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
be9a286a21
krb5_error_code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3353 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-03 14:51:35 +00:00
Johan Danielsson
2b41598879
void
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3345 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-03 13:55:33 +00:00
Johan Danielsson
5af782dd91
A somewhat working 524-protocol module.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2985 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-15 01:44:39 +00:00