Commit Graph

12776 Commits

Author SHA1 Message Date
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
68d3cfe85c return the while list, not just the last entry.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:18:19 +00:00
Love Hörnquist Åstrand
eff9d3a6b4 Allocate the right size and init the right krb5_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:18:03 +00:00
Love Hörnquist Åstrand
5a7596fd02 allocate the right size
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:17:47 +00:00
Love Hörnquist Åstrand
d697ba5f85 return an error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:17:31 +00:00
Love Hörnquist Åstrand
44629d5ce4 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:17:15 +00:00
Love Hörnquist Åstrand
9f696b11c2 Patch to handle sambaPwdLastSet, sambaPwdMustChange was drop some Samba versions ago.
From David Markey

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:16:35 +00:00
Love Hörnquist Åstrand
8eb11663ce add copy config
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:16:19 +00:00
Love Hörnquist Åstrand
f9e2c569f9 make _krb5_copy_send_to_kdc_func handle no set functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:16:03 +00:00
Love Hörnquist Åstrand
c708c7e9fb more working copy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:15:46 +00:00
Love Hörnquist Åstrand
af13964709 export stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:15:27 +00:00
Love Hörnquist Åstrand
be699eb984 add krb5_cccol_last_change_time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:15:10 +00:00
Love Hörnquist Åstrand
7811db9c1f add lastmodified
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:14:54 +00:00
Love Hörnquist Åstrand
3960be2685 add lastchange
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:14:32 +00:00
Love Hörnquist Åstrand
2dd4e2d2fd Make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 04:19:34 +00:00
Love Hörnquist Åstrand
37b7df05f1 add krb5_get_validated_creds().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 04:19:22 +00:00
Love Hörnquist Åstrand
51124e047e document krb5_clear_error_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:57:12 +00:00
Love Hörnquist Åstrand
306628d12c switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:56:37 +00:00
Love Hörnquist Åstrand
2de2b05fcb switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:56:28 +00:00
Love Hörnquist Åstrand
cdc2b37670 switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:56:07 +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
03babea1e3 switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55:39 +00:00
Love Hörnquist Åstrand
e8dd9bcc6f add helper function _krb5_copy_send_to_kdc_func
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55:25 +00:00
Love Hörnquist Åstrand
d181d985b7 (krb5_copy_context): copy (most of) context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55:15 +00:00
Love Hörnquist Åstrand
f8bcb2008e dummy implementation of krb5_copy_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55:05 +00:00
Love Hörnquist Åstrand
290236e471 add krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23907 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:54:49 +00:00
Love Hörnquist Åstrand
fe1a976ae2 new krb5_cc_cache_match
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:03:21 +00:00
Love Hörnquist Åstrand
203522c21a add krb5_cccol and documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:03:08 +00:00
Love Hörnquist Åstrand
a27cf44d24 update to sqlite 3.6.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:02:54 +00:00
Love Hörnquist Åstrand
773893d019 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:02:36 +00:00
Love Hörnquist Åstrand
0124c1d219 add krb5_principal_get_num_comp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:02:25 +00:00
Love Hörnquist Åstrand
24f5fb0af0 always reset input pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:02:14 +00:00
Love Hörnquist Åstrand
b51ecf5dc8 drop context from argument
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:02:04 +00:00
Love Hörnquist Åstrand
c247506e8e make krb5_ticket_get_flags compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:01:53 +00:00
Love Hörnquist Åstrand
3521c1738f make krb5_creds_get_ticket_flags work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:01:43 +00:00
Love Hörnquist Åstrand
beccfd7f6f add krb5_creds_get_ticket_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:01:32 +00:00
Love Hörnquist Åstrand
1ec61c11cf add krb5_ticket_get_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:01:19 +00:00
Love Hörnquist Åstrand
15542b787f add krb5_ticket
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:01:08 +00:00
Love Hörnquist Åstrand
4bbaa52901 provide convenice lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:00:57 +00:00
Love Hörnquist Åstrand
a6c726be4b super-library containing everything of heimdal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:00:46 +00:00
Love Hörnquist Åstrand
d9e9b83469 add libnwind.la
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:00:35 +00:00
Love Hörnquist Åstrand
8968ba3e73 fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:00:13 +00:00
Love Hörnquist Åstrand
eb93a89d67 super-library containing everything of heimdal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:00:02 +00:00
Love Hörnquist Åstrand
8e7e0f8130 provide convenice lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 02:59:51 +00:00
Love Hörnquist Åstrand
5fcdb233c3 provide convenice lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 02:59:41 +00:00
Love Hörnquist Åstrand
3ecc00cd39 provide convenice lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 02:59:28 +00:00
Love Hörnquist Åstrand
b994e453e8 provide convenice lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 02:59:17 +00:00
Love Hörnquist Åstrand
a8b663c7a4 provide convenice lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 02:59:06 +00:00
Love Hörnquist Åstrand
bd561e3681 provide convenice lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 02:58:52 +00:00
Love Hörnquist Åstrand
0c56bdc1c9 Add krb5_cc_get_flags() and krb5_cc_copy_creds().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:15:45 +00:00