Commit Graph

989 Commits

Author SHA1 Message Date
Love Hornquist Astrand
a9e58b7e77 don't set flags when we are not asked to 2009-11-22 17:14:47 -08:00
Love Hornquist Astrand
5e13cd2e0d provide default when there is no default 2009-11-22 14:11:24 -08:00
Love Hornquist Astrand
6f4b693fe5 krb5.conf is in 5, sort
From Jeremy C. Reed
2009-10-24 14:15:48 -07:00
Love Hornquist Astrand
6f6a384257 [HEIMDAL-646] malloc(0) checks for AIX 2009-10-11 18:02:56 -07:00
Love Hornquist Astrand
b4013ca830 [HEIMDAL-646] malloc(0) checks for AIX 2009-10-11 17:33:02 -07:00
Love Hornquist Astrand
75aebbf616 [HEIMDAL-646] malloc(0) checks for AIX 2009-10-11 17:32:38 -07:00
Love Hornquist Astrand
d3d9e5ecb5 free sp on error/full send 2009-10-06 11:19:27 -07:00
Love Hornquist Astrand
ff87429593 Make LDAP code fetch less attributes from LDAP server when KDC is asking
Johan Gadsjö did a awesome analysis of the LDAP access pattens
and sent us a patch that reduced the calls the ldap server by 4
times as many. The patch was adopted and change to avoid compile
time depencies and make the determination runtime instead. Thanks!
2009-10-03 13:20:41 -07:00
Love Hornquist Astrand
dc4e8669ea Abstract out asn1_compile and slc 2009-09-16 00:12:13 -07:00
Love Hornquist Astrand
3b761fddc0 check the clients with current_version, and if client have newer, whine 2009-09-05 14:41:03 -07:00
Love Hornquist Astrand
03b6f9a09b Don't send diffs to dead slaves 2009-09-05 14:31:49 -07:00
Love Hornquist Astrand
0f5f5947aa make sure client is set before trying to use it [CID-50] 2009-07-30 13:20:00 +02:00
Love Hornquist Astrand
e184e053dd Catch memory allocation failures [CID-61] 2009-07-30 12:56:21 +02:00
Love Hornquist Astrand
0d49d0f1c4 Free ticket earlier [CID-108] 2009-07-30 10:39:52 +02:00
Love Hörnquist Åstrand
e28e7b2c45 check for hdb->hdb_password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 04:26:12 +00:00
Love Hörnquist Åstrand
63a9b03afb its ok to not have a password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-21 21:37:31 +00:00
Love Hörnquist Åstrand
be0941cb08 catch failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:21:40 +00:00
Love Hörnquist Åstrand
a8a2e8140b catch failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:21:29 +00:00
Love Hörnquist Åstrand
7afb1de424 catch failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:21:19 +00:00
Love Hörnquist Åstrand
2da3d041ad catch write to socket error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:02:49 +00:00
Love Hörnquist Åstrand
4b2db56d70 catch write to socket error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:02:38 +00:00
Love Hörnquist Åstrand
33b06fbcb9 catch write to socket error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:02:26 +00:00
Love Hörnquist Åstrand
5d65692492 comment out unsupported options
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:01:51 +00:00
Love Hörnquist Åstrand
1e42fab0f0 use krb5_principal_get_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25116 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:10:12 +00:00
Love Hörnquist Åstrand
11b955ea01 plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-04 17:10:52 +00:00
Love Hörnquist Åstrand
a96fa6cacd plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-04 17:10:41 +00:00
Love Hörnquist Åstrand
62ae550ab2 don't leak memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-04 17:09:39 +00:00
Love Hörnquist Åstrand
32218cc132 use krb5_cc_new_unique, use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:07:07 +00:00
Love Hörnquist Åstrand
5b24268581 use krb5_cc_new_unique, use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25056 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:06:57 +00:00
Love Hörnquist Åstrand
9ecc9345f6 use calloc to allocate salt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:03:15 +00:00
Love Hörnquist Åstrand
e479d05927 memset salt before copy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24988 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:02:55 +00:00
Love Hörnquist Åstrand
ac0502a0fe dns: switch to rk types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:45 +00:00
Love Hörnquist Åstrand
eb0549ea43 make vno set to a valid, so that in case master disconnects before it sent us any entries, don't print stack value.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:50 +00:00
Love Hörnquist Åstrand
f1c13450d9 drop <gssapi/*
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:48:24 +00:00
Love Hörnquist Åstrand
25eaa03e53 drop strndup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24537 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:45:51 +00:00
Love Hörnquist Åstrand
cbfc88f691 wrap detach
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:39:45 +00:00
Love Hörnquist Åstrand
3935b4ed34 wrap detach
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24410 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:39:36 +00:00
Love Hörnquist Åstrand
efccbcdeff init optidx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:50:48 +00:00
Love Hörnquist Åstrand
2767e8f372 Send the PK-INIT acl to the client in TL-data, from Henry B. Hotz.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-12 04:23:03 +00:00
Love Hörnquist Åstrand
bbd689d3b3 Reject if any key in old keys are in the new keyset, the list of enctypes might have changed. Pointed out by David Markey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24024 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-12 04:17:47 +00:00
Love Hörnquist Åstrand
49e70a4c41 Make slave more resiliant to master that go down, make them retry now and then.
The client tries connect every "[libdefault] reconnect-min" seconds,
and for every time it failes, it backs down "[libdefault]
reconnect-backoff" seconds until it reaches "[libdefault]
reconnect-max". On successful connect, the start value is reset to [libdefault] reconnect-min.

There are default values that make sense.

This patch was created by Buck Huppmann 2003, and been nursed along by
Alf Wachsmann until I merged it now.

While here, add IPv6 support.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 23:55:57 +00:00
Love Hörnquist Åstrand
8cf907f08a switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55:55 +00:00
Love Hörnquist Åstrand
29a746efd7 fix usage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-22 06:32:23 +00:00
Love Hörnquist Åstrand
210cad9123 update(c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-22 06:32:07 +00:00
Love Hörnquist Åstrand
7beb192394 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-22 06:32:03 +00:00
Love Hörnquist Åstrand
384d464e85 add master att the end as argument, from harald barth
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-22 06:31:58 +00:00
Love Hörnquist Åstrand
2e1dceceec s/slave/master/ for some strings, from harald barth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23853 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-22 06:31:53 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
e65761aac2 and right num of arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23359 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 11:24:36 +00:00