Johan Danielsson
cfcc91e48a
(krb5_free_context): don't try to free the ccache prefix
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10917 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 09:39:01 +00:00
Johan Danielsson
e1493a6229
(krb5_cc_register): don't make a copy of the prefix
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 09:38:26 +00:00
Johan Danielsson
2b8627acac
constify some struct members
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 09:35:47 +00:00
Johan Danielsson
6c5b4ca76c
constify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10914 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 09:19:44 +00:00
Johan Danielsson
6c6043ec44
(krb5_get_init_creds_password): const qualify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 09:14:51 +00:00
Johan Danielsson
2c8ad9127f
(krb5_init_etype): constify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 09:11:39 +00:00
Johan Danielsson
f9059789e8
constify some
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 09:03:27 +00:00
Johan Danielsson
74dd1b1c88
constify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 08:58:40 +00:00
Johan Danielsson
d16510155d
(krb5_aname_to_localname): constify local variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 08:56:40 +00:00
Johan Danielsson
2230d20dc3
(ipv4_sockaddr2port): constify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 08:55:40 +00:00
Johan Danielsson
db0107fb4b
add some log checking
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-17 14:51:31 +00:00
Johan Danielsson
23b57ae3cc
(krb5_addlog_dest): reorganise syslog parsing
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-17 14:42:20 +00:00
Johan Danielsson
a0428d8b6c
(krb5_crypto_init): check that the key size matches the expected length
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-16 15:58:13 +00:00
Johan Danielsson
223a6a75f2
rename send parameter to send_data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-27 09:32:50 +00:00
Johan Danielsson
35acfcea24
rename ctime parameter to client_time
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-27 09:29:43 +00:00
Assar Westerlund
3eb4db9dde
(libkrb5_la_LDFLAGS): bump version to 18:3:1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-10 23:46:22 +00:00
Assar Westerlund
d3de2e1062
handle addresses with port numbers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-10 23:15:24 +00:00
Assar Westerlund
96dfbfc6f0
store the kvno % 256 as the byte and the complete 32 bit kvno after
...
the end of the current keytab entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-10 23:14:36 +00:00
Assar Westerlund
1c8fadc0af
handle LR_PW_EXPTIME and LR_ACCT_EXPTIME in the same way
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10870 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-10 23:13:10 +00:00
Assar Westerlund
044ce97ca0
(krb5_get_forwarded_creds): handle ports giving for the remote address
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10869 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-10 23:12:23 +00:00
Assar Westerlund
7985d3edff
get a ticket with no addresses if no-addresses is set
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-10 23:11:29 +00:00
Assar Westerlund
ccfd657692
rename functions DES_* to krb5_* to avoid colliding with modern
...
openssl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10867 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-10 23:10:12 +00:00
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