Commit Graph

45 Commits

Author SHA1 Message Date
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
Johan Danielsson
433dca9ff4 use getarg
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5823 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-01 15:03:57 +00:00
Johan Danielsson
a3c6a06651 kadm5_s_* -> kadm5_*
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4902 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-23 02:21:42 +00:00
Johan Danielsson
c9200dab65 add cast
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4865 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-12 15:12:12 +00:00
Johan Danielsson
c492deb0ad Remove unused variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4620 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-21 00:49:57 +00:00
Assar Westerlund
3ac140503b (send_diffs): more careful
use krb5_{write,read}_message


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4485 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-01 02:39:14 +00:00
Assar Westerlund
69df97f51a (check_acl:) truncate buf correctly
(send_diffs): compare versions correctly
(main): reorder handling of events


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4462 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-27 03:49:03 +00:00
Assar Westerlund
40a0ac5cfc more code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4460 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-26 23:55:37 +00:00
Assar Westerlund
a9b1b8e53f new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4458 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-26 19:41:16 +00:00