Commit Graph

508 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand aa25cfcafa add copyright/license statment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11648 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-16 21:10:32 +00:00
Love Hörnquist Åstrand 0442d2b7a1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-04 21:50:50 +00:00
Love Hörnquist Åstrand 2da23a9503 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11635 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-04 21:50:49 +00:00
Love Hörnquist Åstrand 8998f51418 spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-04 21:48:01 +00:00
Love Hörnquist Åstrand 6f2d91b8fe spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11633 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-04 21:35:44 +00:00
Love Hörnquist Åstrand 69f3fca615 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-29 12:33:56 +00:00
Love Hörnquist Åstrand 90c2165a46 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-29 12:33:23 +00:00
Love Hörnquist Åstrand 84a8e5c39a (kadmind_dispatch): kadm_chpass: require the password to pass the
password quality check in case the user changes the user's own password
kadm_chpass_with_key: disallow the user to change it own password to a
key, since that password might violate the password quality check.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-29 12:33:05 +00:00
Johan Danielsson 7f955379c6 (get_response): print a newline if interrupted
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-03 14:14:51 +00:00
Johan Danielsson 3deaf3a146 (mod_entry): check return value from edit_entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-03 14:12:30 +00:00
Johan Danielsson 4fcac6e9be (add_one_principal): check return value from edit_entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-03 14:11:24 +00:00
Johan Danielsson 5807150c8b (add_one_principal): don't continue if create_principal fails
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-03 14:10:30 +00:00
Johan Danielsson 0949f5042e check return value from edit_deltat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-03 14:08:17 +00:00
Johan Danielsson 99b7bcc31d add --help
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-03 14:04:50 +00:00
Johan Danielsson 820be02837 speling (from Tomas Olsson)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-29 10:33:23 +00:00
Assar Westerlund 2aa3e297e9 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-23 06:20:38 +00:00
Assar Westerlund 03917e91a0 (decode_packet): check the length of the version string and that rlen
has a reasonable value


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11524 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-23 06:20:26 +00:00
Johan Danielsson fed79b33b9 add option to disable kerberos 4 kadmin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11489 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-21 13:21:24 +00:00
Johan Danielsson f4421e9152 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-21 12:40:57 +00:00
Johan Danielsson d38d9a490c check size of rlen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-21 12:35:07 +00:00
Johan Danielsson 9c7a6eae94 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 20:07:06 +00:00
Johan Danielsson 69cc215e6f don't need des.h here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 20:04:46 +00:00
Johan Danielsson 120c4c61a0 constify match_appl_version()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11437 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 19:23:28 +00:00
Johan Danielsson 803f0a416a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 15:23:54 +00:00
Johan Danielsson 833fd5e9fb change some lingering krb_err_base
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 15:20:46 +00:00
Jacques A. Vidrine bed2c50846 Credit Sebastian for this potential problem.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11416 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-09 14:43:29 +00:00
Jacques A. Vidrine 1d61dd312f While decoding arguments for kadm_chpass_with_key, sanity check the
number of keys given: must be non-negative, small enough that it is
not truncated when stuffed into an int16_t for kadm5_free_key_data,
and small enough to avoid integer overflow when calculating the memory
required for the keys themselves.

XXX Why does kadm5_free_key_data use int16_t?


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-09 14:40:08 +00:00
Johan Danielsson e3d19529f2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-04 20:44:41 +00:00
Johan Danielsson 921f49e5cb (parse_generation): return if there is no generation (spotted by
Daniel Kouril)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11380 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-04 20:44:35 +00:00
Johan Danielsson 879fc6b8bc more, mostly whitespace, fixes from Thomas Klasusner
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 17:07:29 +00:00
Johan Danielsson 747a00df69 remove Ns before comma (from Thomas Klausner)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 16:37:20 +00:00
Jacques A. Vidrine 4782324f47 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-06-07 19:05:44 +00:00
Jacques A. Vidrine 29538a775a Do not attempt to free uninitialized pointer when
kadm5_randkey_principal fails.  This would most likely
be encountered when one does not have change-password
rights, but uses one of the `--random-key' or `--random-password'
options of the ank command.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-06-07 19:05:38 +00:00
Johan Danielsson 407947599d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-06-07 18:29:23 +00:00
Johan Danielsson 646457d75e remove unused variable; reported by Hans Insulander
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-06-07 18:28:46 +00:00
Johan Danielsson 4fa94362ee fix for storage change
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-24 15:23:43 +00:00
Johan Danielsson 2f0d78ac31 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-05 13:31:40 +00:00
Johan Danielsson ad84e7192d clarify some acl wording, and add an example file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-05 13:31:30 +00:00
Johan Danielsson 1b72d73f68 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-11 14:33:34 +00:00
Johan Danielsson 6ccf1faefe no need to use the "modify" keytab anymore
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-11 14:29:52 +00:00
Assar Westerlund 1633b94ab9 mdoc fixes (refer correctly to programs). from Ruslan Ermilov <ru@FreeBSD.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-01-24 15:30:49 +00:00
Assar Westerlund 4e7d241768 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-20 09:18:37 +00:00
Assar Westerlund 9bfda0d538 allocate several buffers for the list of words, instead of one strdup
per word (running under efence does not work very well otherwise)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-20 09:17:33 +00:00
Assar Westerlund 5c266873cf *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-13 01:47:36 +00:00
Assar Westerlund 34f7c247b6 allow specifying the number of users to create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-13 01:46:51 +00:00
Assar Westerlund 9b8ad9f282 set and use INCLUDE_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-28 08:31:31 +00:00
Assar Westerlund 7b1eba193f (edit_timet): make non-static to be consistent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-27 23:07:36 +00:00
Assar Westerlund 9a9acaf6c0 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-23 22:44:48 +00:00
Assar Westerlund 09f6328808 rename variable name to avoid error from current automake
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-23 22:41:56 +00:00
Assar Westerlund aad564d1c2 re-write the handling of crypto libraries. try to use the one of
openssl's libcrypto or krb4's libdes that has all the required
functionality (md4, md5, sha1, des, rc4).  if there is no such
library, the included lib/des is built.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-22 20:30:33 +00:00