x
[heimdal.git] / kadmin / ChangeLog
blob779aa4df9fe735c153bf2bf5efea40c5daa29314
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
10         
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
20         principal.
21         
22 2007-02-17  Love Hörnquist Åstrand  <lha@it.su.se>
23         
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.
37         
38 2006-12-05  Love Hörnquist Åstrand  <lha@it.su.se>
39         
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
42         Sandell.
43         
44 2006-10-22  Love Hörnquist Åstrand  <lha@it.su.se>
45         
46         * mod.c: Try to not leak memory.
48         * check.c: Try to not leak memory.
49         
50 2006-10-07  Love Hörnquist Åstrand  <lha@it.su.se>
51         
52         * Makefile.am: split build files into dist_ and noinst_ SOURCES
53         
54 2006-08-28  Love Hörnquist Åstrand <lha@it.su.se>
56         * kadmin.c (help): use sl_slc_help().
57         
58 2006-08-24  Love Hörnquist Åstrand  <lha@it.su.se>
60         * util.c: Add KRB5_KDB_ALLOW_DIGEST
61         
62 2006-07-14  Love Hörnquist Åstrand  <lha@it.su.se>
63         
64         * get.c (format_field): optionally print issuer and anchor.
65         
66 2006-06-21  Love Hörnquist Åstrand  <lha@it.su.se>
67         
68         * check.c: Check if afs@REALM and afs/cellname@REALM both exists.
69         
70 2006-06-14  Love Hörnquist Åstrand  <lha@it.su.se>
72         * util.c (kdb_attrs): Add KRB5_KDB_ALLOW_KERBEROS4
73         
74 2006-06-07  Love Hörnquist Åstrand  <lha@it.su.se>
76         * mod.c (do_mod_entry): Add setting 1 delegation entry
77         
78 2006-06-01  Love Hörnquist Åstrand  <lha@it.su.se>
79         
80         * server.c: Less shadowing.
81         
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
93         principals.
94         
95 2006-05-08  Love Hörnquist Åstrand  <lha@it.su.se>
96         
97         * server.c (kadm_get_privs): one less "pointer targets in passing
98         argument differ in signedness" warning.
99         
100 2006-05-05  Love Hörnquist Åstrand  <lha@it.su.se>
101         
102         * dump-format.txt: Moved to info documentation.
104         * Rename u_intXX_t to uintXX_t
105         
106 2006-05-01  Love Hörnquist Åstrand  <lha@it.su.se>
108         * kadmin.8: spelling, update .Dd
109         
110 2006-04-12  Love Hörnquist Åstrand  <lha@it.su.se>
112         * add-random-users.c: Catch empty file case. From Tobias
113         Stoeckmann.
114         
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
119         
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
127         them.
128         
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.
144         
145 2005-12-01  Love Hörnquist Åstrand <lha@it.su.se>
146         
147         * kadmin-commands.in: Add ank as an alias to add, it lost in
148         transition to slc, from Måns Nilsson.
149         
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
158         <abartlet@samba.org>
159         
160 2005-09-01  Love Hörquist Åstrand  <lha@it.su.se>
162         * kadm_conn.c: Use socket_set_reuseaddr and socket_set_ipv6only.
163         
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
167         TL_DATA patch).
169         * kadmin-commands.in: Rename password-quality to
170         verify-password-quality.
171         
172         * get.c: Indent.
173         
174         * server.c: Avoid shadowing exp().
176         * load.c: Parse extensions.
178         * kadmin_locl.h: Include <hex.h>.
179         
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
183         the salting).
184         
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.
192         
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
215         a value
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
231         <jfh@cise.ufl.edu>
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
244         
245         * kadmin.8: use keeps around options, "improve" spelling, from
246         openbsd
248 2004-11-01  Love Hörquist Åstrand  <lha@it.su.se>
250         * get.c (getit): always free columns
251         
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>
259         
260 2004-08-13  Love Hörquist Åstrand  <lha@it.su.se>
262         * get.c: print keytypes on long format
263         
264 2004-07-06  Love Hörquist Åstrand  <lha@it.su.se>
266         * get.c (format_field): allow mod_name to be optional
267         
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
274         
275         * del.c: fix usage string
276         
277         * ank.c: fix slc lossage
278         
279 2004-06-28  Love Hörquist Åstrand  <lha@it.su.se>
281         * kadmin.c: use kadm5_ad_init_with_password_ctx
282         
283 2004-06-27  Johan Danielsson  <joda@pdc.kth.se>
285         * kadmin.8: document get -o and stash
286         
287         * get.c: implement output column selection, similar to ps -o
288         
289         * kadmin-commands.in: make get -l the default again, and add
290         column selection flag; sync list with get
291         
292 2004-06-24  Johan Danielsson  <joda@pdc.kth.se>
294         * kadmin-commands.in: mod needs default kvno of -1
295         
296 2004-06-21  Johan Danielsson  <joda@pdc.kth.se>
297         
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
303         
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>
308         
309         * kadmin.c: if keyfile is set, pass in to libkadm5 bug pointed out
310         by Elrond <elrond@samba-tng.org>
311         
312 2004-05-31  Love Hörquist Åstrand  <lha@it.su.se>
314         * kadmin.c: add --ad flag, XXX rewrite the init kadm5 interface
315         
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
323         McEwan/Mark Davies.
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>
329         
330         * kadmind.c: make kerberos4 support default turned off
331         
332 2004-03-24  Johan Danielsson  <joda@pdc.kth.se>
334         * kadmin.8: update manpage
335         
336         * mod.c: allow wildcarding principals, and make parameters a work
337         same as if prompted
338         
339 2004-03-08  Love Hörquist Åstrand  <lha@it.su.se>
341         * kadmin.8: document password-quality
342         
343         * kadmin_locl.h: add prototype for password_quality
344         
345         * kadmin.c: add password-quality/pwq command
346         
347         * Makefile.am: kadmin_SOURCES += pw_quality.c
348         
349         * pw_quality.c: test run the password quality function
350         
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
355         
356 2003-12-07  Love Hörquist Åstrand  <lha@it.su.se>
358         * init.c (create_random_entry): print error message on failure
359         
360         * ank.c (add_one_principal): pass right argument to
361         kadm5_free_principal_ent From Panasas, Inc
362         
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>
368         
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
373         
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/
377         
378         * cpw.c: s/des_read_pw_string/UI_UTIL_read_pw_string/
379         
380 2003-08-21  Love Hörquist Åstrand  <lha@it.su.se>
382         * get.c (print_entry_terse): handle error when unparsing name
383         
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=
388         
389         * kadmin.c (main): use krb5_prepend_config_files_default, now all
390         options in kdc.conf is parsed, not just [kdc]key-file=
391         
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
396         
397 2003-04-06  Love Hörquist Åstrand <lha@it.su.se>
399         * kadmind.8: s/kerberos/Kerberos/
400         
401 2003-03-31  Love Hörquist Åstrand  <lha@it.su.se>
403         * kadmin.8: initialises -> initializes, from Perry E. Metzger"
404         <perry@piermont.com>
406         * kadmin.c: principal, not pricipal. From Thomas Klausner
407         <wiz@netbsd.org>
409 2003-02-04  Love Hörquist Åstrand  <lha@it.su.se>
411         * kadmind.8: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
412         
413         * kadmin.8: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
414         
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
432         fails
434         * init.c: check return value from edit_deltat
436         * init.c: add --help
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
495         create
497 2001-08-24  Assar Westerlund  <assar@sics.se>
499         * Makefile.am: rename variable name to avoid error from current
500         automake
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
511         generation field
513         * ank.c: add a --use-defaults option to just use default values
514         without questions
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
563         error string
565 2001-05-04  Johan Danielsson  <joda@pdc.kth.se>
567         * rename.c: fix argument number test
568         
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
582         <leifj@it.su.se>
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
596         default attributes
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
604         out-of-space.
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
611         consistently
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
626         large to select on
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
644         `privileges'
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
653         different defaults
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
660         pov
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
671         printing errors
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
680         server
681         * kadmind.c: remove extra prototype of kadmind_loop
682         * kadmin_locl.h (kadmind_loop): add prototype
683         
684         * init.c (usage): print init-usage and not add-dito
685         
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
700         functions
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
732         principal expiration
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
786         from there)
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
798         available.
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
808         pwchange attributes
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
814         * cpw.c: add --key
815         * ank.c: add --key
817 2000-02-16  Assar Westerlund  <assar@sics.se>
819         * load.c (doit): check return value from parse_hdbflags2int
820         correctly
822 2000-01-25  Assar Westerlund  <assar@sics.se>
824         * load.c: checking all parsing for errors and all memory
825         allocations also
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
842         _with_key)
844         * kadmin.c: add `del_enctype'
846         * del_enctype.c (del_enctype): new function for deleting enctypes
847         from a principal
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
885         KRB5_KT_NOTFOUND
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
894         <lha@e.kth.se>
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
915         the inverse.
917         * mod.c: add parsing of lots of options.  From Love
918         <lha@stacken.kth.se>
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
926         <lha@stacken.kth.se>
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
934         error messages
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
959         it's sent
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
967         prompting
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
982         distributions
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
995         password
996         (kadm_ser_*): make logging work
997         clean-up and restructure
998         
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
1007         already set
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
1022         
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
1028         
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
1036         kadmin protocol
1038         * kadmind.c: move recvauth to kadmind_loop()