1 2007-12-09 Love Hörnquist Åstrand <lha@it.su.se>
3 * kadmin.c: Use hdb_db_dir().
5 * kadmind.c: Use hdb_db_dir().
7 2007-07-26 Love Hörnquist Åstrand <lha@it.su.se>
9 * util.c: Clear error string, just to be sure.
11 2007-05-10 Love Hörnquist Åstrand <lha@it.su.se>
13 * kadmin-commands.in: modify --pkinit-acl
15 * mod.c: add pk-init command
17 2007-02-22 Love Hörnquist Åstrand <lha@it.su.se>
19 * kadmin.8: document kadmin add_enctype functionallity.
21 * Makefile.am: Add new command, add_enctype.
23 * kadmin-commands.in: Add new command, add_enctype.
25 * add_enctype.c: Add support for adding a random key enctype to a
28 2007-02-17 Love Hörnquist Åstrand <lha@it.su.se>
30 * mod.c: add setting and displaying aliases
32 * get.c: add setting and displaying aliases
34 * kadmin-commands.in: add setting and displaying aliases
36 2006-12-22 Love Hörnquist Åstrand <lha@it.su.se>
38 * util.c: Make str2time_t parser more robust.
40 * Makefile.am: Add test_util test program.
42 * test_util.c: Test str2time_t parser.
44 2006-12-05 Love Hörnquist Åstrand <lha@it.su.se>
46 * add-random-users.c: Use strcspn to remove \n from fgets
47 result. Prompted by change by Ray Lai of OpenBSD via Björn
50 2006-10-22 Love Hörnquist Åstrand <lha@it.su.se>
52 * mod.c: Try to not leak memory.
54 * check.c: Try to not leak memory.
56 2006-10-07 Love Hörnquist Åstrand <lha@it.su.se>
58 * Makefile.am: split build files into dist_ and noinst_ SOURCES
60 2006-08-28 Love Hörnquist Åstrand <lha@it.su.se>
62 * kadmin.c (help): use sl_slc_help().
64 2006-08-24 Love Hörnquist Åstrand <lha@it.su.se>
66 * util.c: Add KRB5_KDB_ALLOW_DIGEST
68 2006-07-14 Love Hörnquist Åstrand <lha@it.su.se>
70 * get.c (format_field): optionally print issuer and anchor.
72 2006-06-21 Love Hörnquist Åstrand <lha@it.su.se>
74 * check.c: Check if afs@REALM and afs/cellname@REALM both exists.
76 2006-06-14 Love Hörnquist Åstrand <lha@it.su.se>
78 * util.c (kdb_attrs): Add KRB5_KDB_ALLOW_KERBEROS4
80 2006-06-07 Love Hörnquist Åstrand <lha@it.su.se>
82 * mod.c (do_mod_entry): Add setting 1 delegation entry
84 2006-06-01 Love Hörnquist Åstrand <lha@it.su.se>
86 * server.c: Less shadowing.
88 2006-05-13 Love Hörnquist Åstrand <lha@it.su.se>
90 * Makefile.am: kadmin_SOURCES += add check.c
92 * kadmin_locl.h: Avoid shadowing.
94 * kadmin.8: Document the new check command.
96 * kadmin-commands.in: Add check command
98 * check.c: Check database for strange configurations on default
101 2006-05-08 Love Hörnquist Åstrand <lha@it.su.se>
103 * server.c (kadm_get_privs): one less "pointer targets in passing
104 argument differ in signedness" warning.
106 2006-05-05 Love Hörnquist Åstrand <lha@it.su.se>
108 * dump-format.txt: Moved to info documentation.
110 * Rename u_intXX_t to uintXX_t
112 2006-05-01 Love Hörnquist Åstrand <lha@it.su.se>
114 * kadmin.8: spelling, update .Dd
116 2006-04-12 Love Hörnquist Åstrand <lha@it.su.se>
118 * add-random-users.c: Catch empty file case. From Tobias
121 2006-04-07 Love Hörnquist Åstrand <lha@it.su.se>
123 * random_password.c (generate_password): memory leak in error
124 condition case From Coverity NetBSD CID#1887
126 2006-02-19 Love Hörnquist Åstrand <lha@it.su.se>
128 * cpw.c (cpw_entry): make sure ret have a defined value
130 * del.c (del_entry): make sure ret have a defined value
132 * mod.c: Return error code so that toplevel function can catch
135 2006-01-25 Love Hörnquist Åstrand <lha@it.su.se>
137 * cpw.c (cpw_entry): return 1 on failure.
139 * rename.c (rename_entry): return 1 on failure.
141 * del.c (del_entry): return 1 on failure.
143 * ank.c (add_new_key): return 1 on failure.
145 * get.c: Add printing of pkinit-acls. Don't print password by
146 default. Return 1 on failure processing any of the principals.
148 * util.c (foreach_principal): If any of calls to `func' failes,
149 the first error is returned when all principals are processed.
151 2005-12-01 Love Hörnquist Åstrand <lha@it.su.se>
153 * kadmin-commands.in: Add ank as an alias to add, it lost in
154 transition to slc, from Måns Nilsson.
156 2005-09-14 Love Hörquist Åstrand <lha@it.su.se>
158 * dump-format.txt: Add extensions, fill in missing fields.
160 2005-09-08 Love Hörquist Åstrand <lha@it.su.se>
162 * init.c (create_random_entry): create principal with random
163 password even though its disabled. From Andrew Bartlet
166 2005-09-01 Love Hörquist Åstrand <lha@it.su.se>
168 * kadm_conn.c: Use socket_set_reuseaddr and socket_set_ipv6only.
170 2005-08-11 Love Hörquist Åstrand <lha@it.su.se>
172 * get.c: Remove structure that is never used (sneaked in the large
175 * kadmin-commands.in: Rename password-quality to
176 verify-password-quality.
180 * server.c: Avoid shadowing exp().
182 * load.c: Parse extensions.
184 * kadmin_locl.h: Include <hex.h>.
186 * get.c: Extend struct field_name to have a subvalue and a
187 extra_mask. Use that to implement printing of KADM5_TL_DATA
188 options and fix a dependency bug (keys needed principal to print
191 2005-07-08 Love Hörquist Åstrand <lha@it.su.se>
193 * lower amount of shadow and const warnings
195 2005-06-07 David Love <fx@gnu.org>
197 * dump-format.txt: Clarify, spelling and add examples.
199 2005-05-30 Love Hörquist Åstrand <lha@it.su.se>
201 * util.c (kdb_attrs): add ok-as-delegate
203 * get.c (getit): init data.mask to 0. Problem found by Andrew
204 Bartlett <abartlet@samba.org>
206 2005-05-09 Love Hörquist Åstrand <lha@it.su.se>
208 * kadmin.c (main): catch -2 as EOF
210 2005-05-03 Dave Love <d.love@dl.ac.uk>
212 * init.c (init): Don't disable forwardable for kadmin/changepw.
214 2005-05-02 Dave Love <d.love@dl.ac.uk>
216 * kadmin.c (help): Don't use non-constant initializer for `fake'.
218 2005-04-20 Love Hörquist Åstrand <lha@it.su.se>
220 * util.c (foreach_principal): initialize ret to make sure it have
223 2005-04-04 Love Hörquist Åstrand <lha@it.su.se>
225 * kadmind.c: add verifier libraries with
226 kadm5_add_passwd_quality_verifier
228 * kadmin.c: add verifier libraries with
229 kadm5_add_passwd_quality_verifier
231 * load.c: max-life and max-renew is of unsigned int in asn1
232 compiler, use that for the parser too
234 2005-03-26 Love Hörquist Åstrand <lha@it.su.se>
236 * kadmin.8: List of attributes, from James F. Hranicky
239 2005-01-19 Love Hörquist Åstrand <lha@it.su.se>
241 * dump.c (dump): handle errors
243 2005-01-08 Love Hörquist Åstrand <lha@it.su.se>
245 * dump-format.txt: text dump format
247 2004-12-08 Love Hörquist Åstrand <lha@it.su.se>
249 * kadmind.8: use keeps around options, from OpenBSD
251 * kadmin.8: use keeps around options, "improve" spelling, from
254 2004-11-01 Love Hörquist Åstrand <lha@it.su.se>
256 * get.c (getit): always free columns
258 * ank.c (add_one_principal): catch error from
259 UI_UTIL_read_pw_string
261 2004-10-31 Love Hörquist Åstrand <lha@it.su.se>
263 * del_enctype.c (del_enctype): fix off-by-one error in del_enctype
264 From: <ragge@ludd.luth.se>
266 2004-08-13 Love Hörquist Åstrand <lha@it.su.se>
268 * get.c: print keytypes on long format
270 2004-07-06 Love Hörquist Åstrand <lha@it.su.se>
272 * get.c (format_field): allow mod_name to be optional
274 * ext.c (do_ext_keytab): if there isn't any keydata, try using
275 kadm5_randkey_principal
277 2004-07-02 Love Hörquist Åstrand <lha@it.su.se>
279 * load.c: make merge/load work again
281 * del.c: fix usage string
283 * ank.c: fix slc lossage
285 2004-06-28 Love Hörquist Åstrand <lha@it.su.se>
287 * kadmin.c: use kadm5_ad_init_with_password_ctx
289 2004-06-27 Johan Danielsson <joda@pdc.kth.se>
291 * kadmin.8: document get -o and stash
293 * get.c: implement output column selection, similar to ps -o
295 * kadmin-commands.in: make get -l the default again, and add
296 column selection flag; sync list with get
298 2004-06-24 Johan Danielsson <joda@pdc.kth.se>
300 * kadmin-commands.in: mod needs default kvno of -1
302 2004-06-21 Johan Danielsson <joda@pdc.kth.se>
304 * kadmin: convert to use slc; also add stash subcommand
306 2004-06-15 Love Hörquist Åstrand <lha@it.su.se>
308 * kadmin.c (main): keytab mode requires principal name
310 2004-06-12 Love Hörquist Åstrand <lha@it.su.se>
312 * kadmind.c: drop keyfile, not used, found by
313 Elrond <elrond@samba-tng.org>
315 * kadmin.c: if keyfile is set, pass in to libkadm5 bug pointed out
316 by Elrond <elrond@samba-tng.org>
318 2004-05-31 Love Hörquist Åstrand <lha@it.su.se>
320 * kadmin.c: add --ad flag, XXX rewrite the init kadm5 interface
322 2004-05-13 Johan Danielsson <joda@pdc.kth.se>
324 * nuke kerberos 4 kadmin goo
326 2004-05-07 Johan Danielsson <joda@pdc.kth.se>
328 * util.c (str2time_t): fix end-of-day logic, from Duncan
331 2004-04-29 Love Hörquist Åstrand <lha@it.su.se>
333 * version4.c (handle_v4): make sure length is longer then 2,
334 Pointed out by Evgeny Demidov <demidov@gleg.net>
336 * kadmind.c: make kerberos4 support default turned off
338 2004-03-24 Johan Danielsson <joda@pdc.kth.se>
340 * kadmin.8: update manpage
342 * mod.c: allow wildcarding principals, and make parameters a work
345 2004-03-08 Love Hörquist Åstrand <lha@it.su.se>
347 * kadmin.8: document password-quality
349 * kadmin_locl.h: add prototype for password_quality
351 * kadmin.c: add password-quality/pwq command
353 * Makefile.am: kadmin_SOURCES += pw_quality.c
355 * pw_quality.c: test run the password quality function
357 2004-03-07 Love Hörquist Åstrand <lha@it.su.se>
359 * ank.c (add_one_principal): even though the principal is disabled
360 (creation of random key/keydata), create it with a random password
362 2003-12-07 Love Hörquist Åstrand <lha@it.su.se>
364 * init.c (create_random_entry): print error message on failure
366 * ank.c (add_one_principal): pass right argument to
367 kadm5_free_principal_ent From Panasas, Inc
369 2003-11-18 Love Hörquist Åstrand <lha@it.su.se>
371 * kadmind.c (main): move opening the logfile to after reading
372 kdc.conf move the loading of hdb keytab ops closer to where its
373 used From: Jeffrey Hutzelman <jhutz@cmu.edu>
375 2003-10-04 Love Hörquist Åstrand <lha@it.su.se>
377 * util.c (str2time_t): allow whitespace between date and time
378 From: Bob Beck <beck@cvs.openbsd.org> and adharw@yahoo.com
380 2003-09-03 Love Hörquist Åstrand <lha@it.su.se>
382 * ank.c: s/des_read_pw_string/UI_UTIL_read_pw_string/
384 * cpw.c: s/des_read_pw_string/UI_UTIL_read_pw_string/
386 2003-08-21 Love Hörquist Åstrand <lha@it.su.se>
388 * get.c (print_entry_terse): handle error when unparsing name
390 2003-08-18 Love Hörquist Åstrand <lha@it.su.se>
392 * kadmind.c (main): use krb5_prepend_config_files_default, now all
393 options in kdc.conf is parsed, not just [kdc]key-file=
395 * kadmin.c (main): use krb5_prepend_config_files_default, now all
396 options in kdc.conf is parsed, not just [kdc]key-file=
398 2003-04-14 Love Hörquist Åstrand <lha@it.su.se>
400 * util.c: cast argument to tolower to unsigned char, from
401 Christian Biere <christianbiere@gmx.de> via NetBSD
403 2003-04-06 Love Hörquist Åstrand <lha@it.su.se>
405 * kadmind.8: s/kerberos/Kerberos/
407 2003-03-31 Love Hörquist Åstrand <lha@it.su.se>
409 * kadmin.8: initialises -> initializes, from Perry E. Metzger"
412 * kadmin.c: principal, not pricipal. From Thomas Klausner
415 2003-02-04 Love Hörquist Åstrand <lha@it.su.se>
417 * kadmind.8: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
419 * kadmin.8: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
421 2003-01-29 Love Hörquist Åstrand <lha@it.su.se>
423 * server.c (kadmind_dispatch): kadm_chpass: require the password
424 to pass the password quality check in case the user changes the
425 user's own password kadm_chpass_with_key: disallow the user to
426 change it own password to a key, since that password might violate
427 the password quality check.
429 2002-12-03 Johan Danielsson <joda@pdc.kth.se>
431 * util.c (get_response): print a newline if interrupted
433 * mod.c (mod_entry): check return value from edit_entry
435 * ank.c (add_one_principal): check return value from edit_entry
437 * ank.c (add_one_principal): don't continue if create_principal
440 * init.c: check return value from edit_deltat
444 2002-10-29 Johan Danielsson <joda@pdc.kth.se>
446 * version4.c: speling (from Tomas Olsson)
448 2002-10-23 Assar Westerlund <assar@kth.se>
450 * version4.c (decode_packet): check the length of the version
451 string and that rlen has a reasonable value
453 2002-10-21 Johan Danielsson <joda@pdc.kth.se>
455 * version4.c: check size of rlen
457 2002-09-10 Johan Danielsson <joda@pdc.kth.se>
459 * server.c: constify match_appl_version()
461 * version4.c: change some lingering krb_err_base
463 2002-09-09 Jacques Vidrine <nectar@kth.se>
465 * server.c (kadmind_dispatch): while decoding arguments for
466 kadm_chpass_with_key, sanity check the number of keys given.
467 Potential problem pointed out by
468 Sebastian Krahmer <krahmer@suse.de>.
470 2002-09-04 Johan Danielsson <joda@pdc.kth.se>
472 * load.c (parse_generation): return if there is no generation
473 (spotted by Daniel Kouril)
475 2002-06-07 Jacques Vidrine <n@nectar.com>
477 * ank.c: do not attempt to free uninitialized pointer when
478 kadm5_randkey_principal fails.
480 2002-06-07 Johan Danielsson <joda@pdc.kth.se>
482 * util.c: remove unused variable; reported by Hans Insulander
484 2002-03-05 Johan Danielsson <joda@pdc.kth.se>
486 * kadmind.8: clarify some acl wording, and add an example file
488 2002-02-11 Johan Danielsson <joda@pdc.kth.se>
490 * ext.c: no need to use the "modify" keytab anymore
492 2001-09-20 Assar Westerlund <assar@sics.se>
494 * add-random-users.c: allocate several buffers for the list of
495 words, instead of one strdup per word (running under efence does
496 not work very well otherwise)
498 2001-09-13 Assar Westerlund <assar@sics.se>
500 * add-random-users.c: allow specifying the number of users to
503 2001-08-24 Assar Westerlund <assar@sics.se>
505 * Makefile.am: rename variable name to avoid error from current
508 2001-08-22 Assar Westerlund <assar@sics.se>
510 * kadmin_locl.h: include libutil.h if it exists
512 2001-08-10 Johan Danielsson <joda@pdc.kth.se>
514 * util.c: do something to handle C-c in prompts
516 * load.c: remove unused etypes code, and add parsing of the
519 * ank.c: add a --use-defaults option to just use default values
522 * kadmin.c: add "del" alias for delete
524 * cpw.c: call this operation "passwd" in usage
526 * kadmin_locl.h: prototype for set_defaults
528 * util.c (edit_entry): move setting of default values to a
529 separate function, set_defaults
531 2001-08-01 Johan Danielsson <joda@pdc.kth.se>
533 * kadmin.c: print help message on bad options
535 2001-07-31 Assar Westerlund <assar@sics.se>
537 * add-random-users.c (main): handle --version
539 2001-07-30 Johan Danielsson <joda@pdc.kth.se>
541 * load.c: increase line buffer to 8k
543 2001-06-12 Assar Westerlund <assar@sics.se>
545 * ext.c (ext_keytab): use the default modify keytab per default
547 2001-05-17 Assar Westerlund <assar@sics.se>
549 * kadm_conn.c (start_server): fix krb5_eai_to_heim_errno call
551 2001-05-15 Assar Westerlund <assar@sics.se>
553 * kadmin.c (main): some error cleaning required
555 2001-05-14 Assar Westerlund <assar@sics.se>
557 * kadmind.c: new krb5_config_parse_file
558 * kadmin.c: new krb5_config_parse_file
559 * kadm_conn.c: update to new krb5_sockaddr2address
561 2001-05-07 Assar Westerlund <assar@sics.se>
563 * kadmin_locl.h (foreach_principal): update prototype
564 * get.c (getit): new foreach_principal
565 * ext.c (ext_keytab): new foreach_principal
566 * del.c (del_entry): new foreach_principal
567 * cpw.c (cpw_entry): new foreach_principal
568 * util.c (foreach_principal): add `funcname' and try printing the
571 2001-05-04 Johan Danielsson <joda@pdc.kth.se>
573 * rename.c: fix argument number test
575 2001-04-19 Johan Danielsson <joda@pdc.kth.se>
577 * del_enctype.c: fix argument count check after getarg change;
578 spotted by mark@MCS.VUW.AC.NZ
580 2001-02-15 Assar Westerlund <assar@sics.se>
582 * kadmind.c (main): use a `struct sockaddr_storage' to be able to
583 store all types of addresses
585 2001-02-07 Assar Westerlund <assar@sics.se>
587 * kadmin.c: add --keytab / _K, from Leif Johansson
590 2001-01-29 Assar Westerlund <assar@sics.se>
592 * kadm_conn.c (spawn_child): close the newly created socket in the
593 packet, it's not used. from <shadow@dementia.org>
594 * version4.c (decode_packet): check success of
595 krb5_425_conv_principal. from <shadow@dementia.org>
597 2001-01-12 Assar Westerlund <assar@sics.se>
599 * util.c (parse_attributes): make empty string mean no attributes,
600 specifying the empty string at the command line should give you no
601 attributes, but just pressing return at the prompt gives you
603 (edit_entry): only pick up values from the default principal if they
604 aren't set in the principal being edited
606 2001-01-04 Assar Westerlund <assar@sics.se>
608 * load.c (doit): print an error and bail out if storing an entry
609 in the database fails. The most likely reason for it failing is
612 2000-12-31 Assar Westerlund <assar@sics.se>
614 * kadmind.c (main): handle krb5_init_context failure consistently
615 * kadmin.c (main): handle krb5_init_context failure consistently
616 * add-random-users.c (add_user): handle krb5_init_context failure
619 * kadm_conn.c (spawn_child): use a struct sockaddr_storage
621 2000-12-15 Johan Danielsson <joda@pdc.kth.se>
623 * get.c: avoid asprintf'ing NULL strings
625 2000-12-14 Johan Danielsson <joda@pdc.kth.se>
627 * load.c: fix option parsing
629 2000-11-16 Assar Westerlund <assar@sics.se>
631 * kadm_conn.c (wait_for_connection): check for fd's being too
634 2000-11-09 Johan Danielsson <joda@pdc.kth.se>
636 * get.c: don't try to print modifier name if it isn't set (from
637 Jacques A. Vidrine" <n@nectar.com>)
639 2000-09-19 Assar Westerlund <assar@sics.se>
641 * server.c (kadmind_loop): send in keytab to v4 handling function
642 * version4.c: allow the specification of what keytab to use
644 * get.c (print_entry_long): actually print the actual saltvalue
645 used if it's not the default
647 2000-09-10 Johan Danielsson <joda@pdc.kth.se>
649 * kadmin.c: add option parsing, and add `privs' as an alias for
652 * init.c: complain if there's no realm name specified
654 * rename.c: add option parsing
656 * load.c: add option parsing
658 * get.c: make `get' and `list' aliases to each other, but with
661 * del_enctype.c: add option parsing
663 * del.c: add option parsing
665 * ank.c: calling the command `add' make more sense from an english
668 * Makefile.am: add kadmin manpage
670 * kadmin.8: short manpage
672 * kadmin.c: `quit' should be a alias for `exit', not `help'
674 2000-08-27 Assar Westerlund <assar@sics.se>
676 * server.c (handle_v5): do not try to perform stupid stunts when
679 2000-08-19 Assar Westerlund <assar@sics.se>
681 * util.c (str2time_t): add alias for `now'.
683 2000-08-18 Assar Westerlund <assar@sics.se>
685 * server.c (handle_v5): accept any kadmin/admin@* principal as the
687 * kadmind.c: remove extra prototype of kadmind_loop
688 * kadmin_locl.h (kadmind_loop): add prototype
690 * init.c (usage): print init-usage and not add-dito
692 2000-08-07 Johan Danielsson <joda@pdc.kth.se>
694 * kadmind.c: use roken_getsockname
696 2000-08-07 Assar Westerlund <assar@sics.se>
698 * kadmind.c, kadm_conn.c: use socklen_t instead of int where
699 appropriate. From <thorpej@netbsd.org>
701 2000-08-04 Johan Danielsson <joda@pdc.kth.se>
703 * Makefile.am: link with pidfile library
705 * kadmind.c: write a pid file, and setup password quality
708 * kadmin_locl.h: util.h
710 2000-07-27 Assar Westerlund <assar@sics.se>
712 * version4.c (decode_packet): be totally consistent with the
713 prototype of des_cbc_cksum
714 * kadmind.c: use sa_size instead of sa_len, some systems define
715 this to emulate anonymous unions
716 * kadm_conn.c: use sa_size instead of sa_len, some systems define
717 this to emulate anonymous unions
719 2000-07-24 Assar Westerlund <assar@sics.se>
721 * kadmin.c (commands): add quit
722 * load.c (doit): truncate the log since there's no way of knowing
723 what changes are going to be added
725 2000-07-23 Assar Westerlund <assar@sics.se>
727 * util.c (str2time_t): be more careful with strptime that might
728 zero out the `struct tm'
730 2000-07-22 Johan Danielsson <joda@pdc.kth.se>
732 * kadm_conn.c: make the parent process wait for children and
733 terminate after receiving a signal, also terminate on SIGINT
735 2000-07-22 Assar Westerlund <assar@sics.se>
737 * version4.c: map both princ_expire_time and pw_expiration to v4
740 2000-07-22 Johan Danielsson <joda@pdc.kth.se>
742 * version4.c (handle_v4): check for termination
744 * server.c (v5_loop): check for termination
746 * kadm_conn.c (wait_term): if we're doing something, set just set
747 a flag otherwise exit rightaway
749 * server.c: use krb5_read_priv_message; (v5_loop): check for EOF
751 2000-07-21 Assar Westerlund <assar@sics.se>
753 * kadm_conn.c: remove sys/select.h. make signal handlers
754 type-correct and static
756 * kadmin_locl.h: add limits.h and sys/select.h
758 2000-07-20 Assar Westerlund <assar@sics.se>
760 * init.c (init): also create `kadmin/hprop'
761 * kadmind.c: ports is a string argument
762 * kadm_conn.c (start_server): fix printf format
764 * kadmin_locl.h: add <sys/select.h>
765 * kadm_conn.c: remove sys/select.h. make signal handlers
766 type-correct and static
768 * kadmin_locl.h: add limits.h and sys/select.h
770 2000-07-17 Johan Danielsson <joda@pdc.kth.se>
772 * kadm_conn.c: put all processes in a new process group
774 * server.c (v5_loop): use krb5_{read,write}_priv_message
776 2000-07-11 Johan Danielsson <joda@pdc.kth.se>
778 * version4.c: change log strings to match the v5 counterparts
780 * mod.c: allow setting kvno
782 * kadmind.c: if stdin is not a socket create and listen to sockets
784 * kadm_conn.c: socket creation functions
786 * util.c (deltat2str): treat 0 and INT_MAX as never
788 2000-07-08 Assar Westerlund <assar@sics.se>
790 * Makefile.am (INCLUDES): add ../lib/krb5
791 * kadmin_locl.h: add krb5_locl.h (since we just use some stuff
794 2000-06-07 Assar Westerlund <assar@sics.se>
796 * add-random-users.c: new testing program that adds a number of
797 randomly generated users
799 2000-04-12 Assar Westerlund <assar@sics.se>
801 * cpw.c (do_cpw_entry): call set_password if no argument is given,
802 it will prompt for the password.
803 * kadmin.c: make help only print the commands that are actually
806 2000-04-03 Assar Westerlund <assar@sics.se>
808 * del_enctype.c (del_enctype): set ignore correctly
810 2000-04-02 Assar Westerlund <assar@sics.se>
812 * kadmin.c (main): make parse errors a fatal error
813 * init.c (init): create changepw/kerberos with disallow-tgt and
816 2000-03-23 Assar Westerlund <assar@sics.se>
818 * util.c (hex2n, parse_des_key): add
819 * server.c (kadmind_dispatch): add kadm_chpass_with_key
823 2000-02-16 Assar Westerlund <assar@sics.se>
825 * load.c (doit): check return value from parse_hdbflags2int
828 2000-01-25 Assar Westerlund <assar@sics.se>
830 * load.c: checking all parsing for errors and all memory
833 2000-01-02 Assar Westerlund <assar@sics.se>
835 * server.c: check initial flag in ticket and allow users to change
836 their own password if it's set
837 * ext.c (do_ext_keytab): set timestamp
839 1999-12-14 Assar Westerlund <assar@sics.se>
841 * del_enctype.c (usage): don't use arg_printusage
843 1999-11-25 Assar Westerlund <assar@sics.se>
845 * del_enctype.c (del_enctype): try not to leak memory
847 * version4.c (kadm_ser_mod): use kadm5_s_modify_principal (no
850 * kadmin.c: add `del_enctype'
852 * del_enctype.c (del_enctype): new function for deleting enctypes
855 * Makefile.am (kadmin_SOURCES): add del_enctype.c
857 1999-11-09 Johan Danielsson <joda@pdc.kth.se>
859 * server.c: cope with old clients
861 * kadmin_locl.h: remove version string
863 1999-10-17 Assar Westerlund <assar@sics.se>
865 * Makefile.am (kadmin_LDADD): add LIB_dlopen
867 1999-10-01 Assar Westerlund <assar@sics.se>
869 * ank.c (add_one_principal): `password' can cactually be NULL in
870 the overwrite code, check for it.
872 1999-09-20 Assar Westerlund <assar@sics.se>
874 * mod.c (mod_entry): print the correct principal name in error
875 messages. From Love <lha@e.kth.se>
877 1999-09-10 Assar Westerlund <assar@sics.se>
879 * init.c (init): also create `changepw/kerberos'
881 * version4.c: only create you loose packets when we fail decoding
882 and not when an operation is not performed for some reason
883 (decode_packet): read the service key from the hdb
884 (dispatch, decode_packet): return proper error messages
886 * version4.c (kadm_ser_cpw): add password quality functions
888 1999-08-27 Johan Danielsson <joda@pdc.kth.se>
890 * server.c (handle_v5): give more informative message if
893 1999-08-26 Johan Danielsson <joda@pdc.kth.se>
895 * kadmind.c: use HDB keytabs
897 1999-08-25 Assar Westerlund <assar@sics.se>
899 * cpw.c (set_password): use correct variable. From Love
902 * server.c (v5_loop): use correct error code
904 * ank.c (add_one_principal): initialize `default_ent'
906 1999-08-21 Assar Westerlund <assar@sics.se>
908 * random_password.c: new file, stolen from krb4
910 * kadmin_locl.h: add prototype for random_password
912 * cpw.c: add support for --random-password
914 * ank.c: add support for --random-password
916 * Makefile.am (kadmin_SOURCES): add random_password.c
918 1999-08-19 Assar Westerlund <assar@sics.se>
920 * util.c (edit_timet): break when we manage to parse the time not
923 * mod.c: add parsing of lots of options. From Love
926 * ank.c: add setting of expiration and password expiration
928 * kadmin_locl.h: update util.c prototypes
930 * util.c: move-around. clean-up, rename, make consistent (and
931 some other weird stuff). based on patches from Love
934 * version4.c (kadm_ser_cpw): initialize password
935 (handle_v4): remove unused variable `ret'
937 1999-08-16 Assar Westerlund <assar@sics.se>
939 * version4.c (handle_v4): more error checking and more correct
942 * server.c (v5_loop, kadmind_loop): more error checking and more
943 correct error messages
945 1999-07-24 Assar Westerlund <assar@sics.se>
947 * util.c (str2timeval, edit_time): functions for parsing and
948 editing times. Based on patches from Love <lha@stacken.kth.se>.
949 (edit_entry): call new functions
951 * mod.c (mod_entry): allow modifying expiration times
953 * kadmin_locl.h (str2timeval): add prototype
955 * ank.c (add_one_principal): allow setting expiration times
957 1999-07-03 Assar Westerlund <assar@sics.se>
959 * server.c (v5_loop): handle data allocation with krb5_data_alloc
960 and check return value
962 1999-06-23 Assar Westerlund <assar@sics.se>
964 * version4.c (kadm_ser_cpw): read the key in the strange order
967 * util.c (edit_entry): look at default
968 (edit_time): always set mask even if value == 0
970 * kadmin_locl.h (edit_entry): update
972 * ank.c: make ank use the values of the default principal for
975 * version4.c (values_to_ent): convert key data correctly
977 1999-05-23 Assar Westerlund <assar@sics.se>
979 * init.c (create_random_entry): more correct setting of mask
981 1999-05-21 Assar Westerlund <assar@sics.se>
983 * server.c (handle_v5): read sendauth version correctly.
985 1999-05-14 Assar Westerlund <assar@sics.se>
987 * version4.c (error_code): try to handle really old krb4
990 1999-05-11 Assar Westerlund <assar@sics.se>
992 * init.c (init): initialize realm_max_life and realm_max_rlife
994 1999-05-07 Assar Westerlund <assar@sics.se>
996 * ank.c (add_new_key): initialize more variables
998 1999-05-04 Assar Westerlund <assar@sics.se>
1000 * version4.c (kadm_ser_cpw): always allow a user to change her
1002 (kadm_ser_*): make logging work
1003 clean-up and restructure
1005 * kadmin_locl.h (set_entry): add prototype
1007 * kadmin.c (usage): update usage string
1009 * init.c (init): new arguments realm-max-ticket-life and
1010 realm-max-renewable-life
1012 * util.c (edit_time, edit_attributes): don't do anything if it's
1014 (set_entry): new function
1016 * ank.c (add_new_key): new options for setting max-ticket-life,
1017 max-renewable-life, and attributes
1019 * server.c (v5_loop): remove unused variable
1021 * kadmin_locl.h: add prototypes
1023 * version4.c: re-insert krb_err.h and other miss
1025 * server.c (kadmind_loop): break-up and restructure
1027 * version4.c: add ACL checks more error code checks restructure
1029 1999-05-03 Johan Danielsson <joda@pdc.kth.se>
1031 * load.c: check for (un-)encrypted keys
1033 * dump.c: use hdb_print_entry
1035 * version4.c: version 4 support
1037 * Makefile.am: link with krb4
1039 * kadmin_locl.h: include <sys/un.h>
1041 * server.c: move from lib/kadm5, and add basic support for krb4
1044 * kadmind.c: move recvauth to kadmind_loop()