Commit Graph

181 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
03f9a30177 use new DES_ api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12754 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:37:27 +00:00
Johan Danielsson
549c2f9d5f also try to use the session key (if this is really correct is beyond
me, RFC2942 in unclear on this point)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-20 14:37:46 +00:00
Johan Danielsson
d0f02062c7 (kerberos5_is): check that the subkey is non-NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11469 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-20 14:12:57 +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
ccf0fabb51 set AP_OPTS_USE_SUBKEY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 15:33:20 +00:00
Johan Danielsson
8ffc68bb79 kerberos5_set_forward{,able} protos
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:56:14 +00:00
Johan Danielsson
e8c18ff436 add kerberos5_set_forward{,able} functions suitable for the command parser
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:55:53 +00:00
Johan Danielsson
31ad1085bf use sysconfdir
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-12 15:09:20 +00:00
Johan Danielsson
e262f873e5 commit some forgotten changes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-01-18 12:58:49 +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
Assar Westerlund
67813438a7 kill some warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-29 00:45:23 +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
aef6978edf add a missed openssl fix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 22:15:26 +00:00
Johan Danielsson
67881e6e40 silly casts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 19:52:22 +00:00
Assar Westerlund
2fb88a72e0 update to new krb5_auth_con* names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 04:08:37 +00:00
Assar Westerlund
55730b4e18 learn to live with libcrypto (from openssl)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-24 05:47:39 +00:00
Assar Westerlund
347ad39acd correct conditional
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 06:46:28 +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
382865ebe8 (kerberos5_is): use krb5_rd_cred2 instead of krb5_rd_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-09 18:45:33 +00:00
Assar Westerlund
4cf4233607 (kerberos5_init): check krb5_init_context for success
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 07:39:41 +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
Johan Danielsson
dc92e4f3b1 print the principal we're trying to use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-23 02:31:55 +00:00
Assar Westerlund
4dbe9a4bc8 (telnet_getenv): const-ize some
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:00:21 +00:00
Johan Danielsson
388c5cda99 ignore Makefile.in
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-08 17:26:36 +00:00
Johan Danielsson
c787b9080d switch to automake
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-05 17:16:41 +00:00
Assar Westerlund
9bc8c2288e put-back bonus change that sneaked in
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-18 04:49:33 +00:00
Assar Westerlund
3e00ddf50d use esetenv
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-02 05:06:04 +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
e3d3bbceb5 DCE stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-02 05:33:48 +00:00
Assar Westerlund
5a38a1f0a1 (kerberos5_init): check that we do have a keytab before saying that we
will support KERBEROS5


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-03 14:11:17 +00:00
Björn Groenvall
cf93f02cc3 Target install depends on target all.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-18 13:12:56 +00:00
Assar Westerlund
a3e502e75b (kerberos4_is): send a reject back to the client when we're not
authorized


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 03:14:19 +00:00
Assar Westerlund
a7003ca562 (kerberos5_forward): spelling fix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-01 00:32:05 +00:00
Assar Westerlund
6545f69e99 (auth_encrypt_user): const-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-25 23:24:58 +00:00
Assar Westerlund
3ef5c9ed95 (RemoteHostName, LocalHostName): const-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-18 03:12:10 +00:00
Assar Westerlund
e37c27ed94 (auth_encrypt_init, RemoteHostName, LocalHostName): const-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-18 03:11:40 +00:00
Assar Westerlund
d4427bde90 (auth_encrypt_init, auth_encrypt_user): const-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-18 03:11:07 +00:00
Assar Westerlund
d7b1813e1e (encrypt_init, Name): const-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-18 03:10:35 +00:00
Assar Westerlund
9eaa4d1478 (encrypt_init): const-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-18 03:09:56 +00:00
Assar Westerlund
d5375044d0 (auth_init, Name): const-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-18 03:09:34 +00:00
Assar Westerlund
8426714ea3 (auth_init): const-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-18 03:08:55 +00:00
Assar Westerlund
bf75fac82a large strc{py,at}_truncate -> strlc{py,at} replacement
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6984 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 20:41:57 +00:00
Assar Westerlund
622cbc87ad (kerberos5_send): set the addresses in the auth_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6370 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-24 17:09:10 +00:00
Assar Westerlund
2e3cbdaadb (kerberos5_send): use `krb5_auth_setkeytype' instead of
`krb5_auth_setenctype' to make sure we get a DES session key.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6046 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 17:36:57 +00:00
Assar Westerlund
cf19609c3c unifdef FORWARD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5920 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-10 23:46:06 +00:00
Johan Danielsson
0f23e17f6f fix broken checkin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5652 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-20 13:58:20 +00:00
Assar Westerlund
f42ca9c63a correct path to Makefile.am.common
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5638 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-19 23:16:50 +00:00
Johan Danielsson
e927fa05a5 include Makefile.am.common
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5580 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-18 10:24:53 +00:00
Assar Westerlund
b53d8f88b9 (kerberos4_is): syslog root logins
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5531 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-13 21:18:55 +00:00