1 2008-01-21 Love Hörnquist Åstrand <lha@it.su.se>
3 * default_keys.c: Use hdb_free_keys().
5 2008-01-11 Love Hörnquist Åstrand <lha@it.su.se>
7 * Makefile.am: add check-cracklib.pl, flush.c,
10 2007-12-07 Love Hörnquist Åstrand <lha@it.su.se>
12 * use hdb_db_dir() and hdb_default_db()
14 2007-10-18 Love <lha@stacken.kth.se>
16 * init_c.c: We are getting default_client, not client. this way
17 the user can override the result.
19 2007-09-29 Love Hörnquist Åstrand <lha@it.su.se>
21 * iprop.8: fix spelling, From Antoine Jacoutt.
23 2007-08-16 Love Hörnquist Åstrand <lha@it.su.se>
25 * version-script.map: export _kadm5_unmarshal_params,
26 _kadm5_acl_check_permission
28 * version-script.map: export kadm5_log_ symbols.
30 * log.c: Unexport the specific log replay operations.
32 2007-08-10 Love Hörnquist Åstrand <lha@it.su.se>
34 * Makefile.am: build sample_passwd_check.la as part of noinst.
36 * sample_passwd_check.c: Add missing prototype for check_length().
38 2007-08-07 Love Hörnquist Åstrand <lha@it.su.se>
40 * log.c: Sprinkle krb5_set_error_string().
42 * ipropd_slave.c: Provide better error why kadm5_log_replay
45 2007-08-06 Love Hörnquist Åstrand <lha@it.su.se>
47 * ipropd_master.c: - don't push whole database to the new client
48 every time. - make slaves get the whole new database if they have
49 a newer log the the master (and thus have them go back in time).
51 2007-08-03 Love Hörnquist Åstrand <lha@it.su.se>
53 * ipropd_slave.c: make more sane.
55 * ipropd_slave.c: more paranoid check that the log entires are
58 * log.c (kadm5_log_foreach): check that the postamble contains the
61 * ipropd_master.c: Sprinkle more info about what versions the
62 master thinks about the client versions.
64 * ipropd_master.c: Start the server at the current version, not 0.
66 2007-08-02 Love Hörnquist Åstrand <lha@it.su.se>
68 * ipropd_master.c: Add more logging, to figure out what is
69 happening in the master.
71 2007-08-01 Love Hörnquist Åstrand <lha@it.su.se>
73 * Makefile.am: add version-script for libkadm5srv.la
75 * version-script.map: version script fro kadm5 server libary.
77 * log.c: only free the orignal entries extentions if there was
78 any. Bug reported by Peter Meinecke.
80 * add configuration for signal file and acl file, let user select
81 hostname, catch signals and print why we are quiting, make nop
82 cause one new version, not two
84 2007-07-30 Love Hörnquist Åstrand <lha@it.su.se>
86 * ipropd_master.c (send_diffs): make current slave's version
87 uptodate when diff have been sent.
89 2007-07-27 Love Hörnquist Åstrand <lha@it.su.se>
91 * ipropd_slave.c: More comments and some more error checking.
93 2007-07-26 Love Hörnquist Åstrand <lha@it.su.se>
95 * init_c.c (get_cache_principal): make sure id is reset if we
96 fail. From Benjamin Bennet.
98 2007-07-10 Love Hörnquist Åstrand <lha@it.su.se>
100 * context_s.c (find_db_spec): match realm-less as the default
103 * Makefile.am: New library version.
105 2007-07-05 Love Hörnquist Åstrand <lha@it.su.se>
107 * context_s.c: Use hdb_get_dbinfo to pick up configuration.
108 ctx->config.realm can be NULL, check for that, from Bjorn S.
110 2007-07-04 Love Hörnquist Åstrand <lha@it.su.se>
112 * init_c.c: Try harder to use the right principal.
114 2007-06-20 Love Hörnquist Åstrand <lha@it.su.se>
116 * ipropd_slave.c: Catch return value from krb5_program_setup. From
119 2007-05-08 Love Hörnquist Åstrand <lha@it.su.se>
121 * delete_s.c: Write log entry after store is successful, rename
124 * randkey_s.c: Write log entry after store is successful.
126 * modify_s.c: Write log entry after store is successful.
128 * rename_s.c: indent.
130 * chpass_s.c: Write log entry after store is successful.
132 * create_s.c: Write log entry after store is successful.
134 2007-05-07 Love Hörnquist Åstrand <lha@it.su.se>
136 * iprop-commands.in: Add default values to make this working
139 * iprop-log.c (iprop_replay): create the database with more
142 * log.c: make it slightly more working.
144 * iprop-log.8: Document last-version.
146 * iprop-log.c: (last_version): print last version of the log.
148 * iprop-commands.in: new command last-version: print last version
151 * log.c (kadm5_log_previous): document assumptions and make less
152 broken. Bug report from Ronny Blomme.
154 2007-02-17 Love Hörnquist Åstrand <lha@it.su.se>
156 * admin.h: add support to get aliases
158 * get_s.c: add support to get aliases
160 2007-02-11 David Love <fx@gnu.org>
162 * iprop-log.8: Small fixes, from David Love.
164 2006-12-15 Love Hörnquist Åstrand <lha@it.su.se>
166 * init_c.c: if the user have a kadmin/admin initial ticket, don't
167 ask for password, just use the credential instead.
169 2006-12-06 Love Hörnquist Åstrand <lha@it.su.se>
171 * ipropd_master.c: Use strcspn to remove \n from string returned
172 by fgets. From Björn Sandell
174 2006-11-30 Love Hörnquist Åstrand <lha@it.su.se>
176 * init_c.c (kadm_connect): clear error string before trying to
177 print a errno, this way we don't pick up a random failure code
179 2006-11-20 Love Hörnquist Åstrand <lha@it.su.se>
181 * ipropd_slave.c: Make krb5_get_init_creds_opt_free take a context
184 * init_c.c: Make krb5_get_init_creds_opt_free take a context
187 2006-10-22 Love Hörnquist Åstrand <lha@it.su.se>
189 * ent_setup.c: Try to not leak memory.
191 2006-10-07 Love Hörnquist Åstrand <lha@it.su.se>
193 * Makefile.am: split build files into dist_ and noinst_ SOURCES
195 2006-08-24 Love Hörnquist Åstrand <lha@it.su.se>
197 * get_s.c: Add KRB5_KDB_ALLOW_DIGEST
199 * ent_setup.c: Add KRB5_KDB_ALLOW_DIGEST
201 * admin.h: Add KRB5_KDB_ALLOW_DIGEST
203 2006-06-16 Love Hörnquist Åstrand <lha@it.su.se>
205 * check-cracklib.pl: Add password reuse checking. From Harald
208 2006-06-14 Love Hörnquist Åstrand <lha@it.su.se>
210 * ent_setup.c (attr_to_flags): Add KRB5_KDB_ALLOW_KERBEROS4
212 * get_s.c (kadm5_s_get_principal): Add KRB5_KDB_ALLOW_KERBEROS4
214 * admin.h: Add KRB5_KDB_ALLOW_KERBEROS4
216 2006-06-06 Love Hörnquist Åstrand <lha@it.su.se>
218 * ent_setup.c (attr_to_flags): Add KRB5_KDB_TRUSTED_FOR_DELEGATION
220 2006-05-30 Love Hörnquist Åstrand <lha@it.su.se>
222 * password_quality.c (kadm5_check_password_quality): set error
225 2006-05-13 Love Hörnquist Åstrand <lha@it.su.se>
227 * iprop-log.c: Avoid shadowing.
229 * rename_s.c: Avoid shadowing.
231 2006-05-08 Love Hörnquist Åstrand <lha@it.su.se>
233 * privs_c.c (kadm5_c_get_privs): privs is a uint32_t, let copy it
236 2006-05-05 Love Hörnquist Åstrand <lha@it.su.se>
238 * Rename u_intXX_t to uintXX_t
240 2006-04-27 Love Hörnquist Åstrand <lha@it.su.se>
242 * chpass_s.c,delete_s.c,get_s.c,log.c,modify_s.c,randkey_s.c,rename_s.c:
243 Pass in HDB_F_GET_ANY to all ->hdb fetch to hint what entries we are looking for
245 * send_recv.c: set and clear error string
247 * rename_s.c: Break out the that we request from principal from
248 the entry and pass it in as a separate argument.
250 * randkey_s.c: Break out the that we request from principal from
251 the entry and pass it in as a separate argument.
253 * modify_s.c: Break out the that we request from principal from
254 the entry and pass it in as a separate argument.
256 * log.c: Break out the that we request from principal from the
257 entry and pass it in as a separate argument.
259 * get_s.c: Break out the that we request from principal from the
260 entry and pass it in as a separate argument.
262 * delete_s.c: Break out the that we request from principal from
263 the entry and pass it in as a separate argument.
265 * chpass_s.c: Break out the that we request from principal from
266 the entry and pass it in as a separate argument.
268 2006-04-25 Love Hörnquist Åstrand <lha@it.su.se>
270 * create_s.c (create_principal*): If client doesn't send kvno,
271 make sure to set it to 1.
273 2006-04-10 Love Hörnquist Åstrand <lha@it.su.se>
275 * log.c: (kadm5_log_rename): handle errors better
276 Fixes Coverity, NetBSD CID#628
278 * log.c (kadm5_log_delete): add error handling Coverity, NetBSD
280 (kadm5_log_modify): add error handling Coverity, NetBSD CID#627
282 * init_c.c (_kadm5_c_get_cred_cache): handle ccache case better in
283 case no client name was passed in. Coverity, NetBSD CID#919
285 * init_c.c (_kadm5_c_get_cred_cache): Free client principal in
286 case of error. Coverity NetBSD CID#1908
288 2006-02-02 Love Hörnquist Åstrand <lha@it.su.se>
290 * kadm5_err.et: (PASS_REUSE): Spelling,
291 from Václav H?la <ax@natur.cuni.cz>
293 2006-01-25 Love Hörnquist Åstrand <lha@it.su.se>
295 * send_recv.c: Clear error-string when introducing new errors.
297 * *_c.c: Clear error-string when introducing new errors.
299 2006-01-15 Love Hörnquist Åstrand <lha@it.su.se>
301 * Makefile.am (libkadm5clnt.la) doesn't depend on libhdb, remove
304 2005-12-13 Love Hörnquist Åstrand <lha@it.su.se>
306 * memset hdb_entry_ex before use
308 2005-12-12 Love Hörnquist Åstrand <lha@it.su.se>
310 * Wrap hdb_entry with hdb_entry_ex, patch originally
313 2005-11-30 Love Hörnquist Åstrand <lha@it.su.se>
315 * context_s.c (set_field): try another way to calculate the path
316 to the database/logfile/signal-socket
318 * log.c (kadm5_log_init): set error string on failures
320 2005-09-08 Love Hörnquist Åstrand <lha@it.su.se>
324 * admin.h: Add KRB5_TL_PKINIT_ACL.
326 * marshall.c (_kadm5_unmarshal_params): avoid signed-ness warnings
328 * get_s.c (kadm5_s_get_principal): clear error string
330 2005-08-25 Love Hörnquist Åstrand <lha@it.su.se>
332 * iprop-log.8: More text about iprop-log.
334 2005-08-24 Love Hörnquist Åstrand <lha@it.su.se>
336 * iprop.8: SEE ALSO iprop-log.
338 * Makefile.am: man_MANS += iprop-log.8
340 * iprop-log.8: Basic for documentation of iprop-log.
342 * remove replay_log.c, dump_log.c, and truncate_log.c, folded into
345 * log.c (kadm5_log_foreach): add a context variable and pass it
348 * iprop-commands.in: Move truncate_log and replay_log into
351 * iprop-log.c: Move truncate_log and replay_log into iprop-log.
353 * Makefile.am: Move truncate_log and replay_log into iprop-log.
355 * Makefile.am: Make this work with a clean directory.
357 * ipropd_master.c: Make compile.
359 * ipropd_master.c: Update to new signature of kadm5_log_previous.
361 * log.c (kadm5_log_previous): catch errors instead of asserting
362 and set error string.
364 * iprop-commands.in: New program iprop-log that incorperates
365 dump_log as a subcommand, truncate_log and replay_log soon to come
368 * iprop-log.c: New program iprop-log that incorperates dump_log as
369 a subcommand, truncate_log and replay_log soon to come after.
371 * Makefile.am: New program iprop-log that incorperates dump_log as
372 a subcommand, truncate_log and replay_log soon to come after.
374 2005-08-11 Love Hörnquist Åstrand <lha@it.su.se>
376 * get_s.c: Implement KADM5_LAST_PWD_CHANGE.
378 * set_keys.c: Set and clear password where appropriate.
380 * randkey_s.c: Operation modifies tl_data.
382 * log.c (kadm5_log_replay_modify): Check return values of
383 malloc(), replace all extensions.
385 * kadm5_err.et: Make BAD_TL_TYPE error more helpful.
387 * get_s.c: Expose KADM5_TL_DATA options to the client.
389 * ent_setup.c: Merge in KADM5_TL_DATA in the database.
391 * chpass_s.c: Operations modify extensions, mark that with
394 * admin.h: Add more TL types (password and extension).
396 2005-06-17 Love Hörnquist Åstrand <lha@it.su.se>
400 * ipropd_slave.c: avoid shadowing
402 * ipropd_master.c: rename local variable slave to s, optind ->
405 * get_princs_c.c: rename variable exp to expression
407 * ad.c: rename variable exp to expression
409 * log.c: rename shadowing len to num
411 * get_princs_s.c: rename variable exp to expression
413 * context_s.c: const poison
415 * common_glue.c: rename variable exp to expression
417 2005-05-30 Love Hörnquist Åstrand <lha@it.su.se>
419 * ent_setup.c (attr_to_flags): check for KRB5_KDB_OK_AS_DELEGATE
421 * get_s.c (kadm5_s_get_principal): set KRB5_KDB_OK_AS_DELEGATE
423 * admin.h: add KRB5_KDB_OK_AS_DELEGATE, sync KRB5_TL_ flags
425 2005-05-25 Love Hörnquist Åstrand <lha@it.su.se>
427 * kadm5_pwcheck.3: please mdoclint
429 2005-05-25 Dave Love <fx@gnu.org>
431 * kadm5_pwcheck.3: document kadm5_add_passwd_quality_verifier,
434 2005-05-24 Dave Love <fx@gnu.org>
436 * iprop.8: Added some info about defaults, fixed some markup.
438 2005-05-23 Dave Love <fx@gnu.org>
440 * ipropd_slave.c: Don't test HAVE_DAEMON since roken supplies it.
442 * ipropd_master.c: Don't test HAVE_DAEMON since roken supplies it.
444 2005-05-13 Love Hörnquist Åstrand <lha@it.su.se>
446 * init_c.c (_kadm5_c_init_context): fix memory leak in case of
449 2005-05-09 Dave Love <fx@gnu.org>
451 * password_quality.c (find_func): Fix off-by-one and logic error.
452 (external_passwd_quality): Improve messages.
454 * test_pw_quality.c (main): Call kadm5_setup_passwd_quality_check
455 and kadm5_add_passwd_quality_verifier.
457 2005-04-30 Love Hörnquist Åstrand <lha@it.su.se>
459 * default_keys.c: #include <err.h>, only print salt it its longer
460 then 0, use krb5_err instead of errx where appropriate
462 2005-04-25 Love Hörnquist Åstrand <lha@it.su.se>
464 * ipropd_slave.c: add the documented option --port
466 * ipropd_master.c: add the documented option --port
468 * dump_log.c: use the newly generated units function
470 2005-04-24 Love Hörnquist Åstrand <lha@it.su.se>
472 * dump_log.c: use strlcpy
474 * password_quality.c: don't use sizeof(pointer)
476 2005-04-15 Love Hörnquist Åstrand <lha@it.su.se>
478 * check-cracklib.pl: external password verifier sample
480 * password_quality.c (kadm5_add_passwd_quality_verifier): if NULL
481 is passed in, load defaults
483 2005-04-14 Love Hörnquist Åstrand <lha@it.su.se>
485 * password_quality.c: add an end tag to the external password
486 quality check protocol
488 2005-04-13 Love Hörnquist Åstrand <lha@it.su.se>
490 * password_quality.c: add external passsword quality check builtin
494 policies = external-check
495 external-program = /bin/false
497 To approve password a, make the test program return APPROVED on
498 stderr and fail with exit code 0.
500 2004-10-12 Love Hörnquist Åstrand <lha@it.su.se>
502 * Makefile.am: bump version to 7:7:0 and 6:5:2
504 * default_keys.c (parse_file): use hdb_generate_key_set
506 * keys.c,set_keys.c: Move keyset parsing and password based keyset
507 generation into hdb. Requested by Andrew Bartlett <abartlet@samba.org>
510 2004-09-23 Johan Danielsson <joda@pdc.kth.se>
512 * ipropd_master.c: add help strings to some options
514 2004-09-12 Love Hörnquist Åstrand <lha@it.su.se>
516 * chpass_s.c: deal with changed prototype for _kadm5_free_keys
518 * keys.c (_kadm5_free_keys): change prototype, make it use
519 krb5_context instead of a kadm5_server_context
521 * set_keys.c (parse_key_set): do way with static returning
522 (function) static variable and returned allocated memory
523 (_kadm5_generate_key_set): free enctypes returned by parse_key_set
525 2004-09-06 Love Hörnquist Åstrand <lha@it.su.se>
527 * set_keys.c: Fix memory leak, don't return stack variables From
530 * set_keys.c: make all_etypes const and move outside function to
531 avoid returning data on stack
533 2004-08-26 Love Hörnquist Åstrand <lha@it.su.se>
535 * acl.c (fetch_acl): use " \t\n" instead of just "\n" for the
536 delim of the third element, this is so we can match
537 "foo@REALM<SPC>all<SPC><SPC>*@REALM", before it just matched
538 "foo@REALM<SPC>all<SPC>*@REALM", but that is kind of lucky since
539 what really happen was that the last <SPC> was stamped out, and
540 the it never strtok_r never needed to parse over it.
542 2004-08-25 Love Hörnquist Åstrand <lha@it.su.se>
544 * set_keys.c (_kadm5_generate_key_set): since arcfour-hmac-md5 is
545 without salting, some people tries to add the string
546 "arcfour-hmac-md5" when they really should have used
547 "arcfour-hmac-md5:pw-salt", help them and add glue for that
549 2004-08-18 Johan Danielsson <joda@pdc.kth.se>
551 * ipropd_slave.c: add --detach
553 2004-07-06 Love Hörnquist Åstrand <lha@it.su.se>
555 * ad.c: use new tsasl interface remove debug printf add upn to
558 2004-06-28 Love Hörnquist Åstrand <lha@it.su.se>
560 * ad.c: implement kadm5_ad_init_with_password_ctx set more error
563 2004-06-21 Love Hörnquist Åstrand <lha@it.su.se>
565 * Makefile.am: man_MANS = kadm5_pwcheck.3
567 * kadm5_pwcheck.3: document new password quality api
569 * password_quality.c: new password check interface (old still
572 * kadm5-pwcheck.h: new password check interface
574 2004-06-08 Love Hörnquist Åstrand <lha@it.su.se>
576 * ipropd_master.c (main): process all slaves, not just up to the
577 last slave sending data
578 (bug report from Björn Sandell <biorn@dce.chalmers.se>)
579 (*): only send one ARE_YOU_THERE
581 2004-06-02 Love Hörnquist Åstrand <lha@it.su.se>
583 * ad.c: use krb5_set_password_using_ccache
585 2004-06-01 Love Hörnquist Åstrand <lha@it.su.se>
587 * ad.c: try handle spn's better
589 2004-05-31 Love Hörnquist Åstrand <lha@it.su.se>
591 * ad.c: add expiration time
593 * ad.c: add modify operations
595 * ad.c: handle create and delete
597 2004-05-27 Love Hörnquist Åstrand <lha@it.su.se>
599 * ad.c: more code for get, handle attributes
601 * ad.c: more code for get, handle time stamps and bad password
604 * ad.c: more code for get, only fetches kvno for now
606 2004-05-26 Love Hörnquist Åstrand <lha@it.su.se>
608 * ad.c: add support for tsasl
610 * private.h: add kadm5_ad_context
612 * ipropd_master.c (prop_one): store the opcode in the begining of
613 the blob, not the end
615 * ad.c: try all ldap servers in dns, generate a random password,
616 base64(random_block(64)), XXX must make it support other then
619 * ad.c: framework for windows AD backend
621 2004-03-07 Love Hörnquist Åstrand <lha@it.su.se>
623 * create_s.c (kadm5_s_create_principal): remove old XXX command
624 and related code, _kadm5_set_keys will do all this now
626 2004-02-29 Love Hörnquist Åstrand <lha@it.su.se>
628 * set_keys.c (_kadm5_set_keys_randomly): make sure enctype to copy
629 enctype for des keys From: Andrew Bartlett <abartlet@samba.org>
631 * create_s.c (kadm5_s_create_principal_with_key): don't call
632 _kadm5_set_keys2, create_principal will do that for us. Set kvno
635 * chpass_s.c (change): bump kvno
636 (kadm5_s_chpass_principal_with_key): bump kvno
638 * randkey_s.c (kadm5_s_randkey_principal): bump kvno
640 * set_keys.c (_kadm5_set_*): don't change the kvno, let the callee
643 2003-12-30 Love Hörnquist Åstrand <lha@it.su.se>
645 * chpass_s.c (change): fix same-password-again by decrypting keys
646 and setting an error code From: Buck Huppmann <buckh@pobox.com>
648 2003-12-21 Love Hörnquist Åstrand <lha@it.su.se>
650 * init_c.c (_kadm5_c_init_context): catch errors from strdup and
651 other krb5_ functions
653 2003-12-08 Love Hörnquist Åstrand <lha@it.su.se>
655 * rename_s.c (kadm5_s_rename_principal): allow principal to change
656 realm From Panasas Inc
658 2003-12-07 Love Hörnquist Åstrand <lha@it.su.se>
660 * destroy_c.c (kadm5_c_destroy): fix memory leaks, From Panasas,
663 2003-11-23 Love Hörnquist Åstrand <lha@it.su.se>
665 * iprop.h: don't include <krb5-private.h>
667 * ipropd_slave.c: stop using krb5 lib private byte-frobbing
668 functions and replace them with with krb5_storage
670 * ipropd_master.c: stop using krb5 lib private byte-frobbing
671 functions and replace them with with krb5_storage
673 2003-11-19 Love Hörnquist Åstrand <lha@it.su.se>
675 * ipropd_slave.c (receive_loop): when seeking over the entries we
676 already have, skip over the trailer. From: Jeffrey Hutzelman
679 * dump_log.c,ipropd_master.c,ipropd_slave.c,
680 replay_log.c,truncate_log.c: parse kdc.conf
681 From: Jeffrey Hutzelman <jhutz@cmu.edu>
683 2003-10-10 Love Hörnquist Åstrand <lha@it.su.se>
685 * Makefile.am: += test_pw_quality
687 * test_pw_quality.c: test program for verifying password quality
690 2003-09-03 Love Hörnquist Åstrand <lha@it.su.se>
692 * Makefile.am: add and enable check program default_keys
694 * default_keys.c: test program for _kadm5_generate_key_set
697 krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
699 2003-08-17 Love Hörnquist Åstrand <lha@it.su.se>
701 * set_keys.c (_kadm5_set_keys_randomly): remove dup return
703 * ipropd_master.c (main): make sure current_version is initialized
705 2003-08-15 Love Hörnquist Åstrand <lha@it.su.se>
707 * set_keys.c: use default_keys for the both random keys and
708 password derived keys if its defined
710 2003-07-24 Love Hörnquist Åstrand <lha@it.su.se>
712 * ipropd_slave.c (receive_everything): switch close and rename
713 From: Alf Wachsmann <alfw@SLAC.Stanford.EDU>
715 2003-07-03 Love Hörnquist Åstrand <lha@it.su.se>
717 * iprop.h, ipropd_master.c, ipropd_slave.c:
718 Add probing from the server that the client is still there, also
719 make the client check that the server is probing.
721 2003-07-02 Love Hörnquist Åstrand <lha@it.su.se>
723 * truncate_log.c (main): add missing ``if (ret)''
725 2003-06-26 Love Hörnquist Åstrand <lha@it.su.se>
727 * set_keys.c (make_keys): add AES support
729 * set_keys.c: fix off by one in the aes case, pointed out by Ken
732 2003-04-30 Love Hörnquist Åstrand <lha@it.su.se>
734 * set_keys.c (_kadm5_set_keys_randomly): add
735 ETYPE_AES256_CTS_HMAC_SHA1_96 key when configuried with aes
738 2003-04-16 Love Hörnquist Åstrand <lha@it.su.se>
740 * send_recv.c: check return values from krb5_data_alloc
741 * log.c: check return values from krb5_data_alloc
743 2003-04-16 Love Hörnquist Åstrand <lha@it.su.se>
745 * dump_log.c (print_entry): check return values from
748 2003-04-01 Love Hörnquist Åstrand <lha@it.su.se>
750 * init_c.c (kadm_connect): if a context realm was passed in, use
751 that to form the kadmin/admin principal
753 2003-03-19 Love Hörnquist Åstrand <lha@it.su.se>
755 * ipropd_master.c (main): make sure we don't consider dead slave
756 for select processing
757 (write_stats): use slave_stats_file variable,
758 check return value of strftime
759 (args): allow specifying slave stats file
760 (slave_dead): close the fd when the slave dies
762 2002-10-21 Johan Danielsson <joda@pdc.kth.se>
764 * ipropd_slave.c (from Derrick Brashear): Propagating a large
765 database without this means the slave kdcs can get erroneous
766 HDB_NOENTRY and return the resulting errors. This creates a new db
767 handle, populates it, and moves it into place.
769 2002-08-26 Assar Westerlund <assar@kth.se>
771 * ipropd_slave.c (receive_everything): type-correctness calling
774 * context_s.c (find_db_spec): const-correctness in parameters to
777 2002-08-16 Johan Danielsson <joda@pdc.kth.se>
779 * private.h: rename header file flag macro
781 * Makefile.am: generate kadm5-{protos,private}.h
783 2002-08-15 Johan Danielsson <joda@pdc.kth.se>
785 * ipropd_master.c: check return value of krb5_sockaddr2address
787 2002-07-04 Johan Danielsson <joda@pdc.kth.se>
789 * ipropd_master.c: handle slaves that come and go; add status
790 reporting (both from Love)
792 * iprop.h: KADM5_SLAVE_STATS
794 2002-03-25 Jacques Vidrine <n@nectar.com>
796 * init_c.c (get_cred_cache): bug fix: the default credentials
797 cache was not being used if a client name was specified.
799 2002-03-25 Johan Danielsson <joda@pdc.kth.se>
801 * init_c.c (get_cred_cache): when getting the default_client from
802 the cred cache, make sure the instance part is "admin"; this
803 should require fewer uses of -p
805 2002-03-11 Assar Westerlund <assar@sics.se>
807 * Makefile.am (libkadm5srv_la_LDFLAGS): set version to 7:5:0
808 (libkadm5clnt_la_LDFLAGS): set version to 6:3:2
810 2002-02-08 Johan Danielsson <joda@pdc.kth.se>
812 * init_c.c: we have to create our own param struct before
815 2001-09-05 Johan Danielsson <joda@pdc.kth.se>
817 * Makefile.am: link with LIB_pidfile
819 * iprop.h: include util.h for pidfile
821 2001-08-31 Assar Westerlund <assar@sics.se>
823 * ipropd_slave.c (main): syslog with the correct name
825 2001-08-30 Jacques Vidrine <n@nectar.com>
827 * ipropd_slave.c, ipropd_master.c (main): call pidfile
829 2001-08-28 Assar Westerlund <assar@sics.se>
831 * Makefile.am (libkadm5srv_la_LDFLAGS): set version to 7:4:0
833 2001-08-24 Assar Westerlund <assar@sics.se>
835 * acl.c (fetch_acl): do not return bogus flags and re-organize
838 * Makefile.am: rename variable name to avoid error from current
841 2001-08-13 Johan Danielsson <joda@pdc.kth.se>
843 * set_keys.c: add easier afs configuration, defaulting to the
844 local realm in lower case; also try to remove duplicate salts
846 2001-07-12 Assar Westerlund <assar@sics.se>
848 * Makefile.am: add required library dependencies
850 2001-07-03 Assar Westerlund <assar@sics.se>
852 * Makefile.am (libkadm5clnt_la_LDFLAGS): set version to 6:2:2
854 2001-06-29 Johan Danielsson <joda@pdc.kth.se>
856 * init_c.c: call krb5_get_init_creds_opt_set_default_flags
858 2001-02-19 Johan Danielsson <joda@pdc.kth.se>
860 * replay_log.c: add --{start-end}-version flags to replay just
863 2001-02-15 Assar Westerlund <assar@sics.se>
865 * ipropd_master.c (main): fix select-loop to decrement ret
866 correctly. from "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
868 2001-01-30 Assar Westerlund <assar@sics.se>
870 * Makefile.am: bump versions
872 2000-12-31 Assar Westerlund <assar@sics.se>
874 * init_s.c (*): handle krb5_init_context failure consistently
875 * init_c.c (init_context): handle krb5_init_context failure
878 2000-12-11 Assar Westerlund <assar@sics.se>
880 * Makefile.am (libkadm5srv_la_LDFLAGS): bump version to 7:2:0
882 2000-11-16 Assar Westerlund <assar@sics.se>
884 * set_keys.c (make_keys): clean-up salting loop and try not to
887 * ipropd_master.c (main): check for fd's being too large to select
890 2000-08-16 Assar Westerlund <assar@sics.se>
892 * Makefile.am (libkadm5srv_la_LDFLAGS): bump version to 7:1:0
894 2000-08-10 Assar Westerlund <assar@sics.se>
896 * acl.c (fetch_acl): fix wrong cases, use krb5_principal_match
898 2000-08-07 Assar Westerlund <assar@sics.se>
900 * ipropd_master.c (main): ignore SIGPIPE
902 2000-08-06 Assar Westerlund <assar@sics.se>
904 * ipropd_slave.c (receive_everything): make `fd' an int instead of
905 a pointer. From Derrick J Brashear <shadow@dementia.org>
907 2000-08-04 Johan Danielsson <joda@pdc.kth.se>
909 * admin.h: change void** to void*
911 2000-07-25 Johan Danielsson <joda@pdc.kth.se>
913 * Makefile.am: bump versions to 7:0:0 and 6:0:2
915 2000-07-24 Assar Westerlund <assar@sics.se>
917 * log.c (kadm5_log_get_version): rename kadm5_log_get_version_fd
918 and make a new that takes a context
919 (kadm5_log_nop): add logging of missing lengths
920 (kadm5_log_truncate): new function
922 * dump_log.c (print_entry): update and correct
923 * randkey_s.c: call _kadm5_bump_pw_expire
924 * truncate_log.c: new program for truncating the log
925 * Makefile.am (sbin_PROGRAMS): add truncate_log
926 (C_SOURCES): add bump_pw_expire.c
927 * bump_pw_expire.c: new function for extending password expiration
929 2000-07-22 Assar Westerlund <assar@sics.se>
931 * keys.c: new file with _kadm5_free_keys, _kadm5_init_keys
933 * set_keys.c (free_keys, init_keys): elevate to internal kadm5
936 * chpass_s.c (kadm5_s_chpass_principal_cond): new function
937 * Makefile.am (C_SOURCES): add keys.c
938 * init_c.c: remove unused variable and handle some parameters
941 2000-07-22 Johan Danielsson <joda@pdc.kth.se>
943 * ipropd_slave.c: use krb5_read_priv_message
945 * ipropd_master.c: use krb5_{read,write}_priv_message
947 * init_c.c: use krb5_write_priv_message
949 2000-07-11 Johan Danielsson <joda@pdc.kth.se>
951 * ipropd_slave.c: no need to call gethostname, since
952 sname_to_principal will
954 * send_recv.c: assert that we have a connected socket
956 * get_princs_c.c: call _kadm5_connect
958 * rename_c.c: call _kadm5_connect
960 * randkey_c.c: call _kadm5_connect
962 * privs_c.c: call _kadm5_connect
964 * modify_c.c: call _kadm5_connect
966 * get_c.c: call _kadm5_connect
968 * delete_c.c: call _kadm5_connect
970 * create_c.c: call _kadm5_connect
972 * chpass_c.c: call _kadm5_connect
974 * private.h: add more fields to client context; remove prototypes
976 * admin.h: remove prototypes
978 * kadm5-protos.h: move public prototypes here
980 * kadm5-private.h: move private prototypes here
982 * init_c.c: break out connection code to separate function, and
983 defer calling it until we actually do something
985 2000-07-07 Assar Westerlund <assar@sics.se>
987 * set_keys.c (make_keys): also support `[kadmin]use_v4_salt' for
988 backwards compatability
990 2000-06-26 Johan Danielsson <joda@pdc.kth.se>
992 * set_keys.c (_kadm5_set_keys): rewrite this to be more easily
993 adaptable to different salts
995 2000-06-19 Johan Danielsson <joda@pdc.kth.se>
997 * get_s.c: pa_* -> KRB5_PADATA_*
999 2000-06-16 Assar Westerlund <assar@sics.se>
1001 * ipropd_slave.c: change default keytab to default keytab (as in
1002 typically FILE:/etc/krb5.keytab)
1004 2000-06-08 Assar Westerlund <assar@sics.se>
1006 * ipropd_slave.c: bug fixes, for actually writing the full dump to
1007 the database. based on a patch from Love <lha@stacken.kth.se>
1009 2000-06-07 Assar Westerlund <assar@sics.se>
1011 * acl.c: add support for patterns of principals
1012 * log.c (kadm5_log_replay_create): handle more NULL pointers
1013 (should they really happen?)
1014 * log.c (kadm5_log_replay_modify): handle max_life == NULL and
1017 * ipropd_master.c: use syslog. be less verbose
1018 * ipropd_slave.c: use syslog
1020 2000-06-05 Assar Westerlund <assar@sics.se>
1022 * private.h (kadm_ops): add kadm_nop more prototypes
1023 * log.c (kadm5_log_set_version, kadm5_log_reinit, kadm5_log_nop,
1024 kadm5_log_replay_nop): add
1025 * ipropd_slave.c: and some more improvements
1026 * ipropd_master.c: lots of improvements
1027 * iprop.h (IPROP_PORT, IPROP_SERVICE): add
1028 (iprop_cmd): add new commands
1030 * dump_log.c: add nop
1032 2000-05-15 Assar Westerlund <assar@sics.se>
1034 * Makefile.am (libkadm5clnt_la_LDFLAGS): set version to 5:1:1
1036 2000-05-12 Assar Westerlund <assar@sics.se>
1038 * get_s.c (kadm5_s_get_principal): set life, rlife to INT_MAX as a
1039 fallback. handle not having any creator.
1040 * destroy_s.c (kadm5_s_destroy): free all allocated memory
1041 * context_s.c (set_field): free variable if it's already set
1042 (find_db_spec): malloc space for all strings
1044 2000-04-05 Assar Westerlund <assar@sics.se>
1046 * Makefile.am (LDADD): add LIB_openldap
1048 2000-04-03 Assar Westerlund <assar@sics.se>
1050 * Makefile.am (libkadm5srv_la_LDFLAGS): set version to 6:0:1
1051 (libkadm5clnt_la_LDFLAGS): set version to 5:0:1
1053 2000-03-24 Assar Westerlund <assar@sics.se>
1055 * set_keys.c (_kadm5_set_keys2): rewrite
1056 (_kadm5_set_keys3): add
1058 * private.h (struct kadm_func): add chpass_principal_with_key
1059 * init_c.c (set_funcs): add chpass_principal_with_key
1061 2000-03-23 Assar Westerlund <assar@sics.se>
1063 * context_s.c (set_funcs): add chpass_principal_with_key
1064 * common_glue.c (kadm5_chpass_principal_with_key): add
1065 * chpass_s.c: comment-ize and change calling convention for
1067 * chpass_c.c (kadm5_c_chpass_principal_with_key): add
1069 2000-02-07 Assar Westerlund <assar@sics.se>
1071 * Makefile.am (libkadm5clnt_la_LDFLAGS): set version to 4:2:0
1073 2000-01-28 Assar Westerlund <assar@sics.se>
1075 * init_c.c (get_new_cache): make sure to request non-forwardable,
1078 2000-01-06 Assar Westerlund <assar@sics.se>
1080 * Makefile.am (libkadm5srv.la): bump version to 5:1:0
1082 * context_s.c (_kadm5_s_init_context): handle params == NULL
1084 1999-12-26 Assar Westerlund <assar@sics.se>
1086 * get_s.c (kadm5_s_get_principal): handle modified_by->principal
1089 1999-12-20 Assar Westerlund <assar@sics.se>
1091 * Makefile.am (libkadm5clnt_la_LDFLAGS): bump version to 4:1:0
1093 * init_c.c (_kadm5_c_init_context): handle getting back port
1094 number from admin host
1095 (kadm5_c_init_with_context): remove `proto/' part before doing
1098 1999-12-06 Assar Westerlund <assar@sics.se>
1100 * Makefile.am: bump version to 5:0:0 and 4:0:0
1102 * init_c.c (kadm5_c_init_with_context): don't use unitialized
1105 1999-12-04 Assar Westerlund <assar@sics.se>
1107 * replay_log.c: adapt to changed kadm5_log_foreach
1109 * log.c (kadm5_log_foreach): change to take a
1110 `kadm5_server_context'
1112 * init_c.c: use krb5_warn{,x}
1114 * dump_log.c: adapt to changed kadm5_log_foreach
1116 * init_c.c: re-write to use getaddrinfo
1117 * Makefile.am (install-build-headers): add dependency
1119 1999-12-03 Johan Danielsson <joda@pdc.kth.se>
1121 * log.c (kadm5_log_foreach): pass context
1123 * dump_log.c: print more interesting things
1125 1999-12-02 Johan Danielsson <joda@pdc.kth.se>
1127 * ipropd_master.c (process_msg): check for short reads
1129 1999-11-25 Assar Westerlund <assar@sics.se>
1131 * modify_s.c (kadm5_s_modify_principal): support key_data
1132 (kadm5_s_modify_principal_with_key): remove
1134 * admin.h (kadm5_s_modify_principal_with_key): remove
1136 1999-11-20 Assar Westerlund <assar@sics.se>
1138 * context_s.c (find_db_spec): ugly cast work-around.
1140 1999-11-14 Assar Westerlund <assar@sics.se>
1142 * context_s.c (_kadm5_s_init_context): call krb5_add_et_list so
1143 that we aren't dependent on the layout of krb5_context_data
1144 * init_c.c (_kadm5_c_init_context): call krb5_add_et_list so that
1145 we aren't dependent on the layout of krb5_context_data
1147 1999-11-13 Assar Westerlund <assar@sics.se>
1149 * password_quality.c (kadm5_setup_passwd_quality_check): use
1150 correct types for function pointers
1152 1999-11-09 Johan Danielsson <joda@pdc.kth.se>
1154 * randkey_s.c: always bail out if the fetch fails
1156 * admin.h (kadm5_config_params): remove fields we're not using
1158 * ipropd_slave.c: allow passing a realm
1160 * ipropd_master.c: allow passing a realm
1162 * dump_log.c: allow passing a realm
1164 * acl.c: correctly get acl file
1166 * private.h (kadm5_server_context): add config_params struct and
1167 remove acl_file; bump protocol version number
1169 * marshall.c: marshalling of config parameters
1171 * init_c.c (kadm5_c_init_with_context): try to cope with old
1174 * init_s.c (kadm5_s_init_with_context): actually use some passed
1177 * context_s.c (_kadm5_s_init_context): get dbname, acl_file, and
1178 stash_file from the config parameters, try to figure out these if
1179 they're not provided
1181 1999-11-05 Assar Westerlund <assar@sics.se>
1183 * Makefile.am (install-build-headers): use `cp' instead of
1186 1999-11-04 Assar Westerlund <assar@sics.se>
1188 * Makefile.am: bump version to 4:0:0 and 3:0:0 (they access fields
1189 directly in libkrb5's context - bad functions)
1191 * set_keys.c (_kadm5_set_keys_randomly): set enctypes correctly in
1194 1999-10-20 Assar Westerlund <assar@sics.se>
1196 * Makefile.am: set version of kadm5srv to 3:0:2 (new password
1198 set version of kdam5clnt to 2:1:1 (no interface changes)
1200 * Makefile.am (LDADD): add $(LIB_dlopen)
1202 1999-10-17 Assar Westerlund <assar@sics.se>
1204 * randkey_s.c (kadm5_s_randkey_principal): use
1205 _kadm5_set_keys_randomly
1207 * set_keys.c (free_keys): free more memory
1208 (_kadm5_set_keys): a little bit more generic
1209 (_kadm5_set_keys_randomly): new function for setting random keys.
1211 1999-10-14 Assar Westerlund <assar@sics.se>
1213 * set_keys.c (_kadm5_set_keys): ignore old keys when setting new
1214 ones and always add 3 DES keys and one 3DES key
1216 1999-10-03 Assar Westerlund <assar@sics.se>
1218 * init_c.c (_kadm5_c_init_context): use `krb5_get_krb_admin_hst'.
1219 check return value from strdup
1221 1999-09-26 Assar Westerlund <assar@sics.se>
1223 * acl.c (_kadm5_privs_to_string): forgot one strcpy_truncate ->
1226 1999-09-24 Johan Danielsson <joda@pdc.kth.se>
1228 * dump_log.c: remove unused `optind'
1230 * replay_log.c: remove unused `optind'
1232 1999-09-13 Assar Westerlund <assar@sics.se>
1234 * chpass_c.c (kadm5_c_chpass_principal): new _kadm5_client_recv
1236 * send_recv.c (_kadm5_client_recv): return result in a `krb5_data'
1237 so that we avoid copying it and don't need to dimension in
1238 advance. change all callers.
1240 1999-09-10 Assar Westerlund <assar@sics.se>
1242 * password_quality.c: new file
1245 (kadm5_setup_passwd_quality_check,kadm5_check_password_quality):
1248 * Makefile.am (S_SOURCES): add password_quality.c
1250 1999-07-26 Assar Westerlund <assar@sics.se>
1252 * Makefile.am: update versions to 2:0:1
1254 1999-07-24 Assar Westerlund <assar@sics.se>
1256 * ent_setup.c (_kadm5_setup_entry): make princ_expire_time == 0
1257 and pw_expiration == 0 mean never
1259 1999-07-22 Assar Westerlund <assar@sics.se>
1261 * log.c (kadm5_log_flush): extra cast
1263 1999-07-07 Assar Westerlund <assar@sics.se>
1265 * marshall.c (store_principal_ent): encoding princ_expire_time and
1266 pw_expiration in correct order
1268 1999-06-28 Assar Westerlund <assar@sics.se>
1270 * randkey_s.c (kadm5_s_randkey_principal): nuke old mkvno,
1271 otherwise hdb will think that the new random keys are already
1272 encrypted which will cause lots of confusion later.
1274 1999-06-23 Assar Westerlund <assar@sics.se>
1276 * ent_setup.c (_kadm5_setup_entry): handle 0 == unlimited
1277 correctly. From Michal Vocu <michal@karlin.mff.cuni.cz>
1279 1999-06-15 Assar Westerlund <assar@sics.se>
1281 * init_c.c (get_cred_cache): use get_default_username
1283 1999-05-23 Assar Westerlund <assar@sics.se>
1285 * create_s.c (create_principal): if there's no default entry the
1286 mask should be zero.
1288 1999-05-21 Assar Westerlund <assar@sics.se>
1290 * init_c.c (get_cred_cache): use $USERNAME
1292 1999-05-17 Johan Danielsson <joda@pdc.kth.se>
1294 * init_c.c (get_cred_cache): figure out principal
1296 1999-05-05 Johan Danielsson <joda@pdc.kth.se>
1298 * send_recv.c: cleanup _kadm5_client_{send,recv}
1300 1999-05-04 Assar Westerlund <assar@sics.se>
1302 * set_keys.c (_kadm5_set_keys2): don't check the recently created
1303 memory for NULL pointers
1305 * private.h (_kadm5_setup_entry): change prototype
1307 * modify_s.c: call new _kadm5_setup_entry
1309 * ent_setup.c (_kadm5_setup_entry): change so that it takes three
1310 masks, one for what bits to set and one for each of principal and
1311 def containing the bits that are set there.
1313 * create_s.c: call new _kadm5_setup_entry
1315 * create_s.c (get_default): check return value
1316 (create_principal): send wider mask to _kadm5_setup_entry
1318 1999-05-04 Johan Danielsson <joda@pdc.kth.se>
1320 * send_recv.c (_kadm5_client_recv): handle arbitrarily sized
1321 packets, check for errors
1323 * get_c.c: check for failure from _kadm5_client_{send,recv}
1325 1999-05-04 Assar Westerlund <assar@sics.se>
1327 * init_c.c (get_new_cache): don't abort when interrupted from
1330 * destroy_c.c (kadm5_c_destroy): check if we should destroy the
1333 1999-05-03 Johan Danielsson <joda@pdc.kth.se>
1335 * chpass_s.c: fix arguments to _kadm5_set_keys2
1339 * set_keys.c: clear mkvno
1341 * rename_s.c: add flags to fetch and store; seal keys before
1344 * randkey_s.c: add flags to fetch and store; seal keys before
1347 * modify_s.c: add flags to fetch and store; seal keys before
1350 * log.c: add flags to fetch and store; seal keys before logging
1352 * get_s.c: add flags to fetch and store; seal keys before logging
1354 * get_princs_s.c: add flags to fetch and store; seal keys before
1357 * delete_s.c: add flags to fetch and store; seal keys before
1360 * create_s.c: add flags to fetch and store; seal keys before
1363 * chpass_s.c: add flags to fetch and store; seal keys before
1366 * Makefile.am: remove server.c
1368 * admin.h: add prototypes
1370 * ent_setup.c (_kadm5_setup_entry): set key_data
1372 * set_keys.c: add _kadm5_set_keys2 to sey keys from key_data
1374 * modify_s.c: add kadm5_s_modify_principal_with_key
1376 * create_s.c: add kadm5_s_create_principal_with_key
1378 * chpass_s.c: add kadm5_s_chpass_principal_with_key
1380 * kadm5_locl.h: move stuff to private.h
1382 * private.h: move stuff from kadm5_locl.h