Commit Graph

648 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
6b128e2835 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-18 23:31:10 +00:00
Love Hörnquist Åstrand
f7238b7deb (cpw_entry): make sure ret have a defined value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-18 23:30:32 +00:00
Love Hörnquist Åstrand
5fd1762c9d (del_entry): make sure ret have a defined value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16754 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-18 23:29:43 +00:00
Love Hörnquist Åstrand
7abec3efa7 Return error code so that toplevel function can catch them.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-18 23:29:01 +00:00
Love Hörnquist Åstrand
091fba8a25 return 1 on failure, update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:29:46 +00:00
Love Hörnquist Åstrand
464c8d8ca6 (cpw_entry): return 1 on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:20:49 +00:00
Love Hörnquist Åstrand
fc57663d3a (rename_entry): return 1 on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:20:06 +00:00
Love Hörnquist Åstrand
51e6fc9b74 (del_entry): return 1 on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:19:27 +00:00
Love Hörnquist Åstrand
d12920441b (add_new_key): return 1 on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:18:41 +00:00
Love Hörnquist Åstrand
a4ef0411e1 Add printing of pkinit-acls. Don't print password by default. Return 1
on failure processing any of the principals.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:16:00 +00:00
Love Hörnquist Åstrand
ff51c4fa4c (foreach_principal): If any of calls to `func' failes, the first error
is returned when all principals are processed.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:11:09 +00:00
Love Hörnquist Åstrand
0c2369acd0 Wrap hdb_entry with hdb_entry_ex, patch originally from Andrew Bartlet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:40:12 +00:00
Love Hörnquist Åstrand
c955b32547 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 09:27:31 +00:00
Love Hörnquist Åstrand
591052ef87 Add ank as an alias to add, it lost in transition to slc, from Måns Nilsson.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16323 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 09:26:02 +00:00
Love Hörnquist Åstrand
21933fb04e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:26:25 +00:00
Love Hörnquist Åstrand
1f22a9db31 Add extensions, fill in missing fields.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:25:43 +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
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
a28f99c821 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:48:44 +00:00
Love Hörnquist Åstrand
abf82fc886 Remove structure that is never used (sneaked in the large TL_DATA patch).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:48:30 +00:00
Love Hörnquist Åstrand
be4a48e5aa Rename password-quality to verify-password-quality.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:41:30 +00:00
Love Hörnquist Åstrand
a76cd62f8b Indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15907 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:33:57 +00:00
Love Hörnquist Åstrand
8acefbf5a0 Update (c).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 17:12:13 +00:00
Love Hörnquist Åstrand
1a6b0f9b73 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:55:34 +00:00
Love Hörnquist Åstrand
e478a72278 Avoid shadowing exp().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:53:24 +00:00
Love Hörnquist Åstrand
f2cd11a998 Parse extensions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:52:26 +00:00
Love Hörnquist Åstrand
ea0c11825c Include <hex.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:49:08 +00:00
Love Hörnquist Åstrand
0de0d9727e Extend struct field_name to have a subvalue and a extra_mask. Use
that to implement printing of KADM5_TL_DATA options and fix a
dependency bug (keys needed principal to print the salting).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:44:34 +00:00
Love Hörnquist Åstrand
1f9633d2ea x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 22:09:54 +00:00
Love Hörnquist Åstrand
5654000990 lower amount of shadow and const warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 22:06:50 +00:00
Love Hörnquist Åstrand
e2e455d771 revert previous, wrong file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-05 20:07:18 +00:00
Love Hörnquist Åstrand
ba7ef53fd1 document kadmin command password-quality instead of the not installed
test_pw_quality


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-05 20:00:41 +00:00
Love Hörnquist Åstrand
5c0e7fd523 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15354 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-07 00:44:44 +00:00
Love Hörnquist Åstrand
50cc59275b Clarify, spelling and add examples.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-07 00:43:31 +00:00
Love Hörnquist Åstrand
40b2813421 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-02 07:05:35 +00:00
Love Hörnquist Åstrand
3471204c15 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:48:26 +00:00
Love Hörnquist Åstrand
92c6949daf (kdb_attrs): add ok-as-delegate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:47:04 +00:00
Love Hörnquist Åstrand
5ce5bb68b5 (getit): init data.mask to 0.
Problem found by Andrew Abartlet <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:41:17 +00:00
Love Hörnquist Åstrand
fdfd23912b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-09 15:35:47 +00:00
Love Hörnquist Åstrand
2c5228c78d (main): catch -2 as EOF
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-09 15:35:22 +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
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
ed16400376 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 10:39:45 +00:00
Love Hörnquist Åstrand
3746090a7d (foreach_principal): initialize ret to make sure it have a value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 10:37:25 +00:00
Love Hörnquist Åstrand
5921574969 add verifier libraries with kadm5_add_passwd_quality_verifier
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:16:32 +00:00
Love Hörnquist Åstrand
2629865bf9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 18:02:04 +00:00
Love Hörnquist Åstrand
6f5805bd03 max-life and max-renew is of unsigned int in asn1 compiler, use that
for the parser too


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 18:01:35 +00:00