1 2002-10-21 Johan Danielsson <joda@pdc.kth.se>
3 * version4.c: pull up 1.27; check size of rlen
5 2002-09-10 Johan Danielsson <joda@pdc.kth.se>
7 * server.c: constify match_appl_version()
9 * version4.c: change some lingering krb_err_base
11 2002-09-09 Jacques Vidrine <nectar@kth.se>
13 * server.c (kadmind_dispatch): while decoding arguments for
14 kadm_chpass_with_key, sanity check the number of keys given.
15 Potential problem pointed out by
16 Sebastian Krahmer <krahmer@suse.de>.
18 2002-09-04 Johan Danielsson <joda@pdc.kth.se>
20 * load.c (parse_generation): return if there is no generation
21 (spotted by Daniel Kouril)
23 2002-06-07 Jacques Vidrine <n@nectar.com>
25 * ank.c: do not attempt to free uninitialized pointer when
26 kadm5_randkey_principal fails.
28 2002-06-07 Johan Danielsson <joda@pdc.kth.se>
30 * util.c: remove unused variable; reported by Hans Insulander
32 2002-03-05 Johan Danielsson <joda@pdc.kth.se>
34 * kadmind.8: clarify some acl wording, and add an example file
36 2002-02-11 Johan Danielsson <joda@pdc.kth.se>
38 * ext.c: no need to use the "modify" keytab anymore
40 2001-09-20 Assar Westerlund <assar@sics.se>
42 * add-random-users.c: allocate several buffers for the list of
43 words, instead of one strdup per word (running under efence does
44 not work very well otherwise)
46 2001-09-13 Assar Westerlund <assar@sics.se>
48 * add-random-users.c: allow specifying the number of users to
51 2001-08-24 Assar Westerlund <assar@sics.se>
53 * Makefile.am: rename variable name to avoid error from current
56 2001-08-22 Assar Westerlund <assar@sics.se>
58 * kadmin_locl.h: include libutil.h if it exists
60 2001-08-10 Johan Danielsson <joda@pdc.kth.se>
62 * util.c: do something to handle C-c in prompts
64 * load.c: remove unused etypes code, and add parsing of the
67 * ank.c: add a --use-defaults option to just use default values
70 * kadmin.c: add "del" alias for delete
72 * cpw.c: call this operation "passwd" in usage
74 * kadmin_locl.h: prototype for set_defaults
76 * util.c (edit_entry): move setting of default values to a
77 separate function, set_defaults
79 2001-08-01 Johan Danielsson <joda@pdc.kth.se>
81 * kadmin.c: print help message on bad options
83 2001-07-31 Assar Westerlund <assar@sics.se>
85 * add-random-users.c (main): handle --version
87 2001-07-30 Johan Danielsson <joda@pdc.kth.se>
89 * load.c: increase line buffer to 8k
91 2001-06-12 Assar Westerlund <assar@sics.se>
93 * ext.c (ext_keytab): use the default modify keytab per default
95 2001-05-17 Assar Westerlund <assar@sics.se>
97 * kadm_conn.c (start_server): fix krb5_eai_to_heim_errno call
99 2001-05-15 Assar Westerlund <assar@sics.se>
101 * kadmin.c (main): some error cleaning required
103 2001-05-14 Assar Westerlund <assar@sics.se>
105 * kadmind.c: new krb5_config_parse_file
106 * kadmin.c: new krb5_config_parse_file
107 * kadm_conn.c: update to new krb5_sockaddr2address
109 2001-05-07 Assar Westerlund <assar@sics.se>
111 * kadmin_locl.h (foreach_principal): update prototype
112 * get.c (getit): new foreach_principal
113 * ext.c (ext_keytab): new foreach_principal
114 * del.c (del_entry): new foreach_principal
115 * cpw.c (cpw_entry): new foreach_principal
116 * util.c (foreach_principal): add `funcname' and try printing the
119 2001-05-04 Johan Danielsson <joda@pdc.kth.se>
121 * rename.c: fix argument number test
123 2001-04-19 Johan Danielsson <joda@pdc.kth.se>
125 * del_enctype.c: fix argument count check after getarg change;
126 spotted by mark@MCS.VUW.AC.NZ
128 2001-02-15 Assar Westerlund <assar@sics.se>
130 * kadmind.c (main): use a `struct sockaddr_storage' to be able to
131 store all types of addresses
133 2001-02-07 Assar Westerlund <assar@sics.se>
135 * kadmin.c: add --keytab / _K, from Leif Johansson
138 2001-01-29 Assar Westerlund <assar@sics.se>
140 * kadm_conn.c (spawn_child): close the newly created socket in the
141 packet, it's not used. from <shadow@dementia.org>
142 * version4.c (decode_packet): check success of
143 krb5_425_conv_principal. from <shadow@dementia.org>
145 2001-01-12 Assar Westerlund <assar@sics.se>
147 * util.c (parse_attributes): make empty string mean no attributes,
148 specifying the empty string at the command line should give you no
149 attributes, but just pressing return at the prompt gives you
151 (edit_entry): only pick up values from the default principal if they
152 aren't set in the principal being edited
154 2001-01-04 Assar Westerlund <assar@sics.se>
156 * load.c (doit): print an error and bail out if storing an entry
157 in the database fails. The most likely reason for it failing is
160 2000-12-31 Assar Westerlund <assar@sics.se>
162 * kadmind.c (main): handle krb5_init_context failure consistently
163 * kadmin.c (main): handle krb5_init_context failure consistently
164 * add-random-users.c (add_user): handle krb5_init_context failure
167 * kadm_conn.c (spawn_child): use a struct sockaddr_storage
169 2000-12-15 Johan Danielsson <joda@pdc.kth.se>
171 * get.c: avoid asprintf'ing NULL strings
173 2000-12-14 Johan Danielsson <joda@pdc.kth.se>
175 * load.c: fix option parsing
177 2000-11-16 Assar Westerlund <assar@sics.se>
179 * kadm_conn.c (wait_for_connection): check for fd's being too
182 2000-11-09 Johan Danielsson <joda@pdc.kth.se>
184 * get.c: don't try to print modifier name if it isn't set (from
185 Jacques A. Vidrine" <n@nectar.com>)
187 2000-09-19 Assar Westerlund <assar@sics.se>
189 * server.c (kadmind_loop): send in keytab to v4 handling function
190 * version4.c: allow the specification of what keytab to use
192 * get.c (print_entry_long): actually print the actual saltvalue
193 used if it's not the default
195 2000-09-10 Johan Danielsson <joda@pdc.kth.se>
197 * kadmin.c: add option parsing, and add `privs' as an alias for
200 * init.c: complain if there's no realm name specified
202 * rename.c: add option parsing
204 * load.c: add option parsing
206 * get.c: make `get' and `list' aliases to each other, but with
209 * del_enctype.c: add option parsing
211 * del.c: add option parsing
213 * ank.c: calling the command `add' make more sense from an english
216 * Makefile.am: add kadmin manpage
218 * kadmin.8: short manpage
220 * kadmin.c: `quit' should be a alias for `exit', not `help'
222 2000-08-27 Assar Westerlund <assar@sics.se>
224 * server.c (handle_v5): do not try to perform stupid stunts when
227 2000-08-19 Assar Westerlund <assar@sics.se>
229 * util.c (str2time_t): add alias for `now'.
231 2000-08-18 Assar Westerlund <assar@sics.se>
233 * server.c (handle_v5): accept any kadmin/admin@* principal as the
235 * kadmind.c: remove extra prototype of kadmind_loop
236 * kadmin_locl.h (kadmind_loop): add prototype
238 * init.c (usage): print init-usage and not add-dito
240 2000-08-07 Johan Danielsson <joda@pdc.kth.se>
242 * kadmind.c: use roken_getsockname
244 2000-08-07 Assar Westerlund <assar@sics.se>
246 * kadmind.c, kadm_conn.c: use socklen_t instead of int where
247 appropriate. From <thorpej@netbsd.org>
249 2000-08-04 Johan Danielsson <joda@pdc.kth.se>
251 * Makefile.am: link with pidfile library
253 * kadmind.c: write a pid file, and setup password quality
256 * kadmin_locl.h: util.h
258 2000-07-27 Assar Westerlund <assar@sics.se>
260 * version4.c (decode_packet): be totally consistent with the
261 prototype of des_cbc_cksum
262 * kadmind.c: use sa_size instead of sa_len, some systems define
263 this to emulate anonymous unions
264 * kadm_conn.c: use sa_size instead of sa_len, some systems define
265 this to emulate anonymous unions
267 2000-07-24 Assar Westerlund <assar@sics.se>
269 * kadmin.c (commands): add quit
270 * load.c (doit): truncate the log since there's no way of knowing
271 what changes are going to be added
273 2000-07-23 Assar Westerlund <assar@sics.se>
275 * util.c (str2time_t): be more careful with strptime that might
276 zero out the `struct tm'
278 2000-07-22 Johan Danielsson <joda@pdc.kth.se>
280 * kadm_conn.c: make the parent process wait for children and
281 terminate after receiving a signal, also terminate on SIGINT
283 2000-07-22 Assar Westerlund <assar@sics.se>
285 * version4.c: map both princ_expire_time and pw_expiration to v4
288 2000-07-22 Johan Danielsson <joda@pdc.kth.se>
290 * version4.c (handle_v4): check for termination
292 * server.c (v5_loop): check for termination
294 * kadm_conn.c (wait_term): if we're doing something, set just set
295 a flag otherwise exit rightaway
297 * server.c: use krb5_read_priv_message; (v5_loop): check for EOF
299 2000-07-21 Assar Westerlund <assar@sics.se>
301 * kadm_conn.c: remove sys/select.h. make signal handlers
302 type-correct and static
304 * kadmin_locl.h: add limits.h and sys/select.h
306 2000-07-20 Assar Westerlund <assar@sics.se>
308 * init.c (init): also create `kadmin/hprop'
309 * kadmind.c: ports is a string argument
310 * kadm_conn.c (start_server): fix printf format
312 * kadmin_locl.h: add <sys/select.h>
313 * kadm_conn.c: remove sys/select.h. make signal handlers
314 type-correct and static
316 * kadmin_locl.h: add limits.h and sys/select.h
318 2000-07-17 Johan Danielsson <joda@pdc.kth.se>
320 * kadm_conn.c: put all processes in a new process group
322 * server.c (v5_loop): use krb5_{read,write}_priv_message
324 2000-07-11 Johan Danielsson <joda@pdc.kth.se>
326 * version4.c: change log strings to match the v5 counterparts
328 * mod.c: allow setting kvno
330 * kadmind.c: if stdin is not a socket create and listen to sockets
332 * kadm_conn.c: socket creation functions
334 * util.c (deltat2str): treat 0 and INT_MAX as never
336 2000-07-08 Assar Westerlund <assar@sics.se>
338 * Makefile.am (INCLUDES): add ../lib/krb5
339 * kadmin_locl.h: add krb5_locl.h (since we just use some stuff
342 2000-06-07 Assar Westerlund <assar@sics.se>
344 * add-random-users.c: new testing program that adds a number of
345 randomly generated users
347 2000-04-12 Assar Westerlund <assar@sics.se>
349 * cpw.c (do_cpw_entry): call set_password if no argument is given,
350 it will prompt for the password.
351 * kadmin.c: make help only print the commands that are actually
354 2000-04-03 Assar Westerlund <assar@sics.se>
356 * del_enctype.c (del_enctype): set ignore correctly
358 2000-04-02 Assar Westerlund <assar@sics.se>
360 * kadmin.c (main): make parse errors a fatal error
361 * init.c (init): create changepw/kerberos with disallow-tgt and
364 2000-03-23 Assar Westerlund <assar@sics.se>
366 * util.c (hex2n, parse_des_key): add
367 * server.c (kadmind_dispatch): add kadm_chpass_with_key
371 2000-02-16 Assar Westerlund <assar@sics.se>
373 * load.c (doit): check return value from parse_hdbflags2int
376 2000-01-25 Assar Westerlund <assar@sics.se>
378 * load.c: checking all parsing for errors and all memory
381 2000-01-02 Assar Westerlund <assar@sics.se>
383 * server.c: check initial flag in ticket and allow users to change
384 their own password if it's set
385 * ext.c (do_ext_keytab): set timestamp
387 1999-12-14 Assar Westerlund <assar@sics.se>
389 * del_enctype.c (usage): don't use arg_printusage
391 1999-11-25 Assar Westerlund <assar@sics.se>
393 * del_enctype.c (del_enctype): try not to leak memory
395 * version4.c (kadm_ser_mod): use kadm5_s_modify_principal (no
398 * kadmin.c: add `del_enctype'
400 * del_enctype.c (del_enctype): new function for deleting enctypes
403 * Makefile.am (kadmin_SOURCES): add del_enctype.c
405 1999-11-09 Johan Danielsson <joda@pdc.kth.se>
407 * server.c: cope with old clients
409 * kadmin_locl.h: remove version string
411 1999-10-17 Assar Westerlund <assar@sics.se>
413 * Makefile.am (kadmin_LDADD): add LIB_dlopen
415 1999-10-01 Assar Westerlund <assar@sics.se>
417 * ank.c (add_one_principal): `password' can cactually be NULL in
418 the overwrite code, check for it.
420 1999-09-20 Assar Westerlund <assar@sics.se>
422 * mod.c (mod_entry): print the correct principal name in error
423 messages. From Love <lha@e.kth.se>
425 1999-09-10 Assar Westerlund <assar@sics.se>
427 * init.c (init): also create `changepw/kerberos'
429 * version4.c: only create you loose packets when we fail decoding
430 and not when an operation is not performed for some reason
431 (decode_packet): read the service key from the hdb
432 (dispatch, decode_packet): return proper error messages
434 * version4.c (kadm_ser_cpw): add password quality functions
436 1999-08-27 Johan Danielsson <joda@pdc.kth.se>
438 * server.c (handle_v5): give more informative message if
441 1999-08-26 Johan Danielsson <joda@pdc.kth.se>
443 * kadmind.c: use HDB keytabs
445 1999-08-25 Assar Westerlund <assar@sics.se>
447 * cpw.c (set_password): use correct variable. From Love
450 * server.c (v5_loop): use correct error code
452 * ank.c (add_one_principal): initialize `default_ent'
454 1999-08-21 Assar Westerlund <assar@sics.se>
456 * random_password.c: new file, stolen from krb4
458 * kadmin_locl.h: add prototype for random_password
460 * cpw.c: add support for --random-password
462 * ank.c: add support for --random-password
464 * Makefile.am (kadmin_SOURCES): add random_password.c
466 1999-08-19 Assar Westerlund <assar@sics.se>
468 * util.c (edit_timet): break when we manage to parse the time not
471 * mod.c: add parsing of lots of options. From Love
474 * ank.c: add setting of expiration and password expiration
476 * kadmin_locl.h: update util.c prototypes
478 * util.c: move-around. clean-up, rename, make consistent (and
479 some other weird stuff). based on patches from Love
482 * version4.c (kadm_ser_cpw): initialize password
483 (handle_v4): remove unused variable `ret'
485 1999-08-16 Assar Westerlund <assar@sics.se>
487 * version4.c (handle_v4): more error checking and more correct
490 * server.c (v5_loop, kadmind_loop): more error checking and more
491 correct error messages
493 1999-07-24 Assar Westerlund <assar@sics.se>
495 * util.c (str2timeval, edit_time): functions for parsing and
496 editing times. Based on patches from Love <lha@stacken.kth.se>.
497 (edit_entry): call new functions
499 * mod.c (mod_entry): allow modifying expiration times
501 * kadmin_locl.h (str2timeval): add prototype
503 * ank.c (add_one_principal): allow setting expiration times
505 1999-07-03 Assar Westerlund <assar@sics.se>
507 * server.c (v5_loop): handle data allocation with krb5_data_alloc
508 and check return value
510 1999-06-23 Assar Westerlund <assar@sics.se>
512 * version4.c (kadm_ser_cpw): read the key in the strange order
515 * util.c (edit_entry): look at default
516 (edit_time): always set mask even if value == 0
518 * kadmin_locl.h (edit_entry): update
520 * ank.c: make ank use the values of the default principal for
523 * version4.c (values_to_ent): convert key data correctly
525 1999-05-23 Assar Westerlund <assar@sics.se>
527 * init.c (create_random_entry): more correct setting of mask
529 1999-05-21 Assar Westerlund <assar@sics.se>
531 * server.c (handle_v5): read sendauth version correctly.
533 1999-05-14 Assar Westerlund <assar@sics.se>
535 * version4.c (error_code): try to handle really old krb4
538 1999-05-11 Assar Westerlund <assar@sics.se>
540 * init.c (init): initialize realm_max_life and realm_max_rlife
542 1999-05-07 Assar Westerlund <assar@sics.se>
544 * ank.c (add_new_key): initialize more variables
546 1999-05-04 Assar Westerlund <assar@sics.se>
548 * version4.c (kadm_ser_cpw): always allow a user to change her
550 (kadm_ser_*): make logging work
551 clean-up and restructure
553 * kadmin_locl.h (set_entry): add prototype
555 * kadmin.c (usage): update usage string
557 * init.c (init): new arguments realm-max-ticket-life and
558 realm-max-renewable-life
560 * util.c (edit_time, edit_attributes): don't do anything if it's
562 (set_entry): new function
564 * ank.c (add_new_key): new options for setting max-ticket-life,
565 max-renewable-life, and attributes
567 * server.c (v5_loop): remove unused variable
569 * kadmin_locl.h: add prototypes
571 * version4.c: re-insert krb_err.h and other miss
573 * server.c (kadmind_loop): break-up and restructure
575 * version4.c: add ACL checks more error code checks restructure
577 1999-05-03 Johan Danielsson <joda@pdc.kth.se>
579 * load.c: check for (un-)encrypted keys
581 * dump.c: use hdb_print_entry
583 * version4.c: version 4 support
585 * Makefile.am: link with krb4
587 * kadmin_locl.h: include <sys/un.h>
589 * server.c: move from lib/kadm5, and add basic support for krb4
592 * kadmind.c: move recvauth to kadmind_loop()