Commit Graph

15321 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
84b70dac40 Avoid signedness warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:40:30 +00:00
Love Hörnquist Åstrand
272cc63375 Makes bytes native platform signed to avoid casting everywhere
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:37:27 +00:00
Love Hörnquist Åstrand
b9a6e93c62 Don't depend on malloc(very-very-larger-value) will fail.
Cast to unsigned long before printing size_t.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:36:17 +00:00
Love Hörnquist Åstrand
a1d193721c Don't depend on malloc(very-very-larger-value) will fail.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16056 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:35:32 +00:00
Love Hörnquist Åstrand
3b70a5f5e3 Fix signedness warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:24:23 +00:00
Love Hörnquist Åstrand
9eebea050b unput() have to hanppen in actions for flex 2.5.31, can do them in
user code sesction, so move up handle_comment and handle_string into
action, not much sharing was done anyway.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16054 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 18:17:16 +00:00
Love Hörnquist Åstrand
fc894dcecf Removed wrong variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16053 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-09 12:04:38 +00:00
Love Hörnquist Åstrand
326478ac32 (check_directory): use passed directory name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16048 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-09 10:33:33 +00:00
Love Hörnquist Åstrand
dea6f6cdf8 (test_one_int): len and len_len is size_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-09 04:57:08 +00:00
Love Hörnquist Åstrand
2c714acde1 Constify password.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:38:01 +00:00
Love Hörnquist Åstrand
c032b2bfd5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:31:36 +00:00
Love Hörnquist Åstrand
ee050659b1 Constify password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:30:53 +00:00
Love Hörnquist Åstrand
6d0ecf1803 Add KRB5_TL_PKINIT_ACL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:28:45 +00:00
Love Hörnquist Åstrand
a39e594514 (_kadm5_unmarshal_params): avoid signed-ness warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:27:34 +00:00
Love Hörnquist Åstrand
723085bc25 (kadm5_s_get_principal): clear error string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:24:45 +00:00
Love Hörnquist Åstrand
819d3ee297 (create_random_entry): create principal with random password even
though its disabled. From Andrew Bartlet <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:06:09 +00:00
Love Hörnquist Åstrand
d4910426eb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-05 10:31:31 +00:00
Love Hörnquist Åstrand
3e5fc8944f Document krb5_rd_req.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-05 07:56:09 +00:00
Love Hörnquist Åstrand
6678d249d9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-05 05:45:57 +00:00
Love Hörnquist Åstrand
06a654ed20 MAN_mans+= krb5_mk_req.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-05 05:45:33 +00:00
Love Hörnquist Åstrand
c8d177a7b0 Document krb5_mk_req, krb5_mk_req_exact, krb5_mk_req_extended,
krb5_rd_req, krb5_rd_req_with_keyblock, krb5_mk_rep,
krb5_mk_rep_exact, krb5_mk_rep_extended, krb5_rd_rep,
krb5_build_ap_req, krb5_verify_ap_req.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-05 05:44:08 +00:00
Love Hörnquist Åstrand
f1778e69af Implement prompter.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:25:59 +00:00
Love Hörnquist Åstrand
758311a77f add --content to print
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:25:26 +00:00
Love Hörnquist Åstrand
9974253444 Split verify and print.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:24:55 +00:00
Love Hörnquist Åstrand
50f29f80b1 _hx509_pbe_decrypt now takes a hx509_lock.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:16:46 +00:00
Love Hörnquist Åstrand
1479736a8f Make _hx509_pbe_decrypt take a hx509_lock, workaround for empty password.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16027 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:15:49 +00:00
Love Hörnquist Åstrand
dbb9803d46 Add DC, handle all Directory strings, fix signless problems.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:11:35 +00:00
Love Hörnquist Åstrand
60f96cc909 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:07:41 +00:00
Love Hörnquist Åstrand
99720c49c7 Pass in --pass to all commands.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16024 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:06:42 +00:00
Love Hörnquist Åstrand
bd113d976f Use option --pass.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16023 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:05:22 +00:00
Love Hörnquist Åstrand
7a4c53a008 Add --pass to all commands.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:04:44 +00:00
Love Hörnquist Åstrand
f3a5546ac9 Pass in password, add more tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:04:21 +00:00
Love Hörnquist Åstrand
0ee0cae9ed Add hx509_lock_command_string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 20:49:59 +00:00
Love Hörnquist Åstrand
dc33020444 add UNKNOWN_LOCK_COMMAND and CRYPTO_NO_PROMPTER
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 20:49:32 +00:00
Love Hörnquist Åstrand
badd92116b pass in password to cms-create-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 20:47:52 +00:00
Love Hörnquist Åstrand
eec128ce73 Abstract out PBE_string2key so I can add PBE2 s2k later.
Avoid signess warnings with OpenSSL.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16017 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:59:11 +00:00
Love Hörnquist Åstrand
6f3bfd6a20 Use void * instead of char * for to avoid signedness issues
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16016 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:57:38 +00:00
Love Hörnquist Åstrand
e61738ea81 (hx509_cert_get_attribute): remove const, its not
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16015 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:56:14 +00:00
Love Hörnquist Åstrand
e40eecfbf1 Cast size_t to unsigned long when print.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:54:26 +00:00
Love Hörnquist Åstrand
9a3ddecf98 Fix signedness warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16013 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:51:29 +00:00
Love Hörnquist Åstrand
ffeb35878f Use echo, the function check isn't defined here.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16012 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:50:59 +00:00
Love Hörnquist Åstrand
fd3032ca2f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16011 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-02 10:21:45 +00:00
Love Hörnquist Åstrand
e99499514c Resolver check moved to rk_RESOLV, from Andrew Bartlet <abartlet@samba.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16010 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-02 10:20:58 +00:00
Love Hörnquist Åstrand
0cfc4cdfe4 Resolver checks, broken out so samba can use it
From Andrew Bartlet <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16009 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-02 10:17:38 +00:00
Love Hörnquist Åstrand
cef6ecd3b3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16008 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-01 19:24:17 +00:00
Love Hörnquist Åstrand
85efde1d67 Use socket_set_reuseaddr and socket_set_ipv6only.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-01 18:49:57 +00:00
Love Hörnquist Åstrand
c3d1e6f734 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-01 18:48:49 +00:00
Love Hörnquist Åstrand
2016626451 Add socket_set_ipv6only.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-01 18:48:17 +00:00
Love Hörnquist Åstrand
654d9acc05 Add socket_set_ipv6only, remove some argument names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-01 18:47:35 +00:00
Love Hörnquist Åstrand
f811cff540 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-01 11:18:11 +00:00