xref: /freebsd/crypto/heimdal/lib/kadm5/ChangeLog (revision adb0ddaeac0a71a08d6af3a711387b59efcc94b6)
1adb0ddaeSAssar Westerlund2001-02-19  Johan Danielsson  <joda@pdc.kth.se>
2adb0ddaeSAssar Westerlund
3adb0ddaeSAssar Westerlund	* replay_log.c: add --{start-end}-version flags to replay just
4adb0ddaeSAssar Westerlund	part of the log
5adb0ddaeSAssar Westerlund
6adb0ddaeSAssar Westerlund2001-02-15  Assar Westerlund  <assar@sics.se>
7adb0ddaeSAssar Westerlund
8adb0ddaeSAssar Westerlund	* ipropd_master.c (main): fix select-loop to decrement ret
9adb0ddaeSAssar Westerlund	correctly.  from "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
10adb0ddaeSAssar Westerlund
115e9cd1aeSAssar Westerlund2001-01-30  Assar Westerlund  <assar@sics.se>
125e9cd1aeSAssar Westerlund
135e9cd1aeSAssar Westerlund	* Makefile.am: bump versions
145e9cd1aeSAssar Westerlund
155e9cd1aeSAssar Westerlund2000-12-31  Assar Westerlund  <assar@sics.se>
165e9cd1aeSAssar Westerlund
175e9cd1aeSAssar Westerlund	* init_s.c (*): handle krb5_init_context failure consistently
185e9cd1aeSAssar Westerlund	* init_c.c (init_context): handle krb5_init_context failure
195e9cd1aeSAssar Westerlund	consistently
205e9cd1aeSAssar Westerlund
215e9cd1aeSAssar Westerlund2000-12-11  Assar Westerlund  <assar@sics.se>
225e9cd1aeSAssar Westerlund
235e9cd1aeSAssar Westerlund	* Makefile.am (libkadm5srv_la_LDFLAGS): bump version to 7:2:0
245e9cd1aeSAssar Westerlund
255e9cd1aeSAssar Westerlund2000-11-16  Assar Westerlund  <assar@sics.se>
265e9cd1aeSAssar Westerlund
275e9cd1aeSAssar Westerlund	* set_keys.c (make_keys): clean-up salting loop and try not to
285e9cd1aeSAssar Westerlund	leak memory
295e9cd1aeSAssar Westerlund
305e9cd1aeSAssar Westerlund	* ipropd_master.c (main): check for fd's being too large to select
315e9cd1aeSAssar Westerlund	on
325e9cd1aeSAssar Westerlund
335e9cd1aeSAssar Westerlund2000-08-16  Assar Westerlund  <assar@sics.se>
345e9cd1aeSAssar Westerlund
355e9cd1aeSAssar Westerlund	* Makefile.am (libkadm5srv_la_LDFLAGS): bump version to 7:1:0
365e9cd1aeSAssar Westerlund
375e9cd1aeSAssar Westerlund2000-08-10  Assar Westerlund  <assar@sics.se>
385e9cd1aeSAssar Westerlund
395e9cd1aeSAssar Westerlund	* acl.c (fetch_acl): fix wrong cases, use krb5_principal_match
405e9cd1aeSAssar Westerlund
415e9cd1aeSAssar Westerlund2000-08-07  Assar Westerlund  <assar@sics.se>
425e9cd1aeSAssar Westerlund
435e9cd1aeSAssar Westerlund	* ipropd_master.c (main): ignore SIGPIPE
445e9cd1aeSAssar Westerlund
455e9cd1aeSAssar Westerlund2000-08-06  Assar Westerlund  <assar@sics.se>
465e9cd1aeSAssar Westerlund
475e9cd1aeSAssar Westerlund	* ipropd_slave.c (receive_everything): make `fd' an int instead of
485e9cd1aeSAssar Westerlund	a pointer.  From Derrick J Brashear <shadow@dementia.org>
495e9cd1aeSAssar Westerlund
505e9cd1aeSAssar Westerlund2000-08-04  Johan Danielsson  <joda@pdc.kth.se>
515e9cd1aeSAssar Westerlund
525e9cd1aeSAssar Westerlund	* admin.h: change void** to void*
535e9cd1aeSAssar Westerlund
545e9cd1aeSAssar Westerlund2000-07-25  Johan Danielsson  <joda@pdc.kth.se>
555e9cd1aeSAssar Westerlund
565e9cd1aeSAssar Westerlund	* Makefile.am: bump versions to 7:0:0 and 6:0:2
575e9cd1aeSAssar Westerlund
585e9cd1aeSAssar Westerlund2000-07-24  Assar Westerlund  <assar@sics.se>
595e9cd1aeSAssar Westerlund
605e9cd1aeSAssar Westerlund	* log.c (kadm5_log_get_version): rename kadm5_log_get_version_fd
615e9cd1aeSAssar Westerlund	and make a new that takes a context
625e9cd1aeSAssar Westerlund	(kadm5_log_nop): add logging of missing lengths
635e9cd1aeSAssar Westerlund	(kadm5_log_truncate): new function
645e9cd1aeSAssar Westerlund
655e9cd1aeSAssar Westerlund	* dump_log.c (print_entry): update and correct
665e9cd1aeSAssar Westerlund	* randkey_s.c: call _kadm5_bump_pw_expire
675e9cd1aeSAssar Westerlund	* truncate_log.c: new program for truncating the log
685e9cd1aeSAssar Westerlund	* Makefile.am (sbin_PROGRAMS): add truncate_log
695e9cd1aeSAssar Westerlund	(C_SOURCES): add bump_pw_expire.c
705e9cd1aeSAssar Westerlund	* bump_pw_expire.c: new function for extending password expiration
715e9cd1aeSAssar Westerlund
725e9cd1aeSAssar Westerlund2000-07-22  Assar Westerlund  <assar@sics.se>
735e9cd1aeSAssar Westerlund
745e9cd1aeSAssar Westerlund	* keys.c: new file with _kadm5_free_keys, _kadm5_init_keys
755e9cd1aeSAssar Westerlund
765e9cd1aeSAssar Westerlund	* set_keys.c (free_keys, init_keys): elevate to internal kadm5
775e9cd1aeSAssar Westerlund	functions
785e9cd1aeSAssar Westerlund
795e9cd1aeSAssar Westerlund	* chpass_s.c (kadm5_s_chpass_principal_cond): new function
805e9cd1aeSAssar Westerlund	* Makefile.am (C_SOURCES): add keys.c
815e9cd1aeSAssar Westerlund	* init_c.c: remove unused variable and handle some parameters
825e9cd1aeSAssar Westerlund	being NULL
835e9cd1aeSAssar Westerlund
845e9cd1aeSAssar Westerlund2000-07-22  Johan Danielsson  <joda@pdc.kth.se>
855e9cd1aeSAssar Westerlund
865e9cd1aeSAssar Westerlund	* ipropd_slave.c: use krb5_read_priv_message
875e9cd1aeSAssar Westerlund
885e9cd1aeSAssar Westerlund	* ipropd_master.c: use krb5_{read,write}_priv_message
895e9cd1aeSAssar Westerlund
905e9cd1aeSAssar Westerlund	* init_c.c: use krb5_write_priv_message
915e9cd1aeSAssar Westerlund
925e9cd1aeSAssar Westerlund2000-07-11  Johan Danielsson  <joda@pdc.kth.se>
935e9cd1aeSAssar Westerlund
945e9cd1aeSAssar Westerlund	* ipropd_slave.c: no need to call gethostname, since
955e9cd1aeSAssar Westerlund	sname_to_principal will
965e9cd1aeSAssar Westerlund
975e9cd1aeSAssar Westerlund	* send_recv.c: assert that we have a connected socket
985e9cd1aeSAssar Westerlund
995e9cd1aeSAssar Westerlund	* get_princs_c.c: call _kadm5_connect
1005e9cd1aeSAssar Westerlund
1015e9cd1aeSAssar Westerlund	* rename_c.c: call _kadm5_connect
1025e9cd1aeSAssar Westerlund
1035e9cd1aeSAssar Westerlund	* randkey_c.c: call _kadm5_connect
1045e9cd1aeSAssar Westerlund
1055e9cd1aeSAssar Westerlund	* privs_c.c: call _kadm5_connect
1065e9cd1aeSAssar Westerlund
1075e9cd1aeSAssar Westerlund	* modify_c.c: call _kadm5_connect
1085e9cd1aeSAssar Westerlund
1095e9cd1aeSAssar Westerlund	* get_c.c: call _kadm5_connect
1105e9cd1aeSAssar Westerlund
1115e9cd1aeSAssar Westerlund	* delete_c.c: call _kadm5_connect
1125e9cd1aeSAssar Westerlund
1135e9cd1aeSAssar Westerlund	* create_c.c: call _kadm5_connect
1145e9cd1aeSAssar Westerlund
1155e9cd1aeSAssar Westerlund	* chpass_c.c: call _kadm5_connect
1165e9cd1aeSAssar Westerlund
1175e9cd1aeSAssar Westerlund	* private.h: add more fields to client context; remove prototypes
1185e9cd1aeSAssar Westerlund
1195e9cd1aeSAssar Westerlund	* admin.h: remove prototypes
1205e9cd1aeSAssar Westerlund
1215e9cd1aeSAssar Westerlund	* kadm5-protos.h: move public prototypes here
1225e9cd1aeSAssar Westerlund
1235e9cd1aeSAssar Westerlund	* kadm5-private.h: move private prototypes here
1245e9cd1aeSAssar Westerlund
1255e9cd1aeSAssar Westerlund	* init_c.c: break out connection code to separate function, and
1265e9cd1aeSAssar Westerlund	defer calling it until we actually do something
1275e9cd1aeSAssar Westerlund
1285e9cd1aeSAssar Westerlund2000-07-07  Assar Westerlund  <assar@sics.se>
1295e9cd1aeSAssar Westerlund
1305e9cd1aeSAssar Westerlund	* set_keys.c (make_keys): also support `[kadmin]use_v4_salt' for
1315e9cd1aeSAssar Westerlund	backwards compatability
1325e9cd1aeSAssar Westerlund
1335e9cd1aeSAssar Westerlund2000-06-26  Johan Danielsson  <joda@pdc.kth.se>
1345e9cd1aeSAssar Westerlund
1355e9cd1aeSAssar Westerlund	* set_keys.c (_kadm5_set_keys): rewrite this to be more easily
1365e9cd1aeSAssar Westerlund	adaptable to different salts
1375e9cd1aeSAssar Westerlund
1385e9cd1aeSAssar Westerlund2000-06-19  Johan Danielsson  <joda@pdc.kth.se>
1395e9cd1aeSAssar Westerlund
1405e9cd1aeSAssar Westerlund	* get_s.c: pa_* -> KRB5_PADATA_*
1415e9cd1aeSAssar Westerlund
1425e9cd1aeSAssar Westerlund2000-06-16  Assar Westerlund  <assar@sics.se>
1435e9cd1aeSAssar Westerlund
1445e9cd1aeSAssar Westerlund	* ipropd_slave.c: change default keytab to default keytab (as in
1455e9cd1aeSAssar Westerlund	typically FILE:/etc/krb5.keytab)
1465e9cd1aeSAssar Westerlund
1475e9cd1aeSAssar Westerlund2000-06-08  Assar Westerlund  <assar@sics.se>
1485e9cd1aeSAssar Westerlund
1495e9cd1aeSAssar Westerlund	* ipropd_slave.c: bug fixes, for actually writing the full dump to
1505e9cd1aeSAssar Westerlund	the database.  based on a patch from Love <lha@stacken.kth.se>
1515e9cd1aeSAssar Westerlund
1525e9cd1aeSAssar Westerlund2000-06-07  Assar Westerlund  <assar@sics.se>
1535e9cd1aeSAssar Westerlund
1545e9cd1aeSAssar Westerlund	* acl.c: add support for patterns of principals
1555e9cd1aeSAssar Westerlund	* log.c (kadm5_log_replay_create): handle more NULL pointers
1565e9cd1aeSAssar Westerlund	(should they really happen?)
1575e9cd1aeSAssar Westerlund	* log.c (kadm5_log_replay_modify): handle max_life == NULL and
1585e9cd1aeSAssar Westerlund	max_renew == NULL
1595e9cd1aeSAssar Westerlund
1605e9cd1aeSAssar Westerlund	* ipropd_master.c: use syslog.  be less verbose
1615e9cd1aeSAssar Westerlund	* ipropd_slave.c: use syslog
1625e9cd1aeSAssar Westerlund
1635e9cd1aeSAssar Westerlund2000-06-05  Assar Westerlund  <assar@sics.se>
1645e9cd1aeSAssar Westerlund
1655e9cd1aeSAssar Westerlund	* private.h (kadm_ops): add kadm_nop more prototypes
1665e9cd1aeSAssar Westerlund	* log.c (kadm5_log_set_version, kadm5_log_reinit, kadm5_log_nop,
1675e9cd1aeSAssar Westerlund	kadm5_log_replay_nop): add
1685e9cd1aeSAssar Westerlund	* ipropd_slave.c: and some more improvements
1695e9cd1aeSAssar Westerlund	* ipropd_master.c: lots of improvements
1705e9cd1aeSAssar Westerlund	* iprop.h (IPROP_PORT, IPROP_SERVICE): add
1715e9cd1aeSAssar Westerlund	(iprop_cmd): add new commands
1725e9cd1aeSAssar Westerlund
1735e9cd1aeSAssar Westerlund	* dump_log.c: add nop
1745e9cd1aeSAssar Westerlund
1755e9cd1aeSAssar Westerlund2000-05-15  Assar Westerlund  <assar@sics.se>
1765e9cd1aeSAssar Westerlund
1775e9cd1aeSAssar Westerlund	* Makefile.am (libkadm5clnt_la_LDFLAGS): set version to 5:1:1
1785e9cd1aeSAssar Westerlund
1795e9cd1aeSAssar Westerlund2000-05-12  Assar Westerlund  <assar@sics.se>
1805e9cd1aeSAssar Westerlund
1815e9cd1aeSAssar Westerlund	* get_s.c (kadm5_s_get_principal): set life, rlife to INT_MAX as a
1825e9cd1aeSAssar Westerlund	fallback.  handle not having any creator.
1835e9cd1aeSAssar Westerlund	* destroy_s.c (kadm5_s_destroy): free all allocated memory
1845e9cd1aeSAssar Westerlund	* context_s.c (set_field): free variable if it's already set
1855e9cd1aeSAssar Westerlund	(find_db_spec): malloc space for all strings
1865e9cd1aeSAssar Westerlund
1875e9cd1aeSAssar Westerlund2000-04-05  Assar Westerlund  <assar@sics.se>
1885e9cd1aeSAssar Westerlund
1895e9cd1aeSAssar Westerlund	* Makefile.am (LDADD): add LIB_openldap
1905e9cd1aeSAssar Westerlund
1915e9cd1aeSAssar Westerlund2000-04-03  Assar Westerlund  <assar@sics.se>
1925e9cd1aeSAssar Westerlund
1935e9cd1aeSAssar Westerlund	* Makefile.am (libkadm5srv_la_LDFLAGS): set version to 6:0:1
1945e9cd1aeSAssar Westerlund	(libkadm5clnt_la_LDFLAGS): set version to 5:0:1
1955e9cd1aeSAssar Westerlund
1965e9cd1aeSAssar Westerlund2000-03-24  Assar Westerlund  <assar@sics.se>
1975e9cd1aeSAssar Westerlund
1985e9cd1aeSAssar Westerlund	* set_keys.c (_kadm5_set_keys2): rewrite
1995e9cd1aeSAssar Westerlund	(_kadm5_set_keys3): add
2005e9cd1aeSAssar Westerlund
2015e9cd1aeSAssar Westerlund	* private.h (struct kadm_func): add chpass_principal_with_key
2025e9cd1aeSAssar Westerlund	* init_c.c (set_funcs): add chpass_principal_with_key
2035e9cd1aeSAssar Westerlund
2045e9cd1aeSAssar Westerlund2000-03-23  Assar Westerlund  <assar@sics.se>
2055e9cd1aeSAssar Westerlund
2065e9cd1aeSAssar Westerlund	* context_s.c (set_funcs): add chpass_principal_with_key
2075e9cd1aeSAssar Westerlund	* common_glue.c (kadm5_chpass_principal_with_key): add
2085e9cd1aeSAssar Westerlund	* chpass_s.c: comment-ize and change calling convention for
2095e9cd1aeSAssar Westerlund	_kadm5_set_keys*
2105e9cd1aeSAssar Westerlund	* chpass_c.c (kadm5_c_chpass_principal_with_key): add
2115e9cd1aeSAssar Westerlund
21213e3f4d6SMark Murray2000-02-07  Assar Westerlund  <assar@sics.se>
21313e3f4d6SMark Murray
21413e3f4d6SMark Murray	* Makefile.am (libkadm5clnt_la_LDFLAGS): set version to 4:2:0
21513e3f4d6SMark Murray
21613e3f4d6SMark Murray2000-01-28  Assar Westerlund  <assar@sics.se>
21713e3f4d6SMark Murray
21813e3f4d6SMark Murray	* init_c.c (get_new_cache): make sure to request non-forwardable,
21913e3f4d6SMark Murray	non-proxiable
22013e3f4d6SMark Murray
221b528cefcSMark Murray2000-01-06  Assar Westerlund  <assar@sics.se>
222b528cefcSMark Murray
223b528cefcSMark Murray	* Makefile.am (libkadm5srv.la): bump version to 5:1:0
224b528cefcSMark Murray
225b528cefcSMark Murray	* context_s.c (_kadm5_s_init_context): handle params == NULL
226b528cefcSMark Murray
227b528cefcSMark Murray1999-12-26  Assar Westerlund  <assar@sics.se>
228b528cefcSMark Murray
229b528cefcSMark Murray	* get_s.c (kadm5_s_get_principal): handle modified_by->principal
230b528cefcSMark Murray 	== NULL
231b528cefcSMark Murray
232b528cefcSMark Murray1999-12-20  Assar Westerlund  <assar@sics.se>
233b528cefcSMark Murray
234b528cefcSMark Murray	* Makefile.am (libkadm5clnt_la_LDFLAGS): bump version to 4:1:0
235b528cefcSMark Murray
236b528cefcSMark Murray	* init_c.c (_kadm5_c_init_context): handle getting back port
237b528cefcSMark Murray 	number from admin host
238b528cefcSMark Murray	(kadm5_c_init_with_context): remove `proto/' part before doing
239b528cefcSMark Murray	getaddrinfo()
240b528cefcSMark Murray
241b528cefcSMark Murray1999-12-06  Assar Westerlund  <assar@sics.se>
242b528cefcSMark Murray
243b528cefcSMark Murray	* Makefile.am: bump version to 5:0:0 and 4:0:0
244b528cefcSMark Murray
245b528cefcSMark Murray	* init_c.c (kadm5_c_init_with_context): don't use unitialized
246b528cefcSMark Murray 	stuff
247b528cefcSMark Murray
248b528cefcSMark Murray1999-12-04  Assar Westerlund  <assar@sics.se>
249b528cefcSMark Murray
250b528cefcSMark Murray	* replay_log.c: adapt to changed kadm5_log_foreach
251b528cefcSMark Murray
252b528cefcSMark Murray	* log.c (kadm5_log_foreach): change to take a
253b528cefcSMark Murray 	`kadm5_server_context'
254b528cefcSMark Murray
255b528cefcSMark Murray	* init_c.c: use krb5_warn{,x}
256b528cefcSMark Murray
257b528cefcSMark Murray	* dump_log.c: adapt to changed kadm5_log_foreach
258b528cefcSMark Murray
259b528cefcSMark Murray	* init_c.c: re-write to use getaddrinfo
260b528cefcSMark Murray	* Makefile.am (install-build-headers): add dependency
261b528cefcSMark Murray
262b528cefcSMark Murray1999-12-03  Johan Danielsson  <joda@pdc.kth.se>
263b528cefcSMark Murray
264b528cefcSMark Murray	* log.c (kadm5_log_foreach): pass context
265b528cefcSMark Murray
266b528cefcSMark Murray	* dump_log.c: print more interesting things
267b528cefcSMark Murray
268b528cefcSMark Murray1999-12-02  Johan Danielsson  <joda@pdc.kth.se>
269b528cefcSMark Murray
270b528cefcSMark Murray	* ipropd_master.c (process_msg): check for short reads
271b528cefcSMark Murray
272b528cefcSMark Murray1999-11-25  Assar Westerlund  <assar@sics.se>
273b528cefcSMark Murray
274b528cefcSMark Murray	* modify_s.c (kadm5_s_modify_principal): support key_data
275b528cefcSMark Murray	(kadm5_s_modify_principal_with_key): remove
276b528cefcSMark Murray
277b528cefcSMark Murray	* admin.h (kadm5_s_modify_principal_with_key): remove
278b528cefcSMark Murray
279b528cefcSMark Murray1999-11-20  Assar Westerlund  <assar@sics.se>
280b528cefcSMark Murray
281b528cefcSMark Murray	* context_s.c (find_db_spec): ugly cast work-around.
282b528cefcSMark Murray
283b528cefcSMark Murray1999-11-14  Assar Westerlund  <assar@sics.se>
284b528cefcSMark Murray
285b528cefcSMark Murray	* context_s.c (_kadm5_s_init_context): call krb5_add_et_list so
286b528cefcSMark Murray 	that we aren't dependent on the layout of krb5_context_data
287b528cefcSMark Murray	* init_c.c (_kadm5_c_init_context): call krb5_add_et_list so that
288b528cefcSMark Murray 	we aren't dependent on the layout of krb5_context_data
289b528cefcSMark Murray
290b528cefcSMark Murray1999-11-13  Assar Westerlund  <assar@sics.se>
291b528cefcSMark Murray
292b528cefcSMark Murray	* password_quality.c (kadm5_setup_passwd_quality_check): use
293b528cefcSMark Murray	correct types for function pointers
294b528cefcSMark Murray
295b528cefcSMark Murray1999-11-09  Johan Danielsson  <joda@pdc.kth.se>
296b528cefcSMark Murray
297b528cefcSMark Murray	* randkey_s.c: always bail out if the fetch fails
298b528cefcSMark Murray
299b528cefcSMark Murray	* admin.h (kadm5_config_params): remove fields we're not using
300b528cefcSMark Murray
301b528cefcSMark Murray	* ipropd_slave.c: allow passing a realm
302b528cefcSMark Murray
303b528cefcSMark Murray	* ipropd_master.c: allow passing a realm
304b528cefcSMark Murray
305b528cefcSMark Murray	* dump_log.c: allow passing a realm
306b528cefcSMark Murray
307b528cefcSMark Murray	* acl.c: correctly get acl file
308b528cefcSMark Murray
309b528cefcSMark Murray	* private.h (kadm5_server_context): add config_params struct and
310b528cefcSMark Murray	remove acl_file; bump protocol version number
311b528cefcSMark Murray
312b528cefcSMark Murray	* marshall.c: marshalling of config parameters
313b528cefcSMark Murray
314b528cefcSMark Murray	* init_c.c (kadm5_c_init_with_context): try to cope with old
315b528cefcSMark Murray	servers
316b528cefcSMark Murray
317b528cefcSMark Murray	* init_s.c (kadm5_s_init_with_context): actually use some passed
318b528cefcSMark Murray	values
319b528cefcSMark Murray
320b528cefcSMark Murray	* context_s.c (_kadm5_s_init_context): get dbname, acl_file, and
321b528cefcSMark Murray	stash_file from the config parameters, try to figure out these if
322b528cefcSMark Murray	they're not provided
323b528cefcSMark Murray
324b528cefcSMark Murray1999-11-05  Assar Westerlund  <assar@sics.se>
325b528cefcSMark Murray
326b528cefcSMark Murray	* Makefile.am (install-build-headers): use `cp' instead of
327b528cefcSMark Murray 	INSTALL_DATA
328b528cefcSMark Murray
329b528cefcSMark Murray1999-11-04  Assar Westerlund  <assar@sics.se>
330b528cefcSMark Murray
331b528cefcSMark Murray	* Makefile.am: bump version to 4:0:0 and 3:0:0 (they access fields
332b528cefcSMark Murray 	directly in libkrb5's context - bad functions)
333b528cefcSMark Murray
334b528cefcSMark Murray	* set_keys.c (_kadm5_set_keys_randomly): set enctypes correctly in
335b528cefcSMark Murray 	the copied keys
336b528cefcSMark Murray
337b528cefcSMark Murray1999-10-20  Assar Westerlund  <assar@sics.se>
338b528cefcSMark Murray
339b528cefcSMark Murray	* Makefile.am: set version of kadm5srv to 3:0:2 (new password
340b528cefcSMark Murray 	quality functions).
341b528cefcSMark Murray 	set version of kdam5clnt to 2:1:1 (no interface changes)
342b528cefcSMark Murray
343b528cefcSMark Murray	* Makefile.am (LDADD): add $(LIB_dlopen)
344b528cefcSMark Murray
345b528cefcSMark Murray1999-10-17  Assar Westerlund  <assar@sics.se>
346b528cefcSMark Murray
347b528cefcSMark Murray	* randkey_s.c (kadm5_s_randkey_principal): use
348b528cefcSMark Murray 	_kadm5_set_keys_randomly
349b528cefcSMark Murray
350b528cefcSMark Murray	* set_keys.c (free_keys): free more memory
351b528cefcSMark Murray	(_kadm5_set_keys): a little bit more generic
352b528cefcSMark Murray	(_kadm5_set_keys_randomly): new function for setting random keys.
353b528cefcSMark Murray
354b528cefcSMark Murray1999-10-14  Assar Westerlund  <assar@sics.se>
355b528cefcSMark Murray
356b528cefcSMark Murray	* set_keys.c (_kadm5_set_keys): ignore old keys when setting new
357b528cefcSMark Murray 	ones and always add 3 DES keys and one 3DES key
358b528cefcSMark Murray
359b528cefcSMark Murray1999-10-03  Assar Westerlund  <assar@sics.se>
360b528cefcSMark Murray
361b528cefcSMark Murray	* init_c.c (_kadm5_c_init_context): use `krb5_get_krb_admin_hst'.
362b528cefcSMark Murray  	check return value from strdup
363b528cefcSMark Murray
364b528cefcSMark Murray1999-09-26  Assar Westerlund  <assar@sics.se>
365b528cefcSMark Murray
366b528cefcSMark Murray	* acl.c (_kadm5_privs_to_string): forgot one strcpy_truncate ->
367b528cefcSMark Murray 	strlcpy
368b528cefcSMark Murray
369b528cefcSMark Murray1999-09-24  Johan Danielsson  <joda@pdc.kth.se>
370b528cefcSMark Murray
371b528cefcSMark Murray	* dump_log.c: remove unused `optind'
372b528cefcSMark Murray
373b528cefcSMark Murray	* replay_log.c: remove unused `optind'
374b528cefcSMark Murray
375b528cefcSMark Murray1999-09-13  Assar Westerlund  <assar@sics.se>
376b528cefcSMark Murray
377b528cefcSMark Murray	* chpass_c.c (kadm5_c_chpass_principal): new _kadm5_client_recv
378b528cefcSMark Murray
379b528cefcSMark Murray	* send_recv.c (_kadm5_client_recv): return result in a `krb5_data'
380b528cefcSMark Murray 	so that we avoid copying it and don't need to dimension in
381b528cefcSMark Murray 	advance.  change all callers.
382b528cefcSMark Murray
383b528cefcSMark Murray1999-09-10  Assar Westerlund  <assar@sics.se>
384b528cefcSMark Murray
385b528cefcSMark Murray	* password_quality.c: new file
386b528cefcSMark Murray
387b528cefcSMark Murray	* admin.h
388b528cefcSMark Murray 	(kadm5_setup_passwd_quality_check,kadm5_check_password_quality):
389b528cefcSMark Murray 	add prototypes
390b528cefcSMark Murray
391b528cefcSMark Murray	* Makefile.am (S_SOURCES): add password_quality.c
392b528cefcSMark Murray
393b528cefcSMark Murray1999-07-26  Assar Westerlund  <assar@sics.se>
394b528cefcSMark Murray
395b528cefcSMark Murray	* Makefile.am: update versions to 2:0:1
396b528cefcSMark Murray
397b528cefcSMark Murray1999-07-24  Assar Westerlund  <assar@sics.se>
398b528cefcSMark Murray
399b528cefcSMark Murray	* ent_setup.c (_kadm5_setup_entry): make princ_expire_time == 0
400b528cefcSMark Murray 	and pw_expiration == 0 mean never
401b528cefcSMark Murray
402b528cefcSMark Murray1999-07-22  Assar Westerlund  <assar@sics.se>
403b528cefcSMark Murray
404b528cefcSMark Murray	* log.c (kadm5_log_flush): extra cast
405b528cefcSMark Murray
406b528cefcSMark Murray1999-07-07  Assar Westerlund  <assar@sics.se>
407b528cefcSMark Murray
408b528cefcSMark Murray	* marshall.c (store_principal_ent): encoding princ_expire_time and
409b528cefcSMark Murray 	pw_expiration in correct order
410b528cefcSMark Murray
411b528cefcSMark Murray1999-06-28  Assar Westerlund  <assar@sics.se>
412b528cefcSMark Murray
413b528cefcSMark Murray	* randkey_s.c (kadm5_s_randkey_principal): nuke old mkvno,
414b528cefcSMark Murray 	otherwise hdb will think that the new random keys are already
415b528cefcSMark Murray 	encrypted which will cause lots of confusion later.
416b528cefcSMark Murray
417b528cefcSMark Murray1999-06-23  Assar Westerlund  <assar@sics.se>
418b528cefcSMark Murray
419b528cefcSMark Murray	* ent_setup.c (_kadm5_setup_entry): handle 0 == unlimited
420b528cefcSMark Murray 	correctly.  From Michal Vocu <michal@karlin.mff.cuni.cz>
421b528cefcSMark Murray
422b528cefcSMark Murray1999-06-15  Assar Westerlund  <assar@sics.se>
423b528cefcSMark Murray
424b528cefcSMark Murray	* init_c.c (get_cred_cache): use get_default_username
425b528cefcSMark Murray
426b528cefcSMark Murray1999-05-23  Assar Westerlund  <assar@sics.se>
427b528cefcSMark Murray
428b528cefcSMark Murray	* create_s.c (create_principal): if there's no default entry the
429b528cefcSMark Murray	mask should be zero.
430b528cefcSMark Murray
431b528cefcSMark Murray1999-05-21  Assar Westerlund  <assar@sics.se>
432b528cefcSMark Murray
433b528cefcSMark Murray	* init_c.c (get_cred_cache): use $USERNAME
434b528cefcSMark Murray
435b528cefcSMark Murray1999-05-17  Johan Danielsson  <joda@pdc.kth.se>
436b528cefcSMark Murray
437b528cefcSMark Murray	* init_c.c (get_cred_cache): figure out principal
438b528cefcSMark Murray
439b528cefcSMark Murray1999-05-05  Johan Danielsson  <joda@pdc.kth.se>
440b528cefcSMark Murray
441b528cefcSMark Murray	* send_recv.c: cleanup _kadm5_client_{send,recv}
442b528cefcSMark Murray
443b528cefcSMark Murray1999-05-04  Assar Westerlund  <assar@sics.se>
444b528cefcSMark Murray
445b528cefcSMark Murray	* set_keys.c (_kadm5_set_keys2): don't check the recently created
446b528cefcSMark Murray 	memory for NULL pointers
447b528cefcSMark Murray
448b528cefcSMark Murray	* private.h (_kadm5_setup_entry): change prototype
449b528cefcSMark Murray
450b528cefcSMark Murray	* modify_s.c: call new _kadm5_setup_entry
451b528cefcSMark Murray
452b528cefcSMark Murray	* ent_setup.c (_kadm5_setup_entry): change so that it takes three
453b528cefcSMark Murray 	masks, one for what bits to set and one for each of principal and
454b528cefcSMark Murray 	def containing the bits that are set there.
455b528cefcSMark Murray
456b528cefcSMark Murray	* create_s.c: call new _kadm5_setup_entry
457b528cefcSMark Murray
458b528cefcSMark Murray	* create_s.c (get_default): check return value
459b528cefcSMark Murray	(create_principal): send wider mask to _kadm5_setup_entry
460b528cefcSMark Murray
461b528cefcSMark Murray1999-05-04  Johan Danielsson  <joda@pdc.kth.se>
462b528cefcSMark Murray
463b528cefcSMark Murray	* send_recv.c (_kadm5_client_recv): handle arbitrarily sized
464b528cefcSMark Murray	packets, check for errors
465b528cefcSMark Murray
466b528cefcSMark Murray	* get_c.c: check for failure from _kadm5_client_{send,recv}
467b528cefcSMark Murray
468b528cefcSMark Murray1999-05-04  Assar Westerlund  <assar@sics.se>
469b528cefcSMark Murray
470b528cefcSMark Murray	* init_c.c (get_new_cache): don't abort when interrupted from
471b528cefcSMark Murray 	password prompt
472b528cefcSMark Murray
473b528cefcSMark Murray	* destroy_c.c (kadm5_c_destroy): check if we should destroy the
474b528cefcSMark Murray 	auth context
475b528cefcSMark Murray
476b528cefcSMark Murray1999-05-03  Johan Danielsson  <joda@pdc.kth.se>
477b528cefcSMark Murray
478b528cefcSMark Murray	* chpass_s.c: fix arguments to _kadm5_set_keys2
479b528cefcSMark Murray
480b528cefcSMark Murray	* private.h: proto
481b528cefcSMark Murray
482b528cefcSMark Murray	* set_keys.c: clear mkvno
483b528cefcSMark Murray
484b528cefcSMark Murray	* rename_s.c: add flags to fetch and store; seal keys before
485b528cefcSMark Murray	logging
486b528cefcSMark Murray
487b528cefcSMark Murray	* randkey_s.c: add flags to fetch and store; seal keys before
488b528cefcSMark Murray	logging
489b528cefcSMark Murray
490b528cefcSMark Murray	* modify_s.c: add flags to fetch and store; seal keys before
491b528cefcSMark Murray	logging
492b528cefcSMark Murray
493b528cefcSMark Murray	* log.c: add flags to fetch and store; seal keys before logging
494b528cefcSMark Murray
495b528cefcSMark Murray	* get_s.c: add flags to fetch and store; seal keys before logging
496b528cefcSMark Murray
497b528cefcSMark Murray	* get_princs_s.c: add flags to fetch and store; seal keys before
498b528cefcSMark Murray	logging
499b528cefcSMark Murray
500b528cefcSMark Murray	* delete_s.c: add flags to fetch and store; seal keys before
501b528cefcSMark Murray	logging
502b528cefcSMark Murray
503b528cefcSMark Murray	* create_s.c: add flags to fetch and store; seal keys before
504b528cefcSMark Murray	logging
505b528cefcSMark Murray
506b528cefcSMark Murray	* chpass_s.c: add flags to fetch and store; seal keys before
507b528cefcSMark Murray	logging
508b528cefcSMark Murray
509b528cefcSMark Murray	* Makefile.am: remove server.c
510b528cefcSMark Murray
511b528cefcSMark Murray	* admin.h: add prototypes
512b528cefcSMark Murray
513b528cefcSMark Murray	* ent_setup.c (_kadm5_setup_entry): set key_data
514b528cefcSMark Murray
515b528cefcSMark Murray	* set_keys.c: add _kadm5_set_keys2 to sey keys from key_data
516b528cefcSMark Murray
517b528cefcSMark Murray	* modify_s.c: add kadm5_s_modify_principal_with_key
518b528cefcSMark Murray
519b528cefcSMark Murray	* create_s.c: add kadm5_s_create_principal_with_key
520b528cefcSMark Murray
521b528cefcSMark Murray	* chpass_s.c: add kadm5_s_chpass_principal_with_key
522b528cefcSMark Murray
523b528cefcSMark Murray	* kadm5_locl.h: move stuff to private.h
524b528cefcSMark Murray
525b528cefcSMark Murray	* private.h: move stuff from kadm5_locl.h
526b528cefcSMark Murray