Love Hörnquist Åstrand
40fd46885a
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15049 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 13:52:39 +00:00
Love Hörnquist Åstrand
0a0c34c467
(afskauthlib.so): Use libtool.
...
(.c.o): Use CC (like SIA module), not COMPILE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 13:49:53 +00:00
Love Hörnquist Åstrand
a0e1575ec1
Include <krb5-types.h>.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 13:48:21 +00:00
Love Hörnquist Åstrand
c5d92319f3
(main): Call setprogname.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 13:46:39 +00:00
Love Hörnquist Åstrand
a8f9738a23
if we are using PKINIT, strip of the highest bit to make windows
...
PK-INIT happy. Also make the nonces the same, again for windows, they
are using pk-init-9.
XXX check if it isn't the that nonce is an unsigned variable so its
just a asn1 mismatch.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 16:24:00 +00:00
Love Hörnquist Åstrand
a4f747ea8e
Pass prompter data to the prompter function, implement a UI prompter
...
function wrapping the kerberos prompter function so that the the
OpenSSL ENGINE can ask for a password when loading the private key.
From: Douglas E. Engert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 16:12:18 +00:00
Love Hörnquist Åstrand
48870fb07a
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:47:35 +00:00
Love Hörnquist Åstrand
b69b02125d
add break on default: statements, from Douglas E. Engert
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:45:47 +00:00
Love Hörnquist Åstrand
378bec0672
#include <err.h>, only print salt it its longer then 0, use krb5_err
...
instead of errx where appropriate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:38:49 +00:00
Love Hörnquist Åstrand
ab541001cc
#include <err.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:19:58 +00:00
Love Hörnquist Åstrand
ce927eeff5
include <err.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:18:27 +00:00
Love Hörnquist Åstrand
74e7222461
add <err.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:15:38 +00:00
Love Hörnquist Åstrand
122f628e3b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:11:07 +00:00
Love Hörnquist Åstrand
b4e448428a
(vsnprintf): don't write the NUL into the string if the length was 0
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:07:05 +00:00
Love Hörnquist Åstrand
f651d08834
add check that snprintf doesn't write the NUL into the last byte when
...
its a zero length input string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:03:57 +00:00
Love Hörnquist Åstrand
45032b3505
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:48:42 +00:00
Love Hörnquist Åstrand
b904f38205
Include <err.h>.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:48:29 +00:00
Love Hörnquist Åstrand
182ae6f388
Include <des.h>.
...
(UI_UTIL_read_pw_string): make the prompt argument const.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15024 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:10:18 +00:00
Love Hörnquist Åstrand
76eb075fc5
(UI_UTIL_read_pw_string): make the prompt argument const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15023 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:09:50 +00:00
Love Hörnquist Åstrand
71a8c91eae
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 13:57:41 +00:00
Love Hörnquist Åstrand
a4f2e9fda6
(UI_UTIL_read_pw_string): remove unused variable plen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 13:56:58 +00:00
Love Hörnquist Åstrand
ee21d416f1
replace <strings.h> with <string.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 13:55:36 +00:00
Love Hörnquist Åstrand
51a75cda5e
use LIB_com_err for libkrb5.la
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 13:50:41 +00:00
Love Hörnquist Åstrand
f3877257e6
use $(LIB_com_err)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 18:42:52 +00:00
Love Hörnquist Åstrand
505088a186
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15011 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 11:34:25 +00:00
Love Hörnquist Åstrand
a469c7d736
(LDADD): Add libcom_err.la
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15010 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 11:34:10 +00:00
Love Hörnquist Åstrand
260f0695b5
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15009 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 11:33:18 +00:00
Love Hörnquist Åstrand
f3cdf04445
(LDADD): Add libsl.la.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15008 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 11:32:42 +00:00
Love Hörnquist Åstrand
b7ac5caa3e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 10:59:42 +00:00
Love Hörnquist Åstrand
f33075bfb4
Add LIB_roken.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 10:59:24 +00:00
Love Hörnquist Åstrand
5081487496
(krb5_set_config_files): ignore permission denied on configuration
...
files, user might no be allowed to read /var/heimdal/kdc.conf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-28 09:04:10 +00:00
Love Hörnquist Åstrand
a86ee1251a
check that string is properly terminated
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14994 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:59:53 +00:00
Love Hörnquist Åstrand
c9ac32d74a
test the NULL string, fix printfs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:36:02 +00:00
Love Hörnquist Åstrand
9affb89884
add some more tests
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:32:00 +00:00
Love Hörnquist Åstrand
ea05edd7e6
check the 0 length string too
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:26:21 +00:00
Love Hörnquist Åstrand
6fa21042ca
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 17:55:33 +00:00
Love Hörnquist Åstrand
d0443e2058
prefix all sequence symbols with _, they are not part of the GSS-API api. By comment from Wynn Wilkes <wynnw@vintela.com>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 17:51:27 +00:00
Love Hörnquist Åstrand
71dc254fd8
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:18:18 +00:00
Love Hörnquist Åstrand
eb9bd70683
add rk_realloc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:17:53 +00:00
Love Hörnquist Åstrand
5b5dc2420a
fix (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:08:19 +00:00
Love Hörnquist Åstrand
9ed1c245f6
add realloc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:07:38 +00:00
Love Hörnquist Åstrand
e5426143a2
add rk_realloc, unbroken version of realloc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:06:36 +00:00
Love Hörnquist Åstrand
8f37ffa42f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 11:59:32 +00:00
Love Hörnquist Åstrand
11356e88b7
Include hash.h first.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 11:55:05 +00:00
Love Hörnquist Åstrand
a233d17d46
also include <stddef.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 11:53:48 +00:00
Love Hörnquist Åstrand
20d6b1d4d6
Include krb5-types.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 11:50:32 +00:00
Love Hörnquist Åstrand
1f6a02ddd4
define _POSIX_PTHREAD_SEMANTICS so we get posix getpwnam_r
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:24:02 +00:00
Love Hörnquist Åstrand
74cf698513
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:09:11 +00:00
Love Hörnquist Åstrand
7e35d1bdbc
Maybe include stdlib.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:08:53 +00:00
Love Hörnquist Åstrand
1faae673ee
Include roken.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:05:00 +00:00