1 2007-07-26 Love Hörnquist Åstrand <lha@it.su.se>
3 * util.c: Clear error string, just to be sure.
5 2007-05-10 Love Hörnquist Åstrand <lha@it.su.se>
7 * kadmin-commands.in: modify --pkinit-acl
9 * mod.c: add pk-init command
11 2007-02-22 Love Hörnquist Åstrand <lha@it.su.se>
13 * kadmin.8: document kadmin add_enctype functionallity.
15 * Makefile.am: Add new command, add_enctype.
17 * kadmin-commands.in: Add new command, add_enctype.
19 * add_enctype.c: Add support for adding a random key enctype to a
22 2007-02-17 Love Hörnquist Åstrand <lha@it.su.se>
24 * mod.c: add setting and displaying aliases
26 * get.c: add setting and displaying aliases
28 * kadmin-commands.in: add setting and displaying aliases
30 2006-12-22 Love Hörnquist Åstrand <lha@it.su.se>
32 * util.c: Make str2time_t parser more robust.
34 * Makefile.am: Add test_util test program.
36 * test_util.c: Test str2time_t parser.
38 2006-12-05 Love Hörnquist Åstrand <lha@it.su.se>
40 * add-random-users.c: Use strcspn to remove \n from fgets
41 result. Prompted by change by Ray Lai of OpenBSD via Björn
44 2006-10-22 Love Hörnquist Åstrand <lha@it.su.se>
46 * mod.c: Try to not leak memory.
48 * check.c: Try to not leak memory.
50 2006-10-07 Love Hörnquist Åstrand <lha@it.su.se>
52 * Makefile.am: split build files into dist_ and noinst_ SOURCES
54 2006-08-28 Love Hörnquist Åstrand <lha@it.su.se>
56 * kadmin.c (help): use sl_slc_help().
58 2006-08-24 Love Hörnquist Åstrand <lha@it.su.se>
60 * util.c: Add KRB5_KDB_ALLOW_DIGEST
62 2006-07-14 Love Hörnquist Åstrand <lha@it.su.se>
64 * get.c (format_field): optionally print issuer and anchor.
66 2006-06-21 Love Hörnquist Åstrand <lha@it.su.se>
68 * check.c: Check if afs@REALM and afs/cellname@REALM both exists.
70 2006-06-14 Love Hörnquist Åstrand <lha@it.su.se>
72 * util.c (kdb_attrs): Add KRB5_KDB_ALLOW_KERBEROS4
74 2006-06-07 Love Hörnquist Åstrand <lha@it.su.se>
76 * mod.c (do_mod_entry): Add setting 1 delegation entry
78 2006-06-01 Love Hörnquist Åstrand <lha@it.su.se>
80 * server.c: Less shadowing.
82 2006-05-13 Love Hörnquist Åstrand <lha@it.su.se>
84 * Makefile.am: kadmin_SOURCES += add check.c
86 * kadmin_locl.h: Avoid shadowing.
88 * kadmin.8: Document the new check command.
90 * kadmin-commands.in: Add check command
92 * check.c: Check database for strange configurations on default
95 2006-05-08 Love Hörnquist Åstrand <lha@it.su.se>
97 * server.c (kadm_get_privs): one less "pointer targets in passing
98 argument differ in signedness" warning.
100 2006-05-05 Love Hörnquist Åstrand <lha@it.su.se>
102 * dump-format.txt: Moved to info documentation.
104 * Rename u_intXX_t to uintXX_t
106 2006-05-01 Love Hörnquist Åstrand <lha@it.su.se>
108 * kadmin.8: spelling, update .Dd
110 2006-04-12 Love Hörnquist Åstrand <lha@it.su.se>
112 * add-random-users.c: Catch empty file case. From Tobias
115 2006-04-07 Love Hörnquist Åstrand <lha@it.su.se>
117 * random_password.c (generate_password): memory leak in error
118 condition case From Coverity NetBSD CID#1887
120 2006-02-19 Love Hörnquist Åstrand <lha@it.su.se>
122 * cpw.c (cpw_entry): make sure ret have a defined value
124 * del.c (del_entry): make sure ret have a defined value
126 * mod.c: Return error code so that toplevel function can catch
129 2006-01-25 Love Hörnquist Åstrand <lha@it.su.se>
131 * cpw.c (cpw_entry): return 1 on failure.
133 * rename.c (rename_entry): return 1 on failure.
135 * del.c (del_entry): return 1 on failure.
137 * ank.c (add_new_key): return 1 on failure.
139 * get.c: Add printing of pkinit-acls. Don't print password by
140 default. Return 1 on failure processing any of the principals.
142 * util.c (foreach_principal): If any of calls to `func' failes,
143 the first error is returned when all principals are processed.
145 2005-12-01 Love Hörnquist Åstrand <lha@it.su.se>
147 * kadmin-commands.in: Add ank as an alias to add, it lost in
148 transition to slc, from Måns Nilsson.
150 2005-09-14 Love Hörquist Åstrand <lha@it.su.se>
152 * dump-format.txt: Add extensions, fill in missing fields.
154 2005-09-08 Love Hörquist Åstrand <lha@it.su.se>
156 * init.c (create_random_entry): create principal with random
157 password even though its disabled. From Andrew Bartlet
160 2005-09-01 Love Hörquist Åstrand <lha@it.su.se>
162 * kadm_conn.c: Use socket_set_reuseaddr and socket_set_ipv6only.
164 2005-08-11 Love Hörquist Åstrand <lha@it.su.se>
166 * get.c: Remove structure that is never used (sneaked in the large
169 * kadmin-commands.in: Rename password-quality to
170 verify-password-quality.
174 * server.c: Avoid shadowing exp().
176 * load.c: Parse extensions.
178 * kadmin_locl.h: Include <hex.h>.
180 * get.c: Extend struct field_name to have a subvalue and a
181 extra_mask. Use that to implement printing of KADM5_TL_DATA
182 options and fix a dependency bug (keys needed principal to print
185 2005-07-08 Love Hörquist Åstrand <lha@it.su.se>
187 * lower amount of shadow and const warnings
189 2005-06-07 David Love <fx@gnu.org>
191 * dump-format.txt: Clarify, spelling and add examples.
193 2005-05-30 Love Hörquist Åstrand <lha@it.su.se>
195 * util.c (kdb_attrs): add ok-as-delegate
197 * get.c (getit): init data.mask to 0. Problem found by Andrew
198 Bartlett <abartlet@samba.org>
200 2005-05-09 Love Hörquist Åstrand <lha@it.su.se>
202 * kadmin.c (main): catch -2 as EOF
204 2005-05-03 Dave Love <d.love@dl.ac.uk>
206 * init.c (init): Don't disable forwardable for kadmin/changepw.
208 2005-05-02 Dave Love <d.love@dl.ac.uk>
210 * kadmin.c (help): Don't use non-constant initializer for `fake'.
212 2005-04-20 Love Hörquist Åstrand <lha@it.su.se>
214 * util.c (foreach_principal): initialize ret to make sure it have
217 2005-04-04 Love Hörquist Åstrand <lha@it.su.se>
219 * kadmind.c: add verifier libraries with
220 kadm5_add_passwd_quality_verifier
222 * kadmin.c: add verifier libraries with
223 kadm5_add_passwd_quality_verifier
225 * load.c: max-life and max-renew is of unsigned int in asn1
226 compiler, use that for the parser too
228 2005-03-26 Love Hörquist Åstrand <lha@it.su.se>
230 * kadmin.8: List of attributes, from James F. Hranicky
233 2005-01-19 Love Hörquist Åstrand <lha@it.su.se>
235 * dump.c (dump): handle errors
237 2005-01-08 Love Hörquist Åstrand <lha@it.su.se>
239 * dump-format.txt: text dump format
241 2004-12-08 Love Hörquist Åstrand <lha@it.su.se>
243 * kadmind.8: use keeps around options, from OpenBSD
245 * kadmin.8: use keeps around options, "improve" spelling, from
248 2004-11-01 Love Hörquist Åstrand <lha@it.su.se>
250 * get.c (getit): always free columns
252 * ank.c (add_one_principal): catch error from
253 UI_UTIL_read_pw_string
255 2004-10-31 Love Hörquist Åstrand <lha@it.su.se>
257 * del_enctype.c (del_enctype): fix off-by-one error in del_enctype
258 From: <ragge@ludd.luth.se>
260 2004-08-13 Love Hörquist Åstrand <lha@it.su.se>
262 * get.c: print keytypes on long format
264 2004-07-06 Love Hörquist Åstrand <lha@it.su.se>
266 * get.c (format_field): allow mod_name to be optional
268 * ext.c (do_ext_keytab): if there isn't any keydata, try using
269 kadm5_randkey_principal
271 2004-07-02 Love Hörquist Åstrand <lha@it.su.se>
273 * load.c: make merge/load work again
275 * del.c: fix usage string
277 * ank.c: fix slc lossage
279 2004-06-28 Love Hörquist Åstrand <lha@it.su.se>
281 * kadmin.c: use kadm5_ad_init_with_password_ctx
283 2004-06-27 Johan Danielsson <joda@pdc.kth.se>
285 * kadmin.8: document get -o and stash
287 * get.c: implement output column selection, similar to ps -o
289 * kadmin-commands.in: make get -l the default again, and add
290 column selection flag; sync list with get
292 2004-06-24 Johan Danielsson <joda@pdc.kth.se>
294 * kadmin-commands.in: mod needs default kvno of -1
296 2004-06-21 Johan Danielsson <joda@pdc.kth.se>
298 * kadmin: convert to use slc; also add stash subcommand
300 2004-06-15 Love Hörquist Åstrand <lha@it.su.se>
302 * kadmin.c (main): keytab mode requires principal name
304 2004-06-12 Love Hörquist Åstrand <lha@it.su.se>
306 * kadmind.c: drop keyfile, not used, found by
307 Elrond <elrond@samba-tng.org>
309 * kadmin.c: if keyfile is set, pass in to libkadm5 bug pointed out
310 by Elrond <elrond@samba-tng.org>
312 2004-05-31 Love Hörquist Åstrand <lha@it.su.se>
314 * kadmin.c: add --ad flag, XXX rewrite the init kadm5 interface
316 2004-05-13 Johan Danielsson <joda@pdc.kth.se>
318 * nuke kerberos 4 kadmin goo
320 2004-05-07 Johan Danielsson <joda@pdc.kth.se>
322 * util.c (str2time_t): fix end-of-day logic, from Duncan
325 2004-04-29 Love Hörquist Åstrand <lha@it.su.se>
327 * version4.c (handle_v4): make sure length is longer then 2,
328 Pointed out by Evgeny Demidov <demidov@gleg.net>
330 * kadmind.c: make kerberos4 support default turned off
332 2004-03-24 Johan Danielsson <joda@pdc.kth.se>
334 * kadmin.8: update manpage
336 * mod.c: allow wildcarding principals, and make parameters a work
339 2004-03-08 Love Hörquist Åstrand <lha@it.su.se>
341 * kadmin.8: document password-quality
343 * kadmin_locl.h: add prototype for password_quality
345 * kadmin.c: add password-quality/pwq command
347 * Makefile.am: kadmin_SOURCES += pw_quality.c
349 * pw_quality.c: test run the password quality function
351 2004-03-07 Love Hörquist Åstrand <lha@it.su.se>
353 * ank.c (add_one_principal): even though the principal is disabled
354 (creation of random key/keydata), create it with a random password
356 2003-12-07 Love Hörquist Åstrand <lha@it.su.se>
358 * init.c (create_random_entry): print error message on failure
360 * ank.c (add_one_principal): pass right argument to
361 kadm5_free_principal_ent From Panasas, Inc
363 2003-11-18 Love Hörquist Åstrand <lha@it.su.se>
365 * kadmind.c (main): move opening the logfile to after reading
366 kdc.conf move the loading of hdb keytab ops closer to where its
367 used From: Jeffrey Hutzelman <jhutz@cmu.edu>
369 2003-10-04 Love Hörquist Åstrand <lha@it.su.se>
371 * util.c (str2time_t): allow whitespace between date and time
372 From: Bob Beck <beck@cvs.openbsd.org> and adharw@yahoo.com
374 2003-09-03 Love Hörquist Åstrand <lha@it.su.se>
376 * ank.c: s/des_read_pw_string/UI_UTIL_read_pw_string/
378 * cpw.c: s/des_read_pw_string/UI_UTIL_read_pw_string/
380 2003-08-21 Love Hörquist Åstrand <lha@it.su.se>
382 * get.c (print_entry_terse): handle error when unparsing name
384 2003-08-18 Love Hörquist Åstrand <lha@it.su.se>
386 * kadmind.c (main): use krb5_prepend_config_files_default, now all
387 options in kdc.conf is parsed, not just [kdc]key-file=
389 * kadmin.c (main): use krb5_prepend_config_files_default, now all
390 options in kdc.conf is parsed, not just [kdc]key-file=
392 2003-04-14 Love Hörquist Åstrand <lha@it.su.se>
394 * util.c: cast argument to tolower to unsigned char, from
395 Christian Biere <christianbiere@gmx.de> via NetBSD
397 2003-04-06 Love Hörquist Åstrand <lha@it.su.se>
399 * kadmind.8: s/kerberos/Kerberos/
401 2003-03-31 Love Hörquist Åstrand <lha@it.su.se>
403 * kadmin.8: initialises -> initializes, from Perry E. Metzger"
406 * kadmin.c: principal, not pricipal. From Thomas Klausner
409 2003-02-04 Love Hörquist Åstrand <lha@it.su.se>
411 * kadmind.8: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
413 * kadmin.8: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
415 2003-01-29 Love Hörquist Åstrand <lha@it.su.se>
417 * server.c (kadmind_dispatch): kadm_chpass: require the password
418 to pass the password quality check in case the user changes the
419 user's own password kadm_chpass_with_key: disallow the user to
420 change it own password to a key, since that password might violate
421 the password quality check.
423 2002-12-03 Johan Danielsson <joda@pdc.kth.se>
425 * util.c (get_response): print a newline if interrupted
427 * mod.c (mod_entry): check return value from edit_entry
429 * ank.c (add_one_principal): check return value from edit_entry
431 * ank.c (add_one_principal): don't continue if create_principal
434 * init.c: check return value from edit_deltat
438 2002-10-29 Johan Danielsson <joda@pdc.kth.se>
440 * version4.c: speling (from Tomas Olsson)
442 2002-10-23 Assar Westerlund <assar@kth.se>
444 * version4.c (decode_packet): check the length of the version
445 string and that rlen has a reasonable value
447 2002-10-21 Johan Danielsson <joda@pdc.kth.se>
449 * version4.c: check size of rlen
451 2002-09-10 Johan Danielsson <joda@pdc.kth.se>
453 * server.c: constify match_appl_version()
455 * version4.c: change some lingering krb_err_base
457 2002-09-09 Jacques Vidrine <nectar@kth.se>
459 * server.c (kadmind_dispatch): while decoding arguments for
460 kadm_chpass_with_key, sanity check the number of keys given.
461 Potential problem pointed out by
462 Sebastian Krahmer <krahmer@suse.de>.
464 2002-09-04 Johan Danielsson <joda@pdc.kth.se>
466 * load.c (parse_generation): return if there is no generation
467 (spotted by Daniel Kouril)
469 2002-06-07 Jacques Vidrine <n@nectar.com>
471 * ank.c: do not attempt to free uninitialized pointer when
472 kadm5_randkey_principal fails.
474 2002-06-07 Johan Danielsson <joda@pdc.kth.se>
476 * util.c: remove unused variable; reported by Hans Insulander
478 2002-03-05 Johan Danielsson <joda@pdc.kth.se>
480 * kadmind.8: clarify some acl wording, and add an example file
482 2002-02-11 Johan Danielsson <joda@pdc.kth.se>
484 * ext.c: no need to use the "modify" keytab anymore
486 2001-09-20 Assar Westerlund <assar@sics.se>
488 * add-random-users.c: allocate several buffers for the list of
489 words, instead of one strdup per word (running under efence does
490 not work very well otherwise)
492 2001-09-13 Assar Westerlund <assar@sics.se>
494 * add-random-users.c: allow specifying the number of users to
497 2001-08-24 Assar Westerlund <assar@sics.se>
499 * Makefile.am: rename variable name to avoid error from current
502 2001-08-22 Assar Westerlund <assar@sics.se>
504 * kadmin_locl.h: include libutil.h if it exists
506 2001-08-10 Johan Danielsson <joda@pdc.kth.se>
508 * util.c: do something to handle C-c in prompts
510 * load.c: remove unused etypes code, and add parsing of the
513 * ank.c: add a --use-defaults option to just use default values
516 * kadmin.c: add "del" alias for delete
518 * cpw.c: call this operation "passwd" in usage
520 * kadmin_locl.h: prototype for set_defaults
522 * util.c (edit_entry): move setting of default values to a
523 separate function, set_defaults
525 2001-08-01 Johan Danielsson <joda@pdc.kth.se>
527 * kadmin.c: print help message on bad options
529 2001-07-31 Assar Westerlund <assar@sics.se>
531 * add-random-users.c (main): handle --version
533 2001-07-30 Johan Danielsson <joda@pdc.kth.se>
535 * load.c: increase line buffer to 8k
537 2001-06-12 Assar Westerlund <assar@sics.se>
539 * ext.c (ext_keytab): use the default modify keytab per default
541 2001-05-17 Assar Westerlund <assar@sics.se>
543 * kadm_conn.c (start_server): fix krb5_eai_to_heim_errno call
545 2001-05-15 Assar Westerlund <assar@sics.se>
547 * kadmin.c (main): some error cleaning required
549 2001-05-14 Assar Westerlund <assar@sics.se>
551 * kadmind.c: new krb5_config_parse_file
552 * kadmin.c: new krb5_config_parse_file
553 * kadm_conn.c: update to new krb5_sockaddr2address
555 2001-05-07 Assar Westerlund <assar@sics.se>
557 * kadmin_locl.h (foreach_principal): update prototype
558 * get.c (getit): new foreach_principal
559 * ext.c (ext_keytab): new foreach_principal
560 * del.c (del_entry): new foreach_principal
561 * cpw.c (cpw_entry): new foreach_principal
562 * util.c (foreach_principal): add `funcname' and try printing the
565 2001-05-04 Johan Danielsson <joda@pdc.kth.se>
567 * rename.c: fix argument number test
569 2001-04-19 Johan Danielsson <joda@pdc.kth.se>
571 * del_enctype.c: fix argument count check after getarg change;
572 spotted by mark@MCS.VUW.AC.NZ
574 2001-02-15 Assar Westerlund <assar@sics.se>
576 * kadmind.c (main): use a `struct sockaddr_storage' to be able to
577 store all types of addresses
579 2001-02-07 Assar Westerlund <assar@sics.se>
581 * kadmin.c: add --keytab / _K, from Leif Johansson
584 2001-01-29 Assar Westerlund <assar@sics.se>
586 * kadm_conn.c (spawn_child): close the newly created socket in the
587 packet, it's not used. from <shadow@dementia.org>
588 * version4.c (decode_packet): check success of
589 krb5_425_conv_principal. from <shadow@dementia.org>
591 2001-01-12 Assar Westerlund <assar@sics.se>
593 * util.c (parse_attributes): make empty string mean no attributes,
594 specifying the empty string at the command line should give you no
595 attributes, but just pressing return at the prompt gives you
597 (edit_entry): only pick up values from the default principal if they
598 aren't set in the principal being edited
600 2001-01-04 Assar Westerlund <assar@sics.se>
602 * load.c (doit): print an error and bail out if storing an entry
603 in the database fails. The most likely reason for it failing is
606 2000-12-31 Assar Westerlund <assar@sics.se>
608 * kadmind.c (main): handle krb5_init_context failure consistently
609 * kadmin.c (main): handle krb5_init_context failure consistently
610 * add-random-users.c (add_user): handle krb5_init_context failure
613 * kadm_conn.c (spawn_child): use a struct sockaddr_storage
615 2000-12-15 Johan Danielsson <joda@pdc.kth.se>
617 * get.c: avoid asprintf'ing NULL strings
619 2000-12-14 Johan Danielsson <joda@pdc.kth.se>
621 * load.c: fix option parsing
623 2000-11-16 Assar Westerlund <assar@sics.se>
625 * kadm_conn.c (wait_for_connection): check for fd's being too
628 2000-11-09 Johan Danielsson <joda@pdc.kth.se>
630 * get.c: don't try to print modifier name if it isn't set (from
631 Jacques A. Vidrine" <n@nectar.com>)
633 2000-09-19 Assar Westerlund <assar@sics.se>
635 * server.c (kadmind_loop): send in keytab to v4 handling function
636 * version4.c: allow the specification of what keytab to use
638 * get.c (print_entry_long): actually print the actual saltvalue
639 used if it's not the default
641 2000-09-10 Johan Danielsson <joda@pdc.kth.se>
643 * kadmin.c: add option parsing, and add `privs' as an alias for
646 * init.c: complain if there's no realm name specified
648 * rename.c: add option parsing
650 * load.c: add option parsing
652 * get.c: make `get' and `list' aliases to each other, but with
655 * del_enctype.c: add option parsing
657 * del.c: add option parsing
659 * ank.c: calling the command `add' make more sense from an english
662 * Makefile.am: add kadmin manpage
664 * kadmin.8: short manpage
666 * kadmin.c: `quit' should be a alias for `exit', not `help'
668 2000-08-27 Assar Westerlund <assar@sics.se>
670 * server.c (handle_v5): do not try to perform stupid stunts when
673 2000-08-19 Assar Westerlund <assar@sics.se>
675 * util.c (str2time_t): add alias for `now'.
677 2000-08-18 Assar Westerlund <assar@sics.se>
679 * server.c (handle_v5): accept any kadmin/admin@* principal as the
681 * kadmind.c: remove extra prototype of kadmind_loop
682 * kadmin_locl.h (kadmind_loop): add prototype
684 * init.c (usage): print init-usage and not add-dito
686 2000-08-07 Johan Danielsson <joda@pdc.kth.se>
688 * kadmind.c: use roken_getsockname
690 2000-08-07 Assar Westerlund <assar@sics.se>
692 * kadmind.c, kadm_conn.c: use socklen_t instead of int where
693 appropriate. From <thorpej@netbsd.org>
695 2000-08-04 Johan Danielsson <joda@pdc.kth.se>
697 * Makefile.am: link with pidfile library
699 * kadmind.c: write a pid file, and setup password quality
702 * kadmin_locl.h: util.h
704 2000-07-27 Assar Westerlund <assar@sics.se>
706 * version4.c (decode_packet): be totally consistent with the
707 prototype of des_cbc_cksum
708 * kadmind.c: use sa_size instead of sa_len, some systems define
709 this to emulate anonymous unions
710 * kadm_conn.c: use sa_size instead of sa_len, some systems define
711 this to emulate anonymous unions
713 2000-07-24 Assar Westerlund <assar@sics.se>
715 * kadmin.c (commands): add quit
716 * load.c (doit): truncate the log since there's no way of knowing
717 what changes are going to be added
719 2000-07-23 Assar Westerlund <assar@sics.se>
721 * util.c (str2time_t): be more careful with strptime that might
722 zero out the `struct tm'
724 2000-07-22 Johan Danielsson <joda@pdc.kth.se>
726 * kadm_conn.c: make the parent process wait for children and
727 terminate after receiving a signal, also terminate on SIGINT
729 2000-07-22 Assar Westerlund <assar@sics.se>
731 * version4.c: map both princ_expire_time and pw_expiration to v4
734 2000-07-22 Johan Danielsson <joda@pdc.kth.se>
736 * version4.c (handle_v4): check for termination
738 * server.c (v5_loop): check for termination
740 * kadm_conn.c (wait_term): if we're doing something, set just set
741 a flag otherwise exit rightaway
743 * server.c: use krb5_read_priv_message; (v5_loop): check for EOF
745 2000-07-21 Assar Westerlund <assar@sics.se>
747 * kadm_conn.c: remove sys/select.h. make signal handlers
748 type-correct and static
750 * kadmin_locl.h: add limits.h and sys/select.h
752 2000-07-20 Assar Westerlund <assar@sics.se>
754 * init.c (init): also create `kadmin/hprop'
755 * kadmind.c: ports is a string argument
756 * kadm_conn.c (start_server): fix printf format
758 * kadmin_locl.h: add <sys/select.h>
759 * kadm_conn.c: remove sys/select.h. make signal handlers
760 type-correct and static
762 * kadmin_locl.h: add limits.h and sys/select.h
764 2000-07-17 Johan Danielsson <joda@pdc.kth.se>
766 * kadm_conn.c: put all processes in a new process group
768 * server.c (v5_loop): use krb5_{read,write}_priv_message
770 2000-07-11 Johan Danielsson <joda@pdc.kth.se>
772 * version4.c: change log strings to match the v5 counterparts
774 * mod.c: allow setting kvno
776 * kadmind.c: if stdin is not a socket create and listen to sockets
778 * kadm_conn.c: socket creation functions
780 * util.c (deltat2str): treat 0 and INT_MAX as never
782 2000-07-08 Assar Westerlund <assar@sics.se>
784 * Makefile.am (INCLUDES): add ../lib/krb5
785 * kadmin_locl.h: add krb5_locl.h (since we just use some stuff
788 2000-06-07 Assar Westerlund <assar@sics.se>
790 * add-random-users.c: new testing program that adds a number of
791 randomly generated users
793 2000-04-12 Assar Westerlund <assar@sics.se>
795 * cpw.c (do_cpw_entry): call set_password if no argument is given,
796 it will prompt for the password.
797 * kadmin.c: make help only print the commands that are actually
800 2000-04-03 Assar Westerlund <assar@sics.se>
802 * del_enctype.c (del_enctype): set ignore correctly
804 2000-04-02 Assar Westerlund <assar@sics.se>
806 * kadmin.c (main): make parse errors a fatal error
807 * init.c (init): create changepw/kerberos with disallow-tgt and
810 2000-03-23 Assar Westerlund <assar@sics.se>
812 * util.c (hex2n, parse_des_key): add
813 * server.c (kadmind_dispatch): add kadm_chpass_with_key
817 2000-02-16 Assar Westerlund <assar@sics.se>
819 * load.c (doit): check return value from parse_hdbflags2int
822 2000-01-25 Assar Westerlund <assar@sics.se>
824 * load.c: checking all parsing for errors and all memory
827 2000-01-02 Assar Westerlund <assar@sics.se>
829 * server.c: check initial flag in ticket and allow users to change
830 their own password if it's set
831 * ext.c (do_ext_keytab): set timestamp
833 1999-12-14 Assar Westerlund <assar@sics.se>
835 * del_enctype.c (usage): don't use arg_printusage
837 1999-11-25 Assar Westerlund <assar@sics.se>
839 * del_enctype.c (del_enctype): try not to leak memory
841 * version4.c (kadm_ser_mod): use kadm5_s_modify_principal (no
844 * kadmin.c: add `del_enctype'
846 * del_enctype.c (del_enctype): new function for deleting enctypes
849 * Makefile.am (kadmin_SOURCES): add del_enctype.c
851 1999-11-09 Johan Danielsson <joda@pdc.kth.se>
853 * server.c: cope with old clients
855 * kadmin_locl.h: remove version string
857 1999-10-17 Assar Westerlund <assar@sics.se>
859 * Makefile.am (kadmin_LDADD): add LIB_dlopen
861 1999-10-01 Assar Westerlund <assar@sics.se>
863 * ank.c (add_one_principal): `password' can cactually be NULL in
864 the overwrite code, check for it.
866 1999-09-20 Assar Westerlund <assar@sics.se>
868 * mod.c (mod_entry): print the correct principal name in error
869 messages. From Love <lha@e.kth.se>
871 1999-09-10 Assar Westerlund <assar@sics.se>
873 * init.c (init): also create `changepw/kerberos'
875 * version4.c: only create you loose packets when we fail decoding
876 and not when an operation is not performed for some reason
877 (decode_packet): read the service key from the hdb
878 (dispatch, decode_packet): return proper error messages
880 * version4.c (kadm_ser_cpw): add password quality functions
882 1999-08-27 Johan Danielsson <joda@pdc.kth.se>
884 * server.c (handle_v5): give more informative message if
887 1999-08-26 Johan Danielsson <joda@pdc.kth.se>
889 * kadmind.c: use HDB keytabs
891 1999-08-25 Assar Westerlund <assar@sics.se>
893 * cpw.c (set_password): use correct variable. From Love
896 * server.c (v5_loop): use correct error code
898 * ank.c (add_one_principal): initialize `default_ent'
900 1999-08-21 Assar Westerlund <assar@sics.se>
902 * random_password.c: new file, stolen from krb4
904 * kadmin_locl.h: add prototype for random_password
906 * cpw.c: add support for --random-password
908 * ank.c: add support for --random-password
910 * Makefile.am (kadmin_SOURCES): add random_password.c
912 1999-08-19 Assar Westerlund <assar@sics.se>
914 * util.c (edit_timet): break when we manage to parse the time not
917 * mod.c: add parsing of lots of options. From Love
920 * ank.c: add setting of expiration and password expiration
922 * kadmin_locl.h: update util.c prototypes
924 * util.c: move-around. clean-up, rename, make consistent (and
925 some other weird stuff). based on patches from Love
928 * version4.c (kadm_ser_cpw): initialize password
929 (handle_v4): remove unused variable `ret'
931 1999-08-16 Assar Westerlund <assar@sics.se>
933 * version4.c (handle_v4): more error checking and more correct
936 * server.c (v5_loop, kadmind_loop): more error checking and more
937 correct error messages
939 1999-07-24 Assar Westerlund <assar@sics.se>
941 * util.c (str2timeval, edit_time): functions for parsing and
942 editing times. Based on patches from Love <lha@stacken.kth.se>.
943 (edit_entry): call new functions
945 * mod.c (mod_entry): allow modifying expiration times
947 * kadmin_locl.h (str2timeval): add prototype
949 * ank.c (add_one_principal): allow setting expiration times
951 1999-07-03 Assar Westerlund <assar@sics.se>
953 * server.c (v5_loop): handle data allocation with krb5_data_alloc
954 and check return value
956 1999-06-23 Assar Westerlund <assar@sics.se>
958 * version4.c (kadm_ser_cpw): read the key in the strange order
961 * util.c (edit_entry): look at default
962 (edit_time): always set mask even if value == 0
964 * kadmin_locl.h (edit_entry): update
966 * ank.c: make ank use the values of the default principal for
969 * version4.c (values_to_ent): convert key data correctly
971 1999-05-23 Assar Westerlund <assar@sics.se>
973 * init.c (create_random_entry): more correct setting of mask
975 1999-05-21 Assar Westerlund <assar@sics.se>
977 * server.c (handle_v5): read sendauth version correctly.
979 1999-05-14 Assar Westerlund <assar@sics.se>
981 * version4.c (error_code): try to handle really old krb4
984 1999-05-11 Assar Westerlund <assar@sics.se>
986 * init.c (init): initialize realm_max_life and realm_max_rlife
988 1999-05-07 Assar Westerlund <assar@sics.se>
990 * ank.c (add_new_key): initialize more variables
992 1999-05-04 Assar Westerlund <assar@sics.se>
994 * version4.c (kadm_ser_cpw): always allow a user to change her
996 (kadm_ser_*): make logging work
997 clean-up and restructure
999 * kadmin_locl.h (set_entry): add prototype
1001 * kadmin.c (usage): update usage string
1003 * init.c (init): new arguments realm-max-ticket-life and
1004 realm-max-renewable-life
1006 * util.c (edit_time, edit_attributes): don't do anything if it's
1008 (set_entry): new function
1010 * ank.c (add_new_key): new options for setting max-ticket-life,
1011 max-renewable-life, and attributes
1013 * server.c (v5_loop): remove unused variable
1015 * kadmin_locl.h: add prototypes
1017 * version4.c: re-insert krb_err.h and other miss
1019 * server.c (kadmind_loop): break-up and restructure
1021 * version4.c: add ACL checks more error code checks restructure
1023 1999-05-03 Johan Danielsson <joda@pdc.kth.se>
1025 * load.c: check for (un-)encrypted keys
1027 * dump.c: use hdb_print_entry
1029 * version4.c: version 4 support
1031 * Makefile.am: link with krb4
1033 * kadmin_locl.h: include <sys/un.h>
1035 * server.c: move from lib/kadm5, and add basic support for krb4
1038 * kadmind.c: move recvauth to kadmind_loop()