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
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
5a0bf63c71
Update (c).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-07 17:34:51 +00:00
Love Hörnquist Åstrand
3d9f731d98
- don't push whole database to the new client every time.
...
- make slaves get the whole new database if they have a newer log the
the master (and thus have them go back in time).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-06 02:18:13 +00:00
Love Hörnquist Åstrand
0b286093fe
Sprinkle more info about what versions the master thinks about the client versions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-03 13:09:20 +00:00
Love Hörnquist Åstrand
598b915110
Start the server at the current version, not 0.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-03 12:57:02 +00:00
Love Hörnquist Åstrand
8d095c0457
Add more logging, to figure out what is happening in the master.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-02 18:46:34 +00:00
Love Hörnquist Åstrand
0382061b7b
add configuration for signal file and acl file, let user select hostname, catch signals and print why we are quiting, make nop cause one new version, not two
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 22:15:08 +00:00
Love Hörnquist Åstrand
2849d42835
(send_diffs): make current slave's version uptodate when diff have been sent.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-30 14:54:13 +00:00
Love Hörnquist Åstrand
3154e1056e
Use strcspn to remove \n from string returned by fgets.
...
From Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 08:04:05 +00:00
Love Hörnquist Åstrand
cb704efeeb
Rename u_intXX_t to uintXX_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:37:46 +00:00
Love Hörnquist Åstrand
0c2369acd0
Wrap hdb_entry with hdb_entry_ex, patch originally from Andrew Bartlet
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:40:12 +00:00
Love Hörnquist Åstrand
608845b433
Make compile.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-24 14:29:59 +00:00
Love Hörnquist Åstrand
1cf12f2fbe
Update to new signature of kadm5_log_previous.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-24 14:27:52 +00:00
Love Hörnquist Åstrand
04dcbbc45a
rename local variable slave to s, optind -> optidx
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 05:23:46 +00:00
Love Hörnquist Åstrand
af6eb0f463
Don't test HAVE_DAEMON since roken supplies it.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:39:35 +00:00
Love Hörnquist Åstrand
32b515fccb
add the documented option --port
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 19:23:15 +00:00
Johan Danielsson
524a064514
add help strings to some options
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-23 12:55:08 +00:00
Johan Danielsson
f00a88cf6c
one more
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 15:50:29 +00:00
Johan Danielsson
61085a8a31
(write_stats): use krb5_format_time
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 15:48:24 +00:00
Johan Danielsson
ef3f12c742
add --detach
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 14:56:03 +00:00
Love Hörnquist Åstrand
e07443ac49
(main): process all slaves, not just up to the last slave sending data
...
(bug report from Björn Sandell <biorn@dce.chalmers.se >)
(*): only send one ARE_YOU_THERE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-08 19:17:19 +00:00
Love Hörnquist Åstrand
08853058a8
(prop_one): store the opcode in the begining of the blob, not the end
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 16:53:20 +00:00
Love Hörnquist Åstrand
8ae4ac8c04
stop using krb5 lib private byte-frobbing functions and replace them
...
with with krb5_storage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 06:23:28 +00:00
Love Hörnquist Åstrand
ef7b3a72f6
(main): parse kdc.conf
...
From: Jeffrey Hutzelman <jhutz@cmu.edu >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-18 23:19:26 +00:00
Love Hörnquist Åstrand
0540f13b86
prefix all struct HDB elements with hdb_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-19 00:25:35 +00:00
Love Hörnquist Åstrand
3946ead25c
(main): make sure current_version is initialized
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:35:49 +00:00
Love Hörnquist Åstrand
715020f048
Add probing from the server that the client is still there, also make
...
the client check that the server is probing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-03 13:36:09 +00:00
Love Hörnquist Åstrand
a100e117df
(main): make sure we don't consider dead slave for select processing
...
(write_stats): use slave_stats_file variable, check return value of strftime
(args): allow specifying slave stats file
(slave_dead): close the fd when the slave dies
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-19 11:56:38 +00:00
Johan Danielsson
599e9d114b
typo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-16 18:27:53 +00:00
Johan Danielsson
04e8a9438f
check return value of krb5_sockaddr2address
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-15 08:23:07 +00:00
Johan Danielsson
ae432f8296
handle slaves that come and go; add status reporting (both from Love)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11054 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-07-04 14:41:08 +00:00
Johan Danielsson
4fa94362ee
fix for storage change
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-24 15:23:43 +00:00
Assar Westerlund
897f0b1f93
unsigned char casts for is*, casts for socket functi, add headers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10646 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-03 05:54:18 +00:00
Jacques A. Vidrine
a0ab7ce3fc
Call `pidfile'.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-30 15:15:50 +00:00
Assar Westerlund
e7dcc1ea15
(main): fix select-loop to decrement ret correctly. from "Brandon
...
S. Allbery KF8NH" <allbery@ece.cmu.edu >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9678 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-14 23:00:16 +00:00
Assar Westerlund
e0a6466c6e
(main): check for fd's being too large to select on
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:12:45 +00:00
Assar Westerlund
5f648d3799
use socklen_t where appropriate instead of int
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 20:53:11 +00:00
Assar Westerlund
670ccc0a0f
(main): ignore SIGPIPE
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8906 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-06 22:27:24 +00:00
Assar Westerlund
d75e7e7ac7
(kadm5_log_get_version_fd): call
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-24 04:30:37 +00:00
Assar Westerlund
e8f99b2ad5
remove unused variables
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-22 01:01:36 +00:00
Johan Danielsson
5c50e932bc
use krb5_{read,write}_priv_message
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8744 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-21 23:45:53 +00:00
Assar Westerlund
0b11a303b1
use syslog. be less verbose
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8332 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-07 01:49:15 +00:00
Assar Westerlund
dd846dea4b
(keytab_str): set to "HDB:"
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8320 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-05 19:58:49 +00:00
Assar Westerlund
ef6818aca7
lots of improvements
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-05 17:03:15 +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
58571937fe
typo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7462 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 15:07:22 +00:00
Johan Danielsson
cbcd6a9d98
(process_msg): check for short reads
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7460 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 14:49:20 +00:00
Johan Danielsson
998aea7318
allow passing a realm
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7332 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-09 17:58:38 +00:00