Commit Graph

14437 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
d0993b3ed9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15074 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 16:52:42 +00:00
Love Hörnquist Åstrand
f5eaee70f2 Include snprintf-test.h earlier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15073 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 16:49:34 +00:00
Love Hörnquist Åstrand
ed977855b1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15072 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 16:41:57 +00:00
Love Hörnquist Åstrand
ecc93009c2 more text about usage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 16:41:06 +00:00
Love Hörnquist Åstrand
bb19891c98 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15070 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 13:31:53 +00:00
Love Hörnquist Åstrand
85fcff758d man_MANS += kcm.8
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 13:31:37 +00:00
Love Hörnquist Åstrand
6304199ec7 initial manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 13:30:24 +00:00
Love Hörnquist Åstrand
0837b4d3ab x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 11:51:42 +00:00
Love Hörnquist Åstrand
0248b1a35c if we have a $srcdir/lib/asn1/pkcs12.asn1, define PKINIT
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 11:51:27 +00:00
Love Hörnquist Åstrand
9647548805 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 11:12:04 +00:00
Love Hörnquist Åstrand
fec66b3327 (init): Don't disable forwardable for kadmin/changepw.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 11:11:54 +00:00
Love Hörnquist Åstrand
22c95cf623 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 10:55:56 +00:00
Love Hörnquist Åstrand
0c65c71652 sys/tty.h (for sys/ptyvar.h) might need termios.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15062 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 10:55:36 +00:00
Love Hörnquist Åstrand
e4e152ebe7 Add member fd to map.
(rk_test_mem_alloc, rk_test_mem_free): Use it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 10:53:10 +00:00
Love Hörnquist Åstrand
778706d0a0 add com_err to required libs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15060 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 21:04:11 +00:00
Love Hörnquist Åstrand
1b4b266006 (krb5_ui_method_read_string): use the fill in length
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 21:01:33 +00:00
Love Hörnquist Åstrand
15444eb481 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 19:11:11 +00:00
Love Hörnquist Åstrand
19d34445e7 (help): Don't use non-constant initializer for `fake'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 19:10:19 +00:00
Love Hörnquist Åstrand
383b0aed3a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15056 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 14:53:17 +00:00
Love Hörnquist Åstrand
9f219c721d Now that we fixed the signed-ness of nonce for windows, remove the
code that removed the signed bit. Instead add comment that they still
need to be the same (Kerberos protocol nonce and pk-init nonce) for Windows.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 14:52:57 +00:00
Love Hörnquist Åstrand
3f77a73b62 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15054 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 14:12:12 +00:00
Love Hörnquist Åstrand
9b38bf74d1 Don't declare des_salt &c as static with incomplete type (invalid in
c89, at least).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15053 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 14:11:59 +00:00
Love Hörnquist Åstrand
6985bebfc1 include <crypt.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15052 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 14:08:35 +00:00
Love Hörnquist Åstrand
01941d7194 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15051 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 14:05:05 +00:00
Love Hörnquist Åstrand
f6a4a143c1 (init_socket): rename variable sun to un to avoid namespace collision.
(handle_stream): Cast arg of krb5_warnx.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15050 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 14:04:39 +00:00
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
5c186736dd Check RLIMIT_MEMLOCK, not RLIMIT_LOCK.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15048 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 13:52:28 +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
77cc48a5f0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 16:24:30 +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
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