Assar Westerlund
f0c910460c
make all functions taking 'struct sockaddr' actually take a socklen_t
...
instead of int and that acts as an in-out parameter (indicating the
maximum length of the sockaddr to be written)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-10 23:09:37 +00:00
Johan Danielsson
c3503cff5b
change confusing wording
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-21 12:56:27 +00:00
Johan Danielsson
f5fea2deb2
(akf_add_entry): don't create the file before we need to write to it
...
(from Åke Sandgren)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-15 14:32:52 +00:00
Johan Danielsson
cbcb1ea7aa
make FILES section more standard
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-15 12:58:19 +00:00
Johan Danielsson
4066dfe6c4
actually use the correct key (from Daniel Kouril)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-14 12:47:47 +00:00
Johan Danielsson
4b8ecd28c5
(krb5_get_err_text): protect against NULL context
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-12 08:24:08 +00:00
Johan Danielsson
24c682162f
implement add and remove
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-11 14:05:37 +00:00
Johan Danielsson
7786b864da
(emem_free): clear memory before freeing (this should perhaps be
...
selectable with a flag)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-11 13:03:25 +00:00
Johan Danielsson
e59f3e6a3f
(krb5_closelog): don't pass pointer to pointer (from Gombas Gabor)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-04 10:48:33 +00:00
Johan Danielsson
7f16501934
default default_keytab_modify to NULL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-01-30 10:10:24 +00:00
Johan Danielsson
df804eebad
(krb5_kt_default_modify_name): if no modify name is specified take it
...
from the first component of the default keytab name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-01-30 10:09:35 +00:00
Johan Danielsson
5c510f2238
compare keytab types case insensitively
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-01-29 08:36:22 +00:00
Assar Westerlund
4f21111c96
(create_checksum): make usage `unsigned' (it's not really a
...
krb5_key_usage). From Ben Harris <bjh21@netbsd.org >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-01-06 23:12:51 +00:00
Assar Westerlund
9f1c66fe5f
use krb5_enctype consistently. From Ben Harris <bjh21@netbsd.org>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-01-06 23:10:06 +00:00
Johan Danielsson
d71eccdf57
use our own des string-to-key function, since the one from openssl
...
sometimes generates wrong output
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-12-20 22:28:45 +00:00
Assar Westerlund
b77a21cb55
add krb5.3 from netbsd
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-20 22:19:10 +00:00
Assar Westerlund
55e13f67f4
add man-page for krb5_free_addresses
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-20 20:50:52 +00:00
Assar Westerlund
02aa612ff6
remove bad empty line.
...
From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-20 20:40:58 +00:00
Johan Danielsson
95f25d1c1b
sort references (from Thomas Klausner)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-09 09:38:29 +00:00
Johan Danielsson
971c749b15
add section to reference (from Thomas Klausner)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-09 09:36:51 +00:00
Johan Danielsson
124262d993
white space fixes (from Thomas Klausner)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-09 09:35:45 +00:00
Johan Danielsson
22ec4ec0f4
remove extra white space (from Thomas Klausner)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-09 09:34:46 +00:00
Assar Westerlund
6ec3f169e0
remove old comment
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-22 12:45:43 +00:00
Assar Westerlund
2d5ce19c5f
make all high-level encrypting and decrypting functions check the
...
return value of the underlying function and handle errors more
consistently. noted by Sam Hartman <hartmans@mit.edu >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-22 01:20:34 +00:00
Assar Westerlund
d9aedd0fd1
(enctype_arcfour_hmac_md5): actually use a non-keyed checksum when it
...
should be non-keyed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-20 22:02:30 +00:00
Assar Westerlund
386d4050fb
(KRB5_KPASSWD_*): set correct values
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-27 01:31:53 +00:00
Assar Westerlund
41e3066975
(krb5_passwd_result_to_string): add
...
change to use sequence numbers
connect the udp socket so that we can figure out the local address
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-27 01:29:12 +00:00
Johan Danielsson
711a1c5f24
(krb5_425_conv_principal_ext): try using lower case realm as domain,
...
but only when given a verification function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-20 09:46:20 +00:00
Johan Danielsson
1a78a777da
(krb5_set_default_realm): make realm parameter const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-18 09:43:31 +00:00
Johan Danielsson
411a281c4a
(krb5_get_init_creds_keytab): free key proc data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10720 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-18 09:36:39 +00:00
Johan Danielsson
b9874f0d1b
(krb5_expand_hostname_realms): free addrinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-18 09:35:47 +00:00
Assar Westerlund
03d4aabba3
(krb5_appdefault_{boolean,string,time): make realm const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-16 04:48:55 +00:00
Assar Westerlund
5c99ba3d29
use des functions to avoid generating warnings with openssl's
...
prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-16 04:48:05 +00:00
Assar Westerlund
7bd664a765
(INCLUDES): search for files in com_err's source directory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-08 03:48:39 +00:00
Assar Westerlund
cc4735d386
(INCLUDES:) make sure of finding com_err include files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10668 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-06 12:19:16 +00:00
Jacques A. Vidrine
9bcf79a769
We can't share the krb5_data structure with multiple prompts. This
...
fixes password expiration in krb5_init_creds_password.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-05 17:40:03 +00:00
Assar Westerlund
32e654f748
(krb5_print_address): handle snprintf returning < 0
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10650 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-03 19:53:51 +00:00
Assar Westerlund
f879fea593
(krb5_print_address): fix typo found by hin@stacken.kth.se
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10649 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-03 19:45:53 +00:00
Assar Westerlund
2bd2af429a
include err.h (for errx)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-03 05:42:35 +00:00
Johan Danielsson
a9c22f3a66
also check libdefaults, and realms/realm
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-31 09:25:26 +00:00
Johan Danielsson
1702411f48
(krb5_free_context): free more stuff
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-31 08:00:15 +00:00
Johan Danielsson
fd07afcd82
do some checks of the values in the file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-30 18:57:39 +00:00
Johan Danielsson
b3b7b140cc
remove srv_try_txt, fix spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-30 18:54:01 +00:00
Johan Danielsson
5c2eadbae5
don't init srv_try_txt, since it isn't used anymore
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-30 18:22:41 +00:00
Assar Westerlund
e4b2010933
(libkrb5_la_LDFLAGS): set versoin to 18:2:1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-27 22:52:42 +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
Johan Danielsson
4a118deffb
(krb5_sockaddr_uninteresting): don't try to call uninteresting
...
function if not defined by address family
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-13 13:23:53 +00:00
Assar Westerlund
ef3da63604
(man_MANS): add some missing man pages
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-04 03:09:43 +00:00
Assar Westerlund
2169674fc9
(libkrb5_la_LDFLAGS): update version to 18:1:1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10402 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-31 00:25:58 +00:00
Assar Westerlund
6403986161
(init_context_from_config_file): check parsing of addresses
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-27 12:29:32 +00:00