Commit Graph

925 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
7e91838407 use the right type for error message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23358 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 11:24:24 +00:00
Love Hörnquist Åstrand
7fcd266fdd use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 04:32:32 +00:00
Love Hörnquist Åstrand
125f5659a7 Clear context error that is not useful.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-01 22:28:44 +00:00
Love Hörnquist Åstrand
6bdb458df9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23075 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-23 15:06:58 +00:00
Love Hörnquist Åstrand
c6f6defa06 Only log "sending AYT" once, pointed out by Dr A V Le Blanc.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23074 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-23 15:06:51 +00:00
Love Hörnquist Åstrand
811319445f warnings on platforms where sig_atomic_t is not a int, from netbsd via Michael van Elst, Havard Eidnes and T K Spindler
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 19:13:46 +00:00
Love Hörnquist Åstrand
cf0ef8eff3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-21 11:56:57 +00:00
Love Hörnquist Åstrand
457a138a9d Use hdb_free_keys().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-21 11:56:44 +00:00
Love Hörnquist Åstrand
b1bd01fcb9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-11 14:40:23 +00:00
Love Hörnquist Åstrand
ae799d89d9 add check-cracklib.pl, flush.c, sample_passwd_check.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-11 14:37:26 +00:00
Love Hörnquist Åstrand
284d45bbbc use hdb_db_dir() and hdb_default_db()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 19:27:27 +00:00
Love Hörnquist Åstrand
5fed824f37 its vs it\'s etc. From Bjorn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand
9be6aed83c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-18 19:12:30 +00:00
Love Hörnquist Åstrand
d8587d0752 We are getting default_client, not client. this way the user can
override the result.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-18 19:11:15 +00:00