This commit was manufactured by cvs2svn to create tag
[heimdal.git] / lib / kadm5 / ChangeLog
blobd6fbe0d108149d2f3b03bbde59f628bef9d2b1ad
1 2002-10-21  Johan Danielsson  <joda@pdc.kth.se>
3         * ipropd_slave.c: pull up 1.27; use a temporary database
5 2002-08-26  Assar Westerlund  <assar@kth.se>
7         * ipropd_slave.c (receive_everything): type-correctness calling
8         _krb5_get_int
10         * context_s.c (find_db_spec): const-correctness in parameters to
11         krb5_config_get_next
13 2002-08-16  Johan Danielsson  <joda@pdc.kth.se>
15         * private.h: rename header file flag macro
17         * Makefile.am: generate kadm5-{protos,private}.h
19 2002-08-15  Johan Danielsson  <joda@pdc.kth.se>
21         * ipropd_master.c: check return value of krb5_sockaddr2address
23 2002-07-04  Johan Danielsson  <joda@pdc.kth.se>
25         * ipropd_master.c: handle slaves that come and go; add status
26         reporting (both from Love)
28         * iprop.h: KADM5_SLAVE_STATS
30 2002-03-25  Jacques Vidrine  <n@nectar.com>
32         * init_c.c (get_cred_cache): bug fix: the default credentials
33         cache was not being used if a client name was specified.
35 2002-03-25  Johan Danielsson  <joda@pdc.kth.se>
37         * init_c.c (get_cred_cache): when getting the default_client from
38         the cred cache, make sure the instance part is "admin"; this
39         should require fewer uses of -p
41 2002-03-11  Assar Westerlund  <assar@sics.se>
43         * Makefile.am (libkadm5srv_la_LDFLAGS): set version to 7:5:0
44         (libkadm5clnt_la_LDFLAGS): set version to 6:3:2
46 2002-02-08  Johan Danielsson  <joda@pdc.kth.se>
48         * init_c.c: we have to create our own param struct before
49         marshaling
51 2001-09-05  Johan Danielsson  <joda@pdc.kth.se>
53         * Makefile.am: link with LIB_pidfile
55         * iprop.h: include util.h for pidfile
57 2001-08-31  Assar Westerlund  <assar@sics.se>
59         * ipropd_slave.c (main): syslog with the correct name
61 2001-08-30  Jacques Vidrine <n@nectar.com>
63         * ipropd_slave.c, ipropd_master.c (main): call pidfile
65 2001-08-28  Assar Westerlund  <assar@sics.se>
67         * Makefile.am (libkadm5srv_la_LDFLAGS): set version to 7:4:0
69 2001-08-24  Assar Westerlund  <assar@sics.se>
71         * acl.c (fetch_acl): do not return bogus flags and re-organize
72         function
74         * Makefile.am: rename variable name to avoid error from current
75         automake
77 2001-08-13  Johan Danielsson  <joda@pdc.kth.se>
79         * set_keys.c: add easier afs configuration, defaulting to the
80         local realm in lower case; also try to remove duplicate salts
82 2001-07-12  Assar Westerlund  <assar@sics.se>
84         * Makefile.am: add required library dependencies
86 2001-07-03  Assar Westerlund  <assar@sics.se>
88         * Makefile.am (libkadm5clnt_la_LDFLAGS): set version to 6:2:2
90 2001-06-29  Johan Danielsson  <joda@pdc.kth.se>
92         * init_c.c: call krb5_get_init_creds_opt_set_default_flags
94 2001-02-19  Johan Danielsson  <joda@pdc.kth.se>
96         * replay_log.c: add --{start-end}-version flags to replay just
97         part of the log
99 2001-02-15  Assar Westerlund  <assar@sics.se>
101         * ipropd_master.c (main): fix select-loop to decrement ret
102         correctly.  from "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
104 2001-01-30  Assar Westerlund  <assar@sics.se>
106         * Makefile.am: bump versions
108 2000-12-31  Assar Westerlund  <assar@sics.se>
110         * init_s.c (*): handle krb5_init_context failure consistently
111         * init_c.c (init_context): handle krb5_init_context failure
112         consistently
114 2000-12-11  Assar Westerlund  <assar@sics.se>
116         * Makefile.am (libkadm5srv_la_LDFLAGS): bump version to 7:2:0
118 2000-11-16  Assar Westerlund  <assar@sics.se>
120         * set_keys.c (make_keys): clean-up salting loop and try not to
121         leak memory
123         * ipropd_master.c (main): check for fd's being too large to select
124         on
126 2000-08-16  Assar Westerlund  <assar@sics.se>
128         * Makefile.am (libkadm5srv_la_LDFLAGS): bump version to 7:1:0
130 2000-08-10  Assar Westerlund  <assar@sics.se>
132         * acl.c (fetch_acl): fix wrong cases, use krb5_principal_match
134 2000-08-07  Assar Westerlund  <assar@sics.se>
136         * ipropd_master.c (main): ignore SIGPIPE
138 2000-08-06  Assar Westerlund  <assar@sics.se>
140         * ipropd_slave.c (receive_everything): make `fd' an int instead of
141         a pointer.  From Derrick J Brashear <shadow@dementia.org>
143 2000-08-04  Johan Danielsson  <joda@pdc.kth.se>
145         * admin.h: change void** to void*
147 2000-07-25  Johan Danielsson  <joda@pdc.kth.se>
149         * Makefile.am: bump versions to 7:0:0 and 6:0:2
151 2000-07-24  Assar Westerlund  <assar@sics.se>
153         * log.c (kadm5_log_get_version): rename kadm5_log_get_version_fd
154         and make a new that takes a context
155         (kadm5_log_nop): add logging of missing lengths
156         (kadm5_log_truncate): new function
158         * dump_log.c (print_entry): update and correct
159         * randkey_s.c: call _kadm5_bump_pw_expire
160         * truncate_log.c: new program for truncating the log
161         * Makefile.am (sbin_PROGRAMS): add truncate_log
162         (C_SOURCES): add bump_pw_expire.c
163         * bump_pw_expire.c: new function for extending password expiration
165 2000-07-22  Assar Westerlund  <assar@sics.se>
167         * keys.c: new file with _kadm5_free_keys, _kadm5_init_keys
169         * set_keys.c (free_keys, init_keys): elevate to internal kadm5
170         functions
172         * chpass_s.c (kadm5_s_chpass_principal_cond): new function
173         * Makefile.am (C_SOURCES): add keys.c
174         * init_c.c: remove unused variable and handle some parameters
175         being NULL
177 2000-07-22  Johan Danielsson  <joda@pdc.kth.se>
179         * ipropd_slave.c: use krb5_read_priv_message
181         * ipropd_master.c: use krb5_{read,write}_priv_message
183         * init_c.c: use krb5_write_priv_message
185 2000-07-11  Johan Danielsson  <joda@pdc.kth.se>
187         * ipropd_slave.c: no need to call gethostname, since
188         sname_to_principal will
190         * send_recv.c: assert that we have a connected socket
192         * get_princs_c.c: call _kadm5_connect
194         * rename_c.c: call _kadm5_connect
196         * randkey_c.c: call _kadm5_connect
198         * privs_c.c: call _kadm5_connect
200         * modify_c.c: call _kadm5_connect
202         * get_c.c: call _kadm5_connect
204         * delete_c.c: call _kadm5_connect
206         * create_c.c: call _kadm5_connect
208         * chpass_c.c: call _kadm5_connect
210         * private.h: add more fields to client context; remove prototypes
212         * admin.h: remove prototypes
214         * kadm5-protos.h: move public prototypes here
216         * kadm5-private.h: move private prototypes here
218         * init_c.c: break out connection code to separate function, and
219         defer calling it until we actually do something
221 2000-07-07  Assar Westerlund  <assar@sics.se>
223         * set_keys.c (make_keys): also support `[kadmin]use_v4_salt' for
224         backwards compatability
226 2000-06-26  Johan Danielsson  <joda@pdc.kth.se>
228         * set_keys.c (_kadm5_set_keys): rewrite this to be more easily
229         adaptable to different salts
230         
231 2000-06-19  Johan Danielsson  <joda@pdc.kth.se>
233         * get_s.c: pa_* -> KRB5_PADATA_*
235 2000-06-16  Assar Westerlund  <assar@sics.se>
237         * ipropd_slave.c: change default keytab to default keytab (as in
238         typically FILE:/etc/krb5.keytab)
240 2000-06-08  Assar Westerlund  <assar@sics.se>
242         * ipropd_slave.c: bug fixes, for actually writing the full dump to
243         the database.  based on a patch from Love <lha@stacken.kth.se>
245 2000-06-07  Assar Westerlund  <assar@sics.se>
247         * acl.c: add support for patterns of principals
248         * log.c (kadm5_log_replay_create): handle more NULL pointers
249         (should they really happen?)
250         * log.c (kadm5_log_replay_modify): handle max_life == NULL and
251         max_renew == NULL
253         * ipropd_master.c: use syslog.  be less verbose
254         * ipropd_slave.c: use syslog
256 2000-06-05  Assar Westerlund  <assar@sics.se>
258         * private.h (kadm_ops): add kadm_nop more prototypes
259         * log.c (kadm5_log_set_version, kadm5_log_reinit, kadm5_log_nop,
260         kadm5_log_replay_nop): add
261         * ipropd_slave.c: and some more improvements
262         * ipropd_master.c: lots of improvements
263         * iprop.h (IPROP_PORT, IPROP_SERVICE): add
264         (iprop_cmd): add new commands
266         * dump_log.c: add nop
268 2000-05-15  Assar Westerlund  <assar@sics.se>
270         * Makefile.am (libkadm5clnt_la_LDFLAGS): set version to 5:1:1
272 2000-05-12  Assar Westerlund  <assar@sics.se>
274         * get_s.c (kadm5_s_get_principal): set life, rlife to INT_MAX as a
275         fallback.  handle not having any creator.
276         * destroy_s.c (kadm5_s_destroy): free all allocated memory
277         * context_s.c (set_field): free variable if it's already set
278         (find_db_spec): malloc space for all strings
280 2000-04-05  Assar Westerlund  <assar@sics.se>
282         * Makefile.am (LDADD): add LIB_openldap
284 2000-04-03  Assar Westerlund  <assar@sics.se>
286         * Makefile.am (libkadm5srv_la_LDFLAGS): set version to 6:0:1
287         (libkadm5clnt_la_LDFLAGS): set version to 5:0:1
289 2000-03-24  Assar Westerlund  <assar@sics.se>
291         * set_keys.c (_kadm5_set_keys2): rewrite
292         (_kadm5_set_keys3): add
294         * private.h (struct kadm_func): add chpass_principal_with_key
295         * init_c.c (set_funcs): add chpass_principal_with_key
297 2000-03-23  Assar Westerlund  <assar@sics.se>
299         * context_s.c (set_funcs): add chpass_principal_with_key
300         * common_glue.c (kadm5_chpass_principal_with_key): add
301         * chpass_s.c: comment-ize and change calling convention for
302         _kadm5_set_keys*
303         * chpass_c.c (kadm5_c_chpass_principal_with_key): add
305 2000-02-07  Assar Westerlund  <assar@sics.se>
307         * Makefile.am (libkadm5clnt_la_LDFLAGS): set version to 4:2:0
309 2000-01-28  Assar Westerlund  <assar@sics.se>
311         * init_c.c (get_new_cache): make sure to request non-forwardable,
312         non-proxiable
314 2000-01-06  Assar Westerlund  <assar@sics.se>
316         * Makefile.am (libkadm5srv.la): bump version to 5:1:0
318         * context_s.c (_kadm5_s_init_context): handle params == NULL
320 1999-12-26  Assar Westerlund  <assar@sics.se>
322         * get_s.c (kadm5_s_get_principal): handle modified_by->principal
323         == NULL
325 1999-12-20  Assar Westerlund  <assar@sics.se>
327         * Makefile.am (libkadm5clnt_la_LDFLAGS): bump version to 4:1:0
329         * init_c.c (_kadm5_c_init_context): handle getting back port
330         number from admin host
331         (kadm5_c_init_with_context): remove `proto/' part before doing
332         getaddrinfo()
334 1999-12-06  Assar Westerlund  <assar@sics.se>
336         * Makefile.am: bump version to 5:0:0 and 4:0:0
338         * init_c.c (kadm5_c_init_with_context): don't use unitialized
339         stuff
341 1999-12-04  Assar Westerlund  <assar@sics.se>
343         * replay_log.c: adapt to changed kadm5_log_foreach
345         * log.c (kadm5_log_foreach): change to take a
346         `kadm5_server_context'
348         * init_c.c: use krb5_warn{,x}
350         * dump_log.c: adapt to changed kadm5_log_foreach
352         * init_c.c: re-write to use getaddrinfo
353         * Makefile.am (install-build-headers): add dependency
354         
355 1999-12-03  Johan Danielsson  <joda@pdc.kth.se>
357         * log.c (kadm5_log_foreach): pass context
359         * dump_log.c: print more interesting things
361 1999-12-02  Johan Danielsson  <joda@pdc.kth.se>
363         * ipropd_master.c (process_msg): check for short reads
365 1999-11-25  Assar Westerlund  <assar@sics.se>
367         * modify_s.c (kadm5_s_modify_principal): support key_data
368         (kadm5_s_modify_principal_with_key): remove
370         * admin.h (kadm5_s_modify_principal_with_key): remove
372 1999-11-20  Assar Westerlund  <assar@sics.se>
374         * context_s.c (find_db_spec): ugly cast work-around.
376 1999-11-14  Assar Westerlund  <assar@sics.se>
378         * context_s.c (_kadm5_s_init_context): call krb5_add_et_list so
379         that we aren't dependent on the layout of krb5_context_data
380         * init_c.c (_kadm5_c_init_context): call krb5_add_et_list so that
381         we aren't dependent on the layout of krb5_context_data
383 1999-11-13  Assar Westerlund  <assar@sics.se>
385         * password_quality.c (kadm5_setup_passwd_quality_check): use
386         correct types for function pointers
387         
388 1999-11-09  Johan Danielsson  <joda@pdc.kth.se>
390         * randkey_s.c: always bail out if the fetch fails
392         * admin.h (kadm5_config_params): remove fields we're not using
394         * ipropd_slave.c: allow passing a realm
396         * ipropd_master.c: allow passing a realm
398         * dump_log.c: allow passing a realm
400         * acl.c: correctly get acl file
402         * private.h (kadm5_server_context): add config_params struct and
403         remove acl_file; bump protocol version number
405         * marshall.c: marshalling of config parameters
407         * init_c.c (kadm5_c_init_with_context): try to cope with old
408         servers
410         * init_s.c (kadm5_s_init_with_context): actually use some passed
411         values
413         * context_s.c (_kadm5_s_init_context): get dbname, acl_file, and
414         stash_file from the config parameters, try to figure out these if
415         they're not provided
417 1999-11-05  Assar Westerlund  <assar@sics.se>
419         * Makefile.am (install-build-headers): use `cp' instead of
420         INSTALL_DATA
422 1999-11-04  Assar Westerlund  <assar@sics.se>
424         * Makefile.am: bump version to 4:0:0 and 3:0:0 (they access fields
425         directly in libkrb5's context - bad functions)
427         * set_keys.c (_kadm5_set_keys_randomly): set enctypes correctly in
428         the copied keys
430 1999-10-20  Assar Westerlund  <assar@sics.se>
432         * Makefile.am: set version of kadm5srv to 3:0:2 (new password
433         quality functions).
434         set version of kdam5clnt to 2:1:1 (no interface changes)
436         * Makefile.am (LDADD): add $(LIB_dlopen)
438 1999-10-17  Assar Westerlund  <assar@sics.se>
440         * randkey_s.c (kadm5_s_randkey_principal): use
441         _kadm5_set_keys_randomly
443         * set_keys.c (free_keys): free more memory
444         (_kadm5_set_keys): a little bit more generic
445         (_kadm5_set_keys_randomly): new function for setting random keys.
447 1999-10-14  Assar Westerlund  <assar@sics.se>
449         * set_keys.c (_kadm5_set_keys): ignore old keys when setting new
450         ones and always add 3 DES keys and one 3DES key
452 1999-10-03  Assar Westerlund  <assar@sics.se>
454         * init_c.c (_kadm5_c_init_context): use `krb5_get_krb_admin_hst'.
455         check return value from strdup
457 1999-09-26  Assar Westerlund  <assar@sics.se>
459         * acl.c (_kadm5_privs_to_string): forgot one strcpy_truncate ->
460         strlcpy
462 1999-09-24  Johan Danielsson  <joda@pdc.kth.se>
464         * dump_log.c: remove unused `optind'
466         * replay_log.c: remove unused `optind'
468 1999-09-13  Assar Westerlund  <assar@sics.se>
470         * chpass_c.c (kadm5_c_chpass_principal): new _kadm5_client_recv
472         * send_recv.c (_kadm5_client_recv): return result in a `krb5_data'
473         so that we avoid copying it and don't need to dimension in
474         advance.  change all callers.
476 1999-09-10  Assar Westerlund  <assar@sics.se>
478         * password_quality.c: new file
480         * admin.h
481         (kadm5_setup_passwd_quality_check,kadm5_check_password_quality):
482         add prototypes
484         * Makefile.am (S_SOURCES): add password_quality.c
486 1999-07-26  Assar Westerlund  <assar@sics.se>
488         * Makefile.am: update versions to 2:0:1
490 1999-07-24  Assar Westerlund  <assar@sics.se>
492         * ent_setup.c (_kadm5_setup_entry): make princ_expire_time == 0
493         and pw_expiration == 0 mean never
495 1999-07-22  Assar Westerlund  <assar@sics.se>
497         * log.c (kadm5_log_flush): extra cast
499 1999-07-07  Assar Westerlund  <assar@sics.se>
501         * marshall.c (store_principal_ent): encoding princ_expire_time and
502         pw_expiration in correct order
504 1999-06-28  Assar Westerlund  <assar@sics.se>
506         * randkey_s.c (kadm5_s_randkey_principal): nuke old mkvno,
507         otherwise hdb will think that the new random keys are already
508         encrypted which will cause lots of confusion later.
510 1999-06-23  Assar Westerlund  <assar@sics.se>
512         * ent_setup.c (_kadm5_setup_entry): handle 0 == unlimited
513         correctly.  From Michal Vocu <michal@karlin.mff.cuni.cz>
515 1999-06-15  Assar Westerlund  <assar@sics.se>
517         * init_c.c (get_cred_cache): use get_default_username
519 1999-05-23  Assar Westerlund  <assar@sics.se>
521         * create_s.c (create_principal): if there's no default entry the
522         mask should be zero.
524 1999-05-21  Assar Westerlund  <assar@sics.se>
526         * init_c.c (get_cred_cache): use $USERNAME
528 1999-05-17  Johan Danielsson  <joda@pdc.kth.se>
530         * init_c.c (get_cred_cache): figure out principal
532 1999-05-05  Johan Danielsson  <joda@pdc.kth.se>
534         * send_recv.c: cleanup _kadm5_client_{send,recv}
536 1999-05-04  Assar Westerlund  <assar@sics.se>
538         * set_keys.c (_kadm5_set_keys2): don't check the recently created
539         memory for NULL pointers
541         * private.h (_kadm5_setup_entry): change prototype
543         * modify_s.c: call new _kadm5_setup_entry
545         * ent_setup.c (_kadm5_setup_entry): change so that it takes three
546         masks, one for what bits to set and one for each of principal and
547         def containing the bits that are set there.
549         * create_s.c: call new _kadm5_setup_entry
551         * create_s.c (get_default): check return value
552         (create_principal): send wider mask to _kadm5_setup_entry
554 1999-05-04  Johan Danielsson  <joda@pdc.kth.se>
556         * send_recv.c (_kadm5_client_recv): handle arbitrarily sized
557         packets, check for errors
559         * get_c.c: check for failure from _kadm5_client_{send,recv}
561 1999-05-04  Assar Westerlund  <assar@sics.se>
563         * init_c.c (get_new_cache): don't abort when interrupted from
564         password prompt
565         
566         * destroy_c.c (kadm5_c_destroy): check if we should destroy the
567         auth context
569 1999-05-03  Johan Danielsson  <joda@pdc.kth.se>
571         * chpass_s.c: fix arguments to _kadm5_set_keys2
573         * private.h: proto
575         * set_keys.c: clear mkvno
577         * rename_s.c: add flags to fetch and store; seal keys before
578         logging
580         * randkey_s.c: add flags to fetch and store; seal keys before
581         logging
583         * modify_s.c: add flags to fetch and store; seal keys before
584         logging
586         * log.c: add flags to fetch and store; seal keys before logging
588         * get_s.c: add flags to fetch and store; seal keys before logging
590         * get_princs_s.c: add flags to fetch and store; seal keys before
591         logging
593         * delete_s.c: add flags to fetch and store; seal keys before
594         logging
596         * create_s.c: add flags to fetch and store; seal keys before
597         logging
599         * chpass_s.c: add flags to fetch and store; seal keys before
600         logging
602         * Makefile.am: remove server.c
604         * admin.h: add prototypes
606         * ent_setup.c (_kadm5_setup_entry): set key_data
608         * set_keys.c: add _kadm5_set_keys2 to sey keys from key_data
610         * modify_s.c: add kadm5_s_modify_principal_with_key
612         * create_s.c: add kadm5_s_create_principal_with_key
614         * chpass_s.c: add kadm5_s_chpass_principal_with_key
616         * kadm5_locl.h: move stuff to private.h
618         * private.h: move stuff from kadm5_locl.h
619