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
ea7df6b1e6
krb5_get_init_creds_opt_set_pkinit
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 16:17:04 +00:00
Love Hörnquist Åstrand
2446dccfda
pass a NULL prompter data to _krb5_pk_load_openssl_id
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 16:15:45 +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
d98ab9e1bb
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:17:08 +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
d873b4cd97
sys/ptyvar.h might need <sys/tty.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15027 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:18:19 +00:00
Love Hörnquist Åstrand
79f3df1d57
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:11:59 +00:00
Love Hörnquist Åstrand
eeddeda3e7
(connect_host): make sure s is initialized
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:11:47 +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
a465ac0f84
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 13:50:56 +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
57e84f3fe1
include checking if snprintf(NULL, 0, "") works
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15017 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 13:36:47 +00:00
Love Hörnquist Åstrand
ec72dc2b66
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15016 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 13:14:06 +00:00
Love Hörnquist Åstrand
2a7bf8082a
require compile_et to generate a initialize_FOO_error_table_r (they
...
are used in libkrb5), and always check for initialize_error_table_r
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15015 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 13:13:53 +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
4e843acb0d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15013 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 18:40:17 +00:00
Love Hörnquist Åstrand
3766989077
add LIB_com_err
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15012 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 18:39:19 +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
630a504232
Check for correct vis.h.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 10:56:39 +00:00
Johan Danielsson
9759809596
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-28 16:36:56 +00:00
Johan Danielsson
60fe67f93b
(putf): %t: the regular and streamspty case are functionally
...
equivalent, so merge them, this also makes it work better on machines
that puts their devices in a subdirectory to /dev
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-28 16:36:32 +00:00
Love Hörnquist Åstrand
89f2b2b2cd
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15002 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-28 15:38:39 +00:00
Love Hörnquist Åstrand
a5ad47418e
Maybe include sys/resource.h. Use various RLIMIT_ macros conditionally.
...
For Solaris, Irix and Tru64.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-28 15:29:06 +00:00
Love Hörnquist Åstrand
237b26df5d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-28 11:12:14 +00:00
Love Hörnquist Åstrand
c5e8723495
Set PTHREADS_LIBS on Irix.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14999 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-28 11:11:50 +00:00
Love Hörnquist Åstrand
69b38e01a0
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14998 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-28 09:04: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
222ad8ddba
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14996 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 19:21:28 +00:00
Love Hörnquist Åstrand
86d1dc0dc6
use BINDIR instead of "/usr/bin/ with _PATH_RSH
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14995 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 19:20:22 +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