Love Hörnquist Åstrand
7ad526adf0
krb5.h isn't in krb5 directory in heimdal
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-15 13:24:47 +00:00
Love Hörnquist Åstrand
ff9789f7af
add missing name of argument (krb5_context) to most functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-14 00:41:24 +00:00
Love Hörnquist Åstrand
175d6d3dbf
(krb5_kuserok): preserve old behviour of function and return FALSE
...
when there isn't a local account for `luser'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-13 19:53:43 +00:00
Love Hörnquist Åstrand
42111080d7
fix prototype, spelling and more text describing the function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-13 19:52:18 +00:00
Love Hörnquist Åstrand
30056ee50a
(krb5_cc_default): if krb5_cc_default_name returned memory, don't return ENOMEM
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11705 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-13 01:35:45 +00:00
Love Hörnquist Åstrand
4480801223
add krb5_address stuff and sort
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-12 00:00:20 +00:00
Love Hörnquist Åstrand
44410b4341
fix krb5_addr2sockaddr description
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-11 23:56:00 +00:00
Love Hörnquist Åstrand
2ddbd350f1
(man_MANS): += krb5_address.3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-11 20:24:45 +00:00
Love Hörnquist Åstrand
3db03bddf2
document types krb5_address and krb5_addresses and their helper functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-11 20:22:49 +00:00
Love Hörnquist Åstrand
0d7b0303a9
(man_MANS): += krb5_kuserok.3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11696 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 15:18:22 +00:00
Love Hörnquist Åstrand
d22a23e0cb
spelling, from cizzi@it.su.se
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 15:17:39 +00:00
Love Hörnquist Åstrand
58618d8424
(man_MANS): += krb5_ccache.3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 15:04:13 +00:00
Love Hörnquist Åstrand
ed2d4e5ac2
spelling, from cizzi@it.su.se
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 15:03:12 +00:00
Love Hörnquist Åstrand
f336b9b2e9
add more functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 03:11:49 +00:00
Love Hörnquist Åstrand
9658a8d8b1
document krb5_ccache and krb5_cc functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11690 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 03:10:00 +00:00
Love Hörnquist Åstrand
174736e552
document krb5_kuserok
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 03:05:46 +00:00
Love Hörnquist Åstrand
02663abf1a
document krb5_verify_opt_set_flags(opt, KRB5_VERIFY_LREALMS) behavior
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 03:04:52 +00:00
Love Hörnquist Åstrand
d628f55ea1
document krb5_verify_opt* and krb5_verify_user_opt
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11687 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 02:56:29 +00:00
Love Hörnquist Åstrand
bf932fdd72
add copyright/licenses on more manpages
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11685 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 02:19:34 +00:00
Love Hörnquist Åstrand
006b538595
(libkrb5_la_LDFLAGS): bump minor
...
(TESTS): add test_cc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 00:27:21 +00:00
Love Hörnquist Åstrand
9a2e5b06e1
test some krb5_cc_default_name/krb5_cc_set_default_name combinations
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 00:26:40 +00:00
Love Hörnquist Åstrand
3d2fd2dc7f
(init_context_from_config_file): set default_cc_name to NULL
...
(krb5_free_context): free default_cc_name if set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 00:24:13 +00:00
Love Hörnquist Åstrand
3bac5fb118
(krb5_cc_set_default_name): new function
...
(krb5_cc_default_name): use krb5_cc_set_default_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 00:23:11 +00:00
Love Hörnquist Åstrand
04b2ccc9ed
(krb5_context_data): add default_cc_name
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11678 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 00:21:50 +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
Jacques A. Vidrine
6710968492
[Dug this out of an email I sent November 2002.]
...
Currently, if the AS exchange uses PA-ENC-TIMESTAMP, a Heimdal client
will transmit the AS-REQ with one PA-ENC-TIMESTAMP for every supported
encryption type. This is bad because:
(1) An eavesdropper collecting this information for dictionary
attacks will have his life made easier, since he can use
DES (rather than a stronger crypto system).
(2) Waste of CPU cycles on client.
(3) (Maybe) cryptanalysis is assisted by capturing ciphtertexts
that are known to be the same plaintext encrypted with the
same key in several algorithms (though the confounder confounds
this).
The KDC provides the list of etypes supported in PA-ETYPE-INFO in the
KRB-ERROR reply ... let's use the first one, eh?
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11646 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-16 06:41:25 +00:00
Love Hörnquist Åstrand
8f66f2c8be
documentation for of boolean, etypes, address
...
write out encryption type in sentences
s/Host/host
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-30 20:23:31 +00:00
Love Hörnquist Åstrand
94ff0be352
(find_all_addresses): address-less point-to-point might not have an
...
address, just ignore those. Reported by Harald Barth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-25 15:19:49 +00:00
Love Hörnquist Åstrand
50c24d50f2
(check_section): when key isn't found, don't print out all known keys
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11612 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 19:53:19 +00:00
Love Hörnquist Åstrand
e0a89410d7
(syslogvals): mark up where severity and facility start resp
...
(check_log): find_value() returns -1 when key isn't found
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 19:49:32 +00:00
Love Hörnquist Åstrand
ea94038288
(_krb5_aes_cts_encrypt): make key argument a 'const void *' to avoid
...
AES_KEY being exposed in krb5-private.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 19:05:52 +00:00
Love Hörnquist Åstrand
bf7e9c641a
add [kdc]use_2b
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 14:54:48 +00:00
Love Hörnquist Åstrand
34e289f50a
spelling, from Jason McIntyre <jmc@cvs.openbsd.org>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-22 12:22:20 +00:00
Love Hörnquist Åstrand
5692615e30
spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-22 11:01:21 +00:00
Love Hörnquist Åstrand
1c9d1873ae
write more about [realms] REALM = { kdc = ... }
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 04:36:40 +00:00
Love Hörnquist Åstrand
5d66fae756
add aes-test.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 04:26:29 +00:00
Love Hörnquist Åstrand
7a2c854c80
Add support for AES (draft-raeburn-krb-rijndael-krb-02), not enabled
...
by default.
(HMAC_SHA1_DES3_checksum): rename to SP_HMAC_SHA1_checksum and modify
to support checksumtype that are have a shorter wireformat then their
output block size.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 04:24:05 +00:00
Love Hörnquist Åstrand
1f6debd562
(struct encryption_type): split the blocksize into blocksize and
...
padsize, padsize is the minimum padding size. they are the same for now
(enctype_*): add padsize
(encrypt_internal): use padsize
(encrypt_internal_derived): use padsize
(wrapped_length): use padsize
(wrapped_length_dervied): use padsize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 03:54:51 +00:00
Love Hörnquist Åstrand
e96bdba80d
add extra `opaque' argument to string_to_key function for each enctype
...
in preparation enctypes that uses `Encryption and Checksum
Specifications for Kerberos 5' draft
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 03:26:46 +00:00
Love Hörnquist Åstrand
0c14ee0c21
(krb5_keytype): add KEYTYPE_AES128, KEYTYPE_AES256
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 03:12:13 +00:00
Love Hörnquist Åstrand
eef39a201d
Split out Kerberos 4 help functions/structures so other parts of the
...
source tree can use it (like the KDC)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 05:22:35 +00:00
Johan Danielsson
4b2a8a83d2
free allocated storage; reported by Howard Chu
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-19 13:30:36 +00:00
Johan Danielsson
d0ec42bfdf
remove trailing comma in enum
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-11-15 14:16:42 +00:00
Johan Danielsson
27cc22110f
more strcspn
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-21 15:42:06 +00:00
Johan Danielsson
5ee773037f
(emem_store): limit how much we allocate (from Olaf Kirch)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-21 15:36:23 +00:00
Johan Danielsson
cf87a976ce
don't allow trailing backslashes in components
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-21 15:30:53 +00:00
Johan Danielsson
b411502ebe
properly close the open keytabs (from Larry Greenfield)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-21 13:36:59 +00:00
Johan Danielsson
77c4778b71
(process_reply): fix reply length check calculation (reported by
...
various people)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-29 11:48:34 +00:00
Johan Danielsson
242db364ce
(fkt_remove_entry): check return value from start_seq_get (from Wynn
...
Wilkes)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-24 16:43:30 +00:00
Johan Danielsson
89a75e551c
(krb5_set_config_files): return ENXIO instead of ENOENT when
...
"unconfigured"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-19 19:49:52 +00:00