MFC 1.36: Fix a bug in the mount scan.
[dragonfly.git] / crypto / heimdal-0.6.3 / kadmin / ChangeLog
blob8bfbeed7fd5f496b8c0e4ec6d34d9386751dd253
1 2004-04-29  Love Hörquist Åstrand  <lha@it.su.se>
3         * version4.c: 1.30: (handle_v4): make sure length is longer then
4         2, Pointed out by Evgeny Demidov <demidov@gleg.net>
5         
6         * kadmind.c: 1.31: make kerberos4 support default turned off
7         
8 2003-04-14  Love Hörquist Åstrand  <lha@it.su.se>
10         * util.c: cast argument to tolower to unsigned char, from
11         Christian Biere <christianbiere@gmx.de> via NetBSD
12         
13 2003-04-06  Love Hörquist Åstrand <lha@it.su.se>
15         * kadmind.8: s/kerberos/Kerberos/
16         
17 2003-03-31  Love Hörquist Åstrand  <lha@it.su.se>
19         * kadmin.8: initialises -> initializes, from Perry E. Metzger"
20         <perry@piermont.com>
22         * kadmin.c: principal, not pricipal. From Thomas Klausner
23         <wiz@netbsd.org>
25 2003-02-04  Love Hörquist Åstrand  <lha@it.su.se>
27         * kadmind.8: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
28         
29         * kadmin.8: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
30         
31 2003-01-29  Love Hörquist Åstrand  <lha@it.su.se>
33         * server.c (kadmind_dispatch): kadm_chpass: require the password
34         to pass the password quality check in case the user changes the
35         user's own password kadm_chpass_with_key: disallow the user to
36         change it own password to a key, since that password might violate
37         the password quality check.
39 2002-10-23  Assar Westerlund  <assar@kth.se>
41         * version4.c (decode_packet): check the length of the version
42         string and that rlen has a reasonable value
44 2002-10-21  Johan Danielsson  <joda@pdc.kth.se>
46         * version4.c: check size of rlen
48 2002-09-10  Johan Danielsson  <joda@pdc.kth.se>
50         * server.c: constify match_appl_version()
52         * version4.c: change some lingering krb_err_base
54 2002-09-09  Jacques Vidrine  <nectar@kth.se>
56         * server.c (kadmind_dispatch): while decoding arguments for
57         kadm_chpass_with_key, sanity check the number of keys given.
58         Potential problem pointed out by
59         Sebastian Krahmer <krahmer@suse.de>.
61 2002-09-04  Johan Danielsson  <joda@pdc.kth.se>
63         * load.c (parse_generation): return if there is no generation
64         (spotted by Daniel Kouril)
66 2002-06-07  Jacques Vidrine <n@nectar.com>
68         * ank.c: do not attempt to free uninitialized pointer when
69         kadm5_randkey_principal fails.
71 2002-06-07  Johan Danielsson  <joda@pdc.kth.se>
73         * util.c: remove unused variable; reported by Hans Insulander
75 2002-03-05  Johan Danielsson  <joda@pdc.kth.se>
77         * kadmind.8: clarify some acl wording, and add an example file
79 2002-02-11  Johan Danielsson  <joda@pdc.kth.se>
81         * ext.c: no need to use the "modify" keytab anymore
83 2001-09-20  Assar Westerlund  <assar@sics.se>
85         * add-random-users.c: allocate several buffers for the list of
86         words, instead of one strdup per word (running under efence does
87         not work very well otherwise)
89 2001-09-13  Assar Westerlund  <assar@sics.se>
91         * add-random-users.c: allow specifying the number of users to
92         create
94 2001-08-24  Assar Westerlund  <assar@sics.se>
96         * Makefile.am: rename variable name to avoid error from current
97         automake
99 2001-08-22  Assar Westerlund  <assar@sics.se>
101         * kadmin_locl.h: include libutil.h if it exists
103 2001-08-10  Johan Danielsson  <joda@pdc.kth.se>
105         * util.c: do something to handle C-c in prompts
107         * load.c: remove unused etypes code, and add parsing of the
108         generation field
110         * ank.c: add a --use-defaults option to just use default values
111         without questions
113         * kadmin.c: add "del" alias for delete
115         * cpw.c: call this operation "passwd" in usage
117         * kadmin_locl.h: prototype for set_defaults
119         * util.c (edit_entry): move setting of default values to a
120         separate function, set_defaults
122 2001-08-01  Johan Danielsson  <joda@pdc.kth.se>
124         * kadmin.c: print help message on bad options
126 2001-07-31  Assar Westerlund  <assar@sics.se>
128         * add-random-users.c (main): handle --version
130 2001-07-30  Johan Danielsson  <joda@pdc.kth.se>
132         * load.c: increase line buffer to 8k
134 2001-06-12  Assar Westerlund  <assar@sics.se>
136         * ext.c (ext_keytab): use the default modify keytab per default
138 2001-05-17  Assar Westerlund  <assar@sics.se>
140         * kadm_conn.c (start_server): fix krb5_eai_to_heim_errno call
142 2001-05-15  Assar Westerlund  <assar@sics.se>
144         * kadmin.c (main): some error cleaning required
146 2001-05-14  Assar Westerlund  <assar@sics.se>
148         * kadmind.c: new krb5_config_parse_file
149         * kadmin.c: new krb5_config_parse_file
150         * kadm_conn.c: update to new krb5_sockaddr2address
152 2001-05-07  Assar Westerlund  <assar@sics.se>
154         * kadmin_locl.h (foreach_principal): update prototype
155         * get.c (getit): new foreach_principal
156         * ext.c (ext_keytab): new foreach_principal
157         * del.c (del_entry): new foreach_principal
158         * cpw.c (cpw_entry): new foreach_principal
159         * util.c (foreach_principal): add `funcname' and try printing the
160         error string
162 2001-05-04  Johan Danielsson  <joda@pdc.kth.se>
164         * rename.c: fix argument number test
165         
166 2001-04-19  Johan Danielsson  <joda@pdc.kth.se>
168         * del_enctype.c: fix argument count check after getarg change;
169         spotted by mark@MCS.VUW.AC.NZ
171 2001-02-15  Assar Westerlund  <assar@sics.se>
173         * kadmind.c (main): use a `struct sockaddr_storage' to be able to
174         store all types of addresses
176 2001-02-07  Assar Westerlund  <assar@sics.se>
178         * kadmin.c: add --keytab / _K, from Leif Johansson
179         <leifj@it.su.se>
181 2001-01-29  Assar Westerlund  <assar@sics.se>
183         * kadm_conn.c (spawn_child): close the newly created socket in the
184         packet, it's not used.  from <shadow@dementia.org>
185         * version4.c (decode_packet): check success of
186         krb5_425_conv_principal.  from <shadow@dementia.org>
188 2001-01-12  Assar Westerlund  <assar@sics.se>
190         * util.c (parse_attributes): make empty string mean no attributes,
191         specifying the empty string at the command line should give you no
192         attributes, but just pressing return at the prompt gives you
193         default attributes
194         (edit_entry): only pick up values from the default principal if they
195         aren't set in the principal being edited
197 2001-01-04  Assar Westerlund  <assar@sics.se>
199         * load.c (doit): print an error and bail out if storing an entry
200         in the database fails.  The most likely reason for it failing is
201         out-of-space.
203 2000-12-31  Assar Westerlund  <assar@sics.se>
205         * kadmind.c (main): handle krb5_init_context failure consistently
206         * kadmin.c (main): handle krb5_init_context failure consistently
207         * add-random-users.c (add_user): handle krb5_init_context failure
208         consistently
210         * kadm_conn.c (spawn_child): use a struct sockaddr_storage
212 2000-12-15  Johan Danielsson  <joda@pdc.kth.se>
214         * get.c: avoid asprintf'ing NULL strings
216 2000-12-14  Johan Danielsson  <joda@pdc.kth.se>
218         * load.c: fix option parsing
220 2000-11-16  Assar Westerlund  <assar@sics.se>
222         * kadm_conn.c (wait_for_connection): check for fd's being too
223         large to select on
225 2000-11-09  Johan Danielsson  <joda@pdc.kth.se>
227         * get.c: don't try to print modifier name if it isn't set (from
228         Jacques A. Vidrine" <n@nectar.com>)
230 2000-09-19  Assar Westerlund  <assar@sics.se>
232         * server.c (kadmind_loop): send in keytab to v4 handling function
233         * version4.c: allow the specification of what keytab to use
235         * get.c (print_entry_long): actually print the actual saltvalue
236         used if it's not the default
238 2000-09-10  Johan Danielsson  <joda@pdc.kth.se>
240         * kadmin.c: add option parsing, and add `privs' as an alias for
241         `privileges'
243         * init.c: complain if there's no realm name specified
245         * rename.c: add option parsing
247         * load.c: add option parsing
249         * get.c: make `get' and `list' aliases to each other, but with
250         different defaults
252         * del_enctype.c: add option parsing
254         * del.c: add option parsing
256         * ank.c: calling the command `add' make more sense from an english
257         pov
259         * Makefile.am: add kadmin manpage
261         * kadmin.8: short manpage
263         * kadmin.c: `quit' should be a alias for `exit', not `help'
265 2000-08-27  Assar Westerlund  <assar@sics.se>
267         * server.c (handle_v5): do not try to perform stupid stunts when
268         printing errors
270 2000-08-19  Assar Westerlund  <assar@sics.se>
272         * util.c (str2time_t): add alias for `now'.
274 2000-08-18  Assar Westerlund  <assar@sics.se>
276         * server.c (handle_v5): accept any kadmin/admin@* principal as the
277         server
278         * kadmind.c: remove extra prototype of kadmind_loop
279         * kadmin_locl.h (kadmind_loop): add prototype
280         
281         * init.c (usage): print init-usage and not add-dito
282         
283 2000-08-07  Johan Danielsson  <joda@pdc.kth.se>
285         * kadmind.c: use roken_getsockname
287 2000-08-07  Assar Westerlund  <assar@sics.se>
289         * kadmind.c, kadm_conn.c: use socklen_t instead of int where
290         appropriate.  From <thorpej@netbsd.org>
292 2000-08-04  Johan Danielsson  <joda@pdc.kth.se>
294         * Makefile.am: link with pidfile library
296         * kadmind.c: write a pid file, and setup password quality
297         functions
299         * kadmin_locl.h: util.h
301 2000-07-27  Assar Westerlund  <assar@sics.se>
303         * version4.c (decode_packet): be totally consistent with the
304         prototype of des_cbc_cksum
305         * kadmind.c: use sa_size instead of sa_len, some systems define
306         this to emulate anonymous unions
307         * kadm_conn.c: use sa_size instead of sa_len, some systems define
308         this to emulate anonymous unions
310 2000-07-24  Assar Westerlund  <assar@sics.se>
312         * kadmin.c (commands): add quit
313         * load.c (doit): truncate the log since there's no way of knowing
314         what changes are going to be added
316 2000-07-23  Assar Westerlund  <assar@sics.se>
318         * util.c (str2time_t): be more careful with strptime that might
319         zero out the `struct tm'
321 2000-07-22  Johan Danielsson  <joda@pdc.kth.se>
323         * kadm_conn.c: make the parent process wait for children and
324         terminate after receiving a signal, also terminate on SIGINT
326 2000-07-22  Assar Westerlund  <assar@sics.se>
328         * version4.c: map both princ_expire_time and pw_expiration to v4
329         principal expiration
331 2000-07-22  Johan Danielsson  <joda@pdc.kth.se>
333         * version4.c (handle_v4): check for termination
335         * server.c (v5_loop): check for termination
337         * kadm_conn.c (wait_term): if we're doing something, set just set
338         a flag otherwise exit rightaway
340         * server.c: use krb5_read_priv_message; (v5_loop): check for EOF
342 2000-07-21  Assar Westerlund  <assar@sics.se>
344         * kadm_conn.c: remove sys/select.h.  make signal handlers
345         type-correct and static
347         * kadmin_locl.h: add limits.h and sys/select.h
349 2000-07-20  Assar Westerlund  <assar@sics.se>
351         * init.c (init): also create `kadmin/hprop'
352         * kadmind.c: ports is a string argument
353         * kadm_conn.c (start_server): fix printf format
355         * kadmin_locl.h: add <sys/select.h>
356         * kadm_conn.c: remove sys/select.h.  make signal handlers
357         type-correct and static
359         * kadmin_locl.h: add limits.h and sys/select.h
361 2000-07-17  Johan Danielsson  <joda@pdc.kth.se>
363         * kadm_conn.c: put all processes in a new process group
365         * server.c (v5_loop): use krb5_{read,write}_priv_message
367 2000-07-11  Johan Danielsson  <joda@pdc.kth.se>
369         * version4.c: change log strings to match the v5 counterparts
371         * mod.c: allow setting kvno
373         * kadmind.c: if stdin is not a socket create and listen to sockets
375         * kadm_conn.c: socket creation functions
377         * util.c (deltat2str): treat 0 and INT_MAX as never
379 2000-07-08  Assar Westerlund  <assar@sics.se>
381         * Makefile.am (INCLUDES): add ../lib/krb5
382         * kadmin_locl.h: add krb5_locl.h (since we just use some stuff
383         from there)
385 2000-06-07  Assar Westerlund  <assar@sics.se>
387         * add-random-users.c: new testing program that adds a number of
388         randomly generated users
390 2000-04-12  Assar Westerlund  <assar@sics.se>
392         * cpw.c (do_cpw_entry): call set_password if no argument is given,
393         it will prompt for the password.
394         * kadmin.c: make help only print the commands that are actually
395         available.
397 2000-04-03  Assar Westerlund  <assar@sics.se>
399         * del_enctype.c (del_enctype): set ignore correctly
401 2000-04-02  Assar Westerlund  <assar@sics.se>
403         * kadmin.c (main): make parse errors a fatal error
404         * init.c (init): create changepw/kerberos with disallow-tgt and
405         pwchange attributes
407 2000-03-23  Assar Westerlund  <assar@sics.se>
409         * util.c (hex2n, parse_des_key): add
410         * server.c (kadmind_dispatch): add kadm_chpass_with_key
411         * cpw.c: add --key
412         * ank.c: add --key
414 2000-02-16  Assar Westerlund  <assar@sics.se>
416         * load.c (doit): check return value from parse_hdbflags2int
417         correctly
419 2000-01-25  Assar Westerlund  <assar@sics.se>
421         * load.c: checking all parsing for errors and all memory
422         allocations also
424 2000-01-02  Assar Westerlund  <assar@sics.se>
426         * server.c: check initial flag in ticket and allow users to change
427         their own password if it's set
428         * ext.c (do_ext_keytab): set timestamp
430 1999-12-14  Assar Westerlund  <assar@sics.se>
432         * del_enctype.c (usage): don't use arg_printusage
434 1999-11-25  Assar Westerlund  <assar@sics.se>
436         * del_enctype.c (del_enctype): try not to leak memory
438         * version4.c (kadm_ser_mod): use kadm5_s_modify_principal (no
439         _with_key)
441         * kadmin.c: add `del_enctype'
443         * del_enctype.c (del_enctype): new function for deleting enctypes
444         from a principal
446         * Makefile.am (kadmin_SOURCES): add del_enctype.c
448 1999-11-09  Johan Danielsson  <joda@pdc.kth.se>
450         * server.c: cope with old clients
452         * kadmin_locl.h: remove version string
454 1999-10-17  Assar Westerlund  <assar@sics.se>
456         * Makefile.am (kadmin_LDADD): add LIB_dlopen
458 1999-10-01  Assar Westerlund  <assar@sics.se>
460         * ank.c (add_one_principal): `password' can cactually be NULL in
461         the overwrite code, check for it.
463 1999-09-20  Assar Westerlund  <assar@sics.se>
465         * mod.c (mod_entry): print the correct principal name in error
466         messages.  From Love <lha@e.kth.se>
468 1999-09-10  Assar Westerlund  <assar@sics.se>
470         * init.c (init): also create `changepw/kerberos'
472         * version4.c: only create you loose packets when we fail decoding
473         and not when an operation is not performed for some reason
474         (decode_packet): read the service key from the hdb
475         (dispatch, decode_packet): return proper error messages
477         * version4.c (kadm_ser_cpw): add password quality functions
479 1999-08-27  Johan Danielsson  <joda@pdc.kth.se>
481         * server.c (handle_v5): give more informative message if
482         KRB5_KT_NOTFOUND
484 1999-08-26  Johan Danielsson  <joda@pdc.kth.se>
486         * kadmind.c: use HDB keytabs
488 1999-08-25  Assar Westerlund  <assar@sics.se>
490         * cpw.c (set_password): use correct variable.  From Love
491         <lha@e.kth.se>
493         * server.c (v5_loop): use correct error code
495         * ank.c (add_one_principal): initialize `default_ent'
497 1999-08-21  Assar Westerlund  <assar@sics.se>
499         * random_password.c: new file, stolen from krb4
501         * kadmin_locl.h: add prototype for random_password
503         * cpw.c: add support for --random-password
505         * ank.c: add support for --random-password
507         * Makefile.am (kadmin_SOURCES): add random_password.c
509 1999-08-19  Assar Westerlund  <assar@sics.se>
511         * util.c (edit_timet): break when we manage to parse the time not
512         the inverse.
514         * mod.c: add parsing of lots of options.  From Love
515         <lha@stacken.kth.se>
517         * ank.c: add setting of expiration and password expiration
519         * kadmin_locl.h: update util.c prototypes
521         * util.c: move-around.  clean-up, rename, make consistent (and
522         some other weird stuff).  based on patches from Love
523         <lha@stacken.kth.se>
525         * version4.c (kadm_ser_cpw): initialize password
526         (handle_v4): remove unused variable `ret'
528 1999-08-16  Assar Westerlund  <assar@sics.se>
530         * version4.c (handle_v4): more error checking and more correct
531         error messages
533         * server.c (v5_loop, kadmind_loop): more error checking and more
534         correct error messages
536 1999-07-24  Assar Westerlund  <assar@sics.se>
538         * util.c (str2timeval, edit_time): functions for parsing and
539         editing times.  Based on patches from Love <lha@stacken.kth.se>.
540         (edit_entry): call new functions
542         * mod.c (mod_entry): allow modifying expiration times
544         * kadmin_locl.h (str2timeval): add prototype
546         * ank.c (add_one_principal): allow setting expiration times
548 1999-07-03  Assar Westerlund  <assar@sics.se>
550         * server.c (v5_loop): handle data allocation with krb5_data_alloc
551         and check return value
553 1999-06-23  Assar Westerlund  <assar@sics.se>
555         * version4.c (kadm_ser_cpw): read the key in the strange order
556         it's sent
558         * util.c (edit_entry): look at default
559         (edit_time): always set mask even if value == 0
561         * kadmin_locl.h (edit_entry): update
563         * ank.c: make ank use the values of the default principal for
564         prompting
566         * version4.c (values_to_ent): convert key data correctly
568 1999-05-23  Assar Westerlund  <assar@sics.se>
570         * init.c (create_random_entry): more correct setting of mask
572 1999-05-21  Assar Westerlund  <assar@sics.se>
574         * server.c (handle_v5): read sendauth version correctly.
576 1999-05-14  Assar Westerlund  <assar@sics.se>
578         * version4.c (error_code): try to handle really old krb4
579         distributions
581 1999-05-11  Assar Westerlund  <assar@sics.se>
583         * init.c (init): initialize realm_max_life and realm_max_rlife
585 1999-05-07  Assar Westerlund  <assar@sics.se>
587         * ank.c (add_new_key): initialize more variables
589 1999-05-04  Assar Westerlund  <assar@sics.se>
591         * version4.c (kadm_ser_cpw): always allow a user to change her
592         password
593         (kadm_ser_*): make logging work
594         clean-up and restructure
595         
596         * kadmin_locl.h (set_entry): add prototype
598         * kadmin.c (usage): update usage string
600         * init.c (init): new arguments realm-max-ticket-life and
601         realm-max-renewable-life
603         * util.c (edit_time, edit_attributes): don't do anything if it's
604         already set
605         (set_entry): new function
607         * ank.c (add_new_key): new options for setting max-ticket-life,
608         max-renewable-life, and attributes
610         * server.c (v5_loop): remove unused variable
612         * kadmin_locl.h: add prototypes
614         * version4.c: re-insert krb_err.h and other miss
616         * server.c (kadmind_loop): break-up and restructure
618         * version4.c: add ACL checks more error code checks restructure
619         
620 1999-05-03  Johan Danielsson  <joda@pdc.kth.se>
622         * load.c: check for (un-)encrypted keys
624         * dump.c: use hdb_print_entry
625         
626         * version4.c: version 4 support
628         * Makefile.am: link with krb4
630         * kadmin_locl.h: include <sys/un.h>
632         * server.c: move from lib/kadm5, and add basic support for krb4
633         kadmin protocol
635         * kadmind.c: move recvauth to kadmind_loop()