Commit Graph

656 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
d1e8efa6f7 update .Dd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 06:51:29 +00:00
Love Hörnquist Åstrand
8123d558fe Spelling, from Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17377 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 06:51:17 +00:00
Love Hörnquist Åstrand
1ffa6c23e3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17052 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 12:23:29 +00:00
Love Hörnquist Åstrand
495cb953e6 Catch empty file case. From Tobias Stoeckmann.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17051 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 12:22:52 +00:00
Love Hörnquist Åstrand
2a6831b56c (kadmind_dispatch): case kadm_rename, free princ2 on acl check failure.
Coverity, NetBSD CID#1911


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 22:00:57 +00:00
Love Hörnquist Åstrand
c7c0927da2 (rename_entry): free the right entry in the error case,
From Coverity NetBSD CID#1888


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 13:11:24 +00:00
Love Hörnquist Åstrand
2484ddfa84 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 13:10:00 +00:00
Love Hörnquist Åstrand
1cb80fec51 (generate_password): memory leak in error condition case
From Coverity NetBSD CID#1887


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 13:09:17 +00:00
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