This commit was manufactured by cvs2svn to create tag
[heimdal.git] / lib / kadm5 / ChangeLog
blobfcda38ea3ef03a5c821777b1618055760afcbe95
1 2001-07-03  Assar Westerlund  <assar@sics.se>
3         * Makefile.am (libkadm5clnt_la_LDFLAGS): set version to 6:2:2
5 2001-06-29  Johan Danielsson  <joda@pdc.kth.se>
7         * init_c.c: call krb5_get_init_creds_opt_set_default_flags
9 2001-02-19  Johan Danielsson  <joda@pdc.kth.se>
11         * replay_log.c: add --{start-end}-version flags to replay just
12         part of the log
14 2001-02-15  Assar Westerlund  <assar@sics.se>
16         * ipropd_master.c (main): fix select-loop to decrement ret
17         correctly.  from "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
19 2001-01-30  Assar Westerlund  <assar@sics.se>
21         * Makefile.am: bump versions
23 2000-12-31  Assar Westerlund  <assar@sics.se>
25         * init_s.c (*): handle krb5_init_context failure consistently
26         * init_c.c (init_context): handle krb5_init_context failure
27         consistently
29 2000-12-11  Assar Westerlund  <assar@sics.se>
31         * Makefile.am (libkadm5srv_la_LDFLAGS): bump version to 7:2:0
33 2000-11-16  Assar Westerlund  <assar@sics.se>
35         * set_keys.c (make_keys): clean-up salting loop and try not to
36         leak memory
38         * ipropd_master.c (main): check for fd's being too large to select
39         on
41 2000-08-16  Assar Westerlund  <assar@sics.se>
43         * Makefile.am (libkadm5srv_la_LDFLAGS): bump version to 7:1:0
45 2000-08-10  Assar Westerlund  <assar@sics.se>
47         * acl.c (fetch_acl): fix wrong cases, use krb5_principal_match
49 2000-08-07  Assar Westerlund  <assar@sics.se>
51         * ipropd_master.c (main): ignore SIGPIPE
53 2000-08-06  Assar Westerlund  <assar@sics.se>
55         * ipropd_slave.c (receive_everything): make `fd' an int instead of
56         a pointer.  From Derrick J Brashear <shadow@dementia.org>
58 2000-08-04  Johan Danielsson  <joda@pdc.kth.se>
60         * admin.h: change void** to void*
62 2000-07-25  Johan Danielsson  <joda@pdc.kth.se>
64         * Makefile.am: bump versions to 7:0:0 and 6:0:2
66 2000-07-24  Assar Westerlund  <assar@sics.se>
68         * log.c (kadm5_log_get_version): rename kadm5_log_get_version_fd
69         and make a new that takes a context
70         (kadm5_log_nop): add logging of missing lengths
71         (kadm5_log_truncate): new function
73         * dump_log.c (print_entry): update and correct
74         * randkey_s.c: call _kadm5_bump_pw_expire
75         * truncate_log.c: new program for truncating the log
76         * Makefile.am (sbin_PROGRAMS): add truncate_log
77         (C_SOURCES): add bump_pw_expire.c
78         * bump_pw_expire.c: new function for extending password expiration
80 2000-07-22  Assar Westerlund  <assar@sics.se>
82         * keys.c: new file with _kadm5_free_keys, _kadm5_init_keys
84         * set_keys.c (free_keys, init_keys): elevate to internal kadm5
85         functions
87         * chpass_s.c (kadm5_s_chpass_principal_cond): new function
88         * Makefile.am (C_SOURCES): add keys.c
89         * init_c.c: remove unused variable and handle some parameters
90         being NULL
92 2000-07-22  Johan Danielsson  <joda@pdc.kth.se>
94         * ipropd_slave.c: use krb5_read_priv_message
96         * ipropd_master.c: use krb5_{read,write}_priv_message
98         * init_c.c: use krb5_write_priv_message
100 2000-07-11  Johan Danielsson  <joda@pdc.kth.se>
102         * ipropd_slave.c: no need to call gethostname, since
103         sname_to_principal will
105         * send_recv.c: assert that we have a connected socket
107         * get_princs_c.c: call _kadm5_connect
109         * rename_c.c: call _kadm5_connect
111         * randkey_c.c: call _kadm5_connect
113         * privs_c.c: call _kadm5_connect
115         * modify_c.c: call _kadm5_connect
117         * get_c.c: call _kadm5_connect
119         * delete_c.c: call _kadm5_connect
121         * create_c.c: call _kadm5_connect
123         * chpass_c.c: call _kadm5_connect
125         * private.h: add more fields to client context; remove prototypes
127         * admin.h: remove prototypes
129         * kadm5-protos.h: move public prototypes here
131         * kadm5-private.h: move private prototypes here
133         * init_c.c: break out connection code to separate function, and
134         defer calling it until we actually do something
136 2000-07-07  Assar Westerlund  <assar@sics.se>
138         * set_keys.c (make_keys): also support `[kadmin]use_v4_salt' for
139         backwards compatability
141 2000-06-26  Johan Danielsson  <joda@pdc.kth.se>
143         * set_keys.c (_kadm5_set_keys): rewrite this to be more easily
144         adaptable to different salts
145         
146 2000-06-19  Johan Danielsson  <joda@pdc.kth.se>
148         * get_s.c: pa_* -> KRB5_PADATA_*
150 2000-06-16  Assar Westerlund  <assar@sics.se>
152         * ipropd_slave.c: change default keytab to default keytab (as in
153         typically FILE:/etc/krb5.keytab)
155 2000-06-08  Assar Westerlund  <assar@sics.se>
157         * ipropd_slave.c: bug fixes, for actually writing the full dump to
158         the database.  based on a patch from Love <lha@stacken.kth.se>
160 2000-06-07  Assar Westerlund  <assar@sics.se>
162         * acl.c: add support for patterns of principals
163         * log.c (kadm5_log_replay_create): handle more NULL pointers
164         (should they really happen?)
165         * log.c (kadm5_log_replay_modify): handle max_life == NULL and
166         max_renew == NULL
168         * ipropd_master.c: use syslog.  be less verbose
169         * ipropd_slave.c: use syslog
171 2000-06-05  Assar Westerlund  <assar@sics.se>
173         * private.h (kadm_ops): add kadm_nop more prototypes
174         * log.c (kadm5_log_set_version, kadm5_log_reinit, kadm5_log_nop,
175         kadm5_log_replay_nop): add
176         * ipropd_slave.c: and some more improvements
177         * ipropd_master.c: lots of improvements
178         * iprop.h (IPROP_PORT, IPROP_SERVICE): add
179         (iprop_cmd): add new commands
181         * dump_log.c: add nop
183 2000-05-15  Assar Westerlund  <assar@sics.se>
185         * Makefile.am (libkadm5clnt_la_LDFLAGS): set version to 5:1:1
187 2000-05-12  Assar Westerlund  <assar@sics.se>
189         * get_s.c (kadm5_s_get_principal): set life, rlife to INT_MAX as a
190         fallback.  handle not having any creator.
191         * destroy_s.c (kadm5_s_destroy): free all allocated memory
192         * context_s.c (set_field): free variable if it's already set
193         (find_db_spec): malloc space for all strings
195 2000-04-05  Assar Westerlund  <assar@sics.se>
197         * Makefile.am (LDADD): add LIB_openldap
199 2000-04-03  Assar Westerlund  <assar@sics.se>
201         * Makefile.am (libkadm5srv_la_LDFLAGS): set version to 6:0:1
202         (libkadm5clnt_la_LDFLAGS): set version to 5:0:1
204 2000-03-24  Assar Westerlund  <assar@sics.se>
206         * set_keys.c (_kadm5_set_keys2): rewrite
207         (_kadm5_set_keys3): add
209         * private.h (struct kadm_func): add chpass_principal_with_key
210         * init_c.c (set_funcs): add chpass_principal_with_key
212 2000-03-23  Assar Westerlund  <assar@sics.se>
214         * context_s.c (set_funcs): add chpass_principal_with_key
215         * common_glue.c (kadm5_chpass_principal_with_key): add
216         * chpass_s.c: comment-ize and change calling convention for
217         _kadm5_set_keys*
218         * chpass_c.c (kadm5_c_chpass_principal_with_key): add
220 2000-02-07  Assar Westerlund  <assar@sics.se>
222         * Makefile.am (libkadm5clnt_la_LDFLAGS): set version to 4:2:0
224 2000-01-28  Assar Westerlund  <assar@sics.se>
226         * init_c.c (get_new_cache): make sure to request non-forwardable,
227         non-proxiable
229 2000-01-06  Assar Westerlund  <assar@sics.se>
231         * Makefile.am (libkadm5srv.la): bump version to 5:1:0
233         * context_s.c (_kadm5_s_init_context): handle params == NULL
235 1999-12-26  Assar Westerlund  <assar@sics.se>
237         * get_s.c (kadm5_s_get_principal): handle modified_by->principal
238         == NULL
240 1999-12-20  Assar Westerlund  <assar@sics.se>
242         * Makefile.am (libkadm5clnt_la_LDFLAGS): bump version to 4:1:0
244         * init_c.c (_kadm5_c_init_context): handle getting back port
245         number from admin host
246         (kadm5_c_init_with_context): remove `proto/' part before doing
247         getaddrinfo()
249 1999-12-06  Assar Westerlund  <assar@sics.se>
251         * Makefile.am: bump version to 5:0:0 and 4:0:0
253         * init_c.c (kadm5_c_init_with_context): don't use unitialized
254         stuff
256 1999-12-04  Assar Westerlund  <assar@sics.se>
258         * replay_log.c: adapt to changed kadm5_log_foreach
260         * log.c (kadm5_log_foreach): change to take a
261         `kadm5_server_context'
263         * init_c.c: use krb5_warn{,x}
265         * dump_log.c: adapt to changed kadm5_log_foreach
267         * init_c.c: re-write to use getaddrinfo
268         * Makefile.am (install-build-headers): add dependency
269         
270 1999-12-03  Johan Danielsson  <joda@pdc.kth.se>
272         * log.c (kadm5_log_foreach): pass context
274         * dump_log.c: print more interesting things
276 1999-12-02  Johan Danielsson  <joda@pdc.kth.se>
278         * ipropd_master.c (process_msg): check for short reads
280 1999-11-25  Assar Westerlund  <assar@sics.se>
282         * modify_s.c (kadm5_s_modify_principal): support key_data
283         (kadm5_s_modify_principal_with_key): remove
285         * admin.h (kadm5_s_modify_principal_with_key): remove
287 1999-11-20  Assar Westerlund  <assar@sics.se>
289         * context_s.c (find_db_spec): ugly cast work-around.
291 1999-11-14  Assar Westerlund  <assar@sics.se>
293         * context_s.c (_kadm5_s_init_context): call krb5_add_et_list so
294         that we aren't dependent on the layout of krb5_context_data
295         * init_c.c (_kadm5_c_init_context): call krb5_add_et_list so that
296         we aren't dependent on the layout of krb5_context_data
298 1999-11-13  Assar Westerlund  <assar@sics.se>
300         * password_quality.c (kadm5_setup_passwd_quality_check): use
301         correct types for function pointers
302         
303 1999-11-09  Johan Danielsson  <joda@pdc.kth.se>
305         * randkey_s.c: always bail out if the fetch fails
307         * admin.h (kadm5_config_params): remove fields we're not using
309         * ipropd_slave.c: allow passing a realm
311         * ipropd_master.c: allow passing a realm
313         * dump_log.c: allow passing a realm
315         * acl.c: correctly get acl file
317         * private.h (kadm5_server_context): add config_params struct and
318         remove acl_file; bump protocol version number
320         * marshall.c: marshalling of config parameters
322         * init_c.c (kadm5_c_init_with_context): try to cope with old
323         servers
325         * init_s.c (kadm5_s_init_with_context): actually use some passed
326         values
328         * context_s.c (_kadm5_s_init_context): get dbname, acl_file, and
329         stash_file from the config parameters, try to figure out these if
330         they're not provided
332 1999-11-05  Assar Westerlund  <assar@sics.se>
334         * Makefile.am (install-build-headers): use `cp' instead of
335         INSTALL_DATA
337 1999-11-04  Assar Westerlund  <assar@sics.se>
339         * Makefile.am: bump version to 4:0:0 and 3:0:0 (they access fields
340         directly in libkrb5's context - bad functions)
342         * set_keys.c (_kadm5_set_keys_randomly): set enctypes correctly in
343         the copied keys
345 1999-10-20  Assar Westerlund  <assar@sics.se>
347         * Makefile.am: set version of kadm5srv to 3:0:2 (new password
348         quality functions).
349         set version of kdam5clnt to 2:1:1 (no interface changes)
351         * Makefile.am (LDADD): add $(LIB_dlopen)
353 1999-10-17  Assar Westerlund  <assar@sics.se>
355         * randkey_s.c (kadm5_s_randkey_principal): use
356         _kadm5_set_keys_randomly
358         * set_keys.c (free_keys): free more memory
359         (_kadm5_set_keys): a little bit more generic
360         (_kadm5_set_keys_randomly): new function for setting random keys.
362 1999-10-14  Assar Westerlund  <assar@sics.se>
364         * set_keys.c (_kadm5_set_keys): ignore old keys when setting new
365         ones and always add 3 DES keys and one 3DES key
367 1999-10-03  Assar Westerlund  <assar@sics.se>
369         * init_c.c (_kadm5_c_init_context): use `krb5_get_krb_admin_hst'.
370         check return value from strdup
372 1999-09-26  Assar Westerlund  <assar@sics.se>
374         * acl.c (_kadm5_privs_to_string): forgot one strcpy_truncate ->
375         strlcpy
377 1999-09-24  Johan Danielsson  <joda@pdc.kth.se>
379         * dump_log.c: remove unused `optind'
381         * replay_log.c: remove unused `optind'
383 1999-09-13  Assar Westerlund  <assar@sics.se>
385         * chpass_c.c (kadm5_c_chpass_principal): new _kadm5_client_recv
387         * send_recv.c (_kadm5_client_recv): return result in a `krb5_data'
388         so that we avoid copying it and don't need to dimension in
389         advance.  change all callers.
391 1999-09-10  Assar Westerlund  <assar@sics.se>
393         * password_quality.c: new file
395         * admin.h
396         (kadm5_setup_passwd_quality_check,kadm5_check_password_quality):
397         add prototypes
399         * Makefile.am (S_SOURCES): add password_quality.c
401 1999-07-26  Assar Westerlund  <assar@sics.se>
403         * Makefile.am: update versions to 2:0:1
405 1999-07-24  Assar Westerlund  <assar@sics.se>
407         * ent_setup.c (_kadm5_setup_entry): make princ_expire_time == 0
408         and pw_expiration == 0 mean never
410 1999-07-22  Assar Westerlund  <assar@sics.se>
412         * log.c (kadm5_log_flush): extra cast
414 1999-07-07  Assar Westerlund  <assar@sics.se>
416         * marshall.c (store_principal_ent): encoding princ_expire_time and
417         pw_expiration in correct order
419 1999-06-28  Assar Westerlund  <assar@sics.se>
421         * randkey_s.c (kadm5_s_randkey_principal): nuke old mkvno,
422         otherwise hdb will think that the new random keys are already
423         encrypted which will cause lots of confusion later.
425 1999-06-23  Assar Westerlund  <assar@sics.se>
427         * ent_setup.c (_kadm5_setup_entry): handle 0 == unlimited
428         correctly.  From Michal Vocu <michal@karlin.mff.cuni.cz>
430 1999-06-15  Assar Westerlund  <assar@sics.se>
432         * init_c.c (get_cred_cache): use get_default_username
434 1999-05-23  Assar Westerlund  <assar@sics.se>
436         * create_s.c (create_principal): if there's no default entry the
437         mask should be zero.
439 1999-05-21  Assar Westerlund  <assar@sics.se>
441         * init_c.c (get_cred_cache): use $USERNAME
443 1999-05-17  Johan Danielsson  <joda@pdc.kth.se>
445         * init_c.c (get_cred_cache): figure out principal
447 1999-05-05  Johan Danielsson  <joda@pdc.kth.se>
449         * send_recv.c: cleanup _kadm5_client_{send,recv}
451 1999-05-04  Assar Westerlund  <assar@sics.se>
453         * set_keys.c (_kadm5_set_keys2): don't check the recently created
454         memory for NULL pointers
456         * private.h (_kadm5_setup_entry): change prototype
458         * modify_s.c: call new _kadm5_setup_entry
460         * ent_setup.c (_kadm5_setup_entry): change so that it takes three
461         masks, one for what bits to set and one for each of principal and
462         def containing the bits that are set there.
464         * create_s.c: call new _kadm5_setup_entry
466         * create_s.c (get_default): check return value
467         (create_principal): send wider mask to _kadm5_setup_entry
469 1999-05-04  Johan Danielsson  <joda@pdc.kth.se>
471         * send_recv.c (_kadm5_client_recv): handle arbitrarily sized
472         packets, check for errors
474         * get_c.c: check for failure from _kadm5_client_{send,recv}
476 1999-05-04  Assar Westerlund  <assar@sics.se>
478         * init_c.c (get_new_cache): don't abort when interrupted from
479         password prompt
480         
481         * destroy_c.c (kadm5_c_destroy): check if we should destroy the
482         auth context
484 1999-05-03  Johan Danielsson  <joda@pdc.kth.se>
486         * chpass_s.c: fix arguments to _kadm5_set_keys2
488         * private.h: proto
490         * set_keys.c: clear mkvno
492         * rename_s.c: add flags to fetch and store; seal keys before
493         logging
495         * randkey_s.c: add flags to fetch and store; seal keys before
496         logging
498         * modify_s.c: add flags to fetch and store; seal keys before
499         logging
501         * log.c: add flags to fetch and store; seal keys before logging
503         * get_s.c: add flags to fetch and store; seal keys before logging
505         * get_princs_s.c: add flags to fetch and store; seal keys before
506         logging
508         * delete_s.c: add flags to fetch and store; seal keys before
509         logging
511         * create_s.c: add flags to fetch and store; seal keys before
512         logging
514         * chpass_s.c: add flags to fetch and store; seal keys before
515         logging
517         * Makefile.am: remove server.c
519         * admin.h: add prototypes
521         * ent_setup.c (_kadm5_setup_entry): set key_data
523         * set_keys.c: add _kadm5_set_keys2 to sey keys from key_data
525         * modify_s.c: add kadm5_s_modify_principal_with_key
527         * create_s.c: add kadm5_s_create_principal_with_key
529         * chpass_s.c: add kadm5_s_chpass_principal_with_key
531         * kadm5_locl.h: move stuff to private.h
533         * private.h: move stuff from kadm5_locl.h
534