Commit Graph

55 Commits

Author SHA1 Message Date
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
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
3a51ba465b Provide better error why kadm5_log_replay failed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-07 17:35:49 +00:00
Love Hörnquist Åstrand
000d2c1e6a Print what version the client starts at.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-03 14:17:52 +00:00
Love Hörnquist Åstrand
2991c6378d make more sane.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-03 14:16:24 +00:00
Love Hörnquist Åstrand
5bdb1c0e7f always update log version, because that is whats happning in reality.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-03 14:09:54 +00:00
Love Hörnquist Åstrand
2d7c7670b0 more paranoid check that the log entires are self consistant
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-03 13:59:14 +00:00
Love Hörnquist Åstrand
a569fb65a4 Spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-02 11:54:33 +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
f23e5f1e58 More comments and some more error checking.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21715 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-27 16:13:09 +00:00
Love Hörnquist Åstrand
e37759c4b1 Catch return value from krb5_program_setup. From Steven Luo.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 07:01:27 +00:00
Love Hörnquist Åstrand
ece5f9603e Make krb5_get_init_creds_opt_free take a context argument.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-20 18:12:41 +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
1a8b054bbc avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 05:27: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
209ac33571 (ihave): use krb5_write_priv_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-24 11:27:58 +00:00
Johan Danielsson
1f57648d35 add --detach
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-18 16:59:03 +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
f00c4ac492 (receive_loop): when seeking over the entries we already have, skip
over the trailer.
From: Jeffrey Hutzelman <jhutz@cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-19 03:21:31 +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
5d190295aa add context argument to krb5_get_init_creds_opt_alloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:28:20 +00:00
Love Hörnquist Åstrand
61e14619de use krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:31:42 +00:00
Love Hörnquist Åstrand
835c5e70a6 (receive_everything): switch close and rename
From: Alf Wachsmann <alfw@SLAC.Stanford.EDU>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-24 14:49:45 +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
Johan Danielsson
1c74114ff4 (from Derrick Brashear): Propagating a large database without this
means the slave kdcs can get erroneous HDB_NOENTRY and return the
resulting errors. This creates a new db handle, populates it, and
moves it into place.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-21 15:51:44 +00:00
Assar Westerlund
7b9c9dcd4f (receive_everything): type-correctness calling _krb5_get_int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-26 13:29:37 +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
bd3c05c2c3 (main): syslog with the correct name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10607 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-31 03:12:17 +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
Johan Danielsson
c0121e9578 only register hdb-ops once
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10461 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-10 12:08:52 +00:00
Assar Westerlund
7bfa329b40 (receive_everything): make `fd' an int instead of a pointer. From
Derrick J Brashear <shadow@dementia.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-06 02:06:19 +00:00
Assar Westerlund
c6de7d7181 remove unused code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-24 04:30:54 +00:00
Johan Danielsson
6250a2ac92 call krb5_read_priv_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8774 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-22 12:01:42 +00:00
Johan Danielsson
3e7a32533d no need to call gethostname, since sname_to_principal will
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-11 16:04:19 +00:00
Assar Westerlund
ca574c6c9c (get_creds): remove strange const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8449 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-21 23:51:47 +00:00
Assar Westerlund
508f698920 change default keytab to default keytab (as in typically
FILE:/etc/krb5.keytab)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8392 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-16 20:43:15 +00:00
Assar Westerlund
3d0e8eb719 (receive_everything): remove duplicated `data'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8359 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-08 23:45:35 +00:00
Assar Westerlund
a6ff60aadc bug fixes, for actually writing the full dump to the database. based
on a patch from Love <lha@stacken.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8356 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-08 00:37:14 +00:00
Assar Westerlund
6cddd9aa41 use syslog
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8331 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-07 01:48:39 +00:00
Assar Westerlund
335c240ab8 re-organize so that we alays close database
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-05 23:05:53 +00:00
Assar Westerlund
de3fbccd8d and some more improvements
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-05 17:03:29 +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
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
0a2002c848 Ifdef unused variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4621 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-21 00:50:16 +00:00