Commit Graph

137 Commits

Author SHA1 Message Date
Johan Danielsson
0624b4457e replace INCLUDES with AM_CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Love Hörnquist Åstrand
17083d8556 use krb5_set_password_using_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-02 19:30:38 +00:00
Johan Danielsson
26457b7135 replace krb5_free_creds_contents by krb5_free_cred_contents
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:25:35 +00:00
Love Hörnquist Åstrand
bab9752256 (change_password): remove extra free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-31 14:01:55 +00:00
Love Hörnquist Åstrand
9e29b1f854 (change_password): handle that printf(".*s", 0, (void*)NULL); doesn't
work on solaris


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13323 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-10 20:28:26 +00:00
Love Hörnquist Åstrand
d7b12004a6 (change): use the right password when changing the password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 18:24:36 +00:00
Love Hörnquist Åstrand
4fd9447d78 (main): parse kdc.conf
From: Jeffrey Hutzelman <jhutz@cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-18 22:17:12 +00:00
Love Hörnquist Åstrand
20a96e4876 (process): don't free ticket, krb5_free_ticket does that now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 01:12:09 +00:00
Love Hörnquist Åstrand
9442843786 (process): remove a abort()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-20 20:27:22 +00:00
Love Hörnquist Åstrand
a87bc35edc add support for Set password protocol as defined by RFC3244 --
Microsoft Windows 2000 Kerberos Change Password and Set Password Protocols


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-20 00:08:06 +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
54fc57ccb5 s/des_read_pw_string/UI_UTIL_read_pw_string/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:37:03 +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
56fe7f8941 handle setting passwords for multiple principals at the same time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-13 13:06:10 +00:00
Love Hörnquist Åstrand
f14efa0284 update c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-12 16:54:14 +00:00
Love Hörnquist Åstrand
fa764fe97e use krb5_set_password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-12 16:49:26 +00:00
Love Hörnquist Åstrand
aa25cfcafa add copyright/license statment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11648 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-16 21:10:32 +00:00
Love Hörnquist Åstrand
8998f51418 spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-04 21:48:01 +00:00
Johan Danielsson
d021221027 (doit): initialise sa_size to size of sockaddr_storage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-02 14:31:52 +00:00
Johan Danielsson
77de2f4011 use crypto-headers.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 20:03:49 +00:00
Johan Danielsson
efb4030faa use full month name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 14:23:10 +00:00
Johan Danielsson
747a00df69 remove Ns before comma (from Thomas Klausner)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 16:37:20 +00:00
Johan Danielsson
d0af49b56e include <kadm5/private.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-19 15:07:31 +00:00
Assar Westerlund
f70acdb382 improve error message printing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-27 01:29:40 +00:00
Assar Westerlund
9b8ad9f282 set and use INCLUDE_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-28 08:31:31 +00:00
Assar Westerlund
aad564d1c2 re-write the handling of crypto libraries. try to use the one of
openssl's libcrypto or krb4's libdes that has all the required
functionality (md4, md5, sha1, des, rc4).  if there is no such
library, the included lib/des is built.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-22 20:30:33 +00:00
Assar Westerlund
7d75a2a5f5 include libutil.h if it exists
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-21 23:09:03 +00:00
Assar Westerlund
c2bc6aeecf (main): implement --version and --help
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10410 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-31 02:44:42 +00:00
Assar Westerlund
19aff2e7fb references and see also fixups from Ruslan Ermilov <ru@FreeBSD.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-12 08:42:28 +00:00
Assar Westerlund
60263ed4cd (doit): make failing to bind a socket a non-fatal error, and abort if
no sockets were bound


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 16:27:09 +00:00
Johan Danielsson
776835b929 fix for broken mdoc.old grog test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-08 21:35:32 +00:00
Assar Westerlund
4aaf97e1b0 adapt to new address functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-14 06:19:16 +00:00
Assar Westerlund
ebc693bff9 (nop_prompter): update prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-12 15:17:10 +00:00
Assar Westerlund
25ad02d691 mdoc fixes from ru@freebsd.org
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-02 08:59:23 +00:00
Assar Westerlund
138e781b89 update to new krb5_mk_error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-26 03:10:33 +00:00
Assar Westerlund
67422a6b02 s/[gs]et_progname/[gs]etprogname/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-20 01:44:56 +00:00
Assar Westerlund
2aefcf796c try to use handle using openssl instead of libdes better. based on patches from GOMBAS Gabor <gombasg@inf.elte.hu> and Brian May <bam@snoopy.apana.org.au>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:20:54 +00:00
Assar Westerlund
ba7854d948 update
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-11 21:36:43 +00:00
Assar Westerlund
3fe84f5476 add --port option
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-11 21:33:53 +00:00
Assar Westerlund
633782864b (main): handle krb5_init_context failure consistently
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 08:05:03 +00:00
Assar Westerlund
e31d9ba4c2 (generate_requests): handle krb5_init_context failure consistently
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 07:49:27 +00:00
Johan Danielsson
835f8fc8e0 de-pointerise auth_context parameter to krb5_mk_rep
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-06 21:03:34 +00:00
Assar Westerlund
baebf953a8 use LIB_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:51:14 +00:00
Assar Westerlund
eeea826567 (add_new_tcp): check for the socket fd being too large to select on
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-08 21:38:27 +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
Johan Danielsson
418e11ca5e link with pidfile library
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-04 11:24:51 +00:00
Johan Danielsson
f16a83d105 util.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-04 11:23:40 +00:00
Johan Danielsson
bfb5ec5f4e write a pid file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-04 11:23:03 +00:00
Assar Westerlund
abe927a06c use kadm5_s_chpass_principal_cond instead of mis-doing it here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-22 05:57:07 +00:00
Assar Westerlund
61d9788d74 remove sequence numbers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-22 01:07:37 +00:00