xref: /netbsd-src/crypto/external/bsd/heimdal/dist/kadmin/ChangeLog (revision ca1c9b0c534faa5fd4c7d36fd3c199a2a3d7b0e4)
1*ca1c9b0cSelric2008-04-07  Love Hörnquist Åstrand  <lha@it.su.se>
2*ca1c9b0cSelric
3*ca1c9b0cSelric	* kadm_conn.c: Use unsigned where appropriate.
4*ca1c9b0cSelric
5*ca1c9b0cSelric2007-12-09  Love Hörnquist Åstrand  <lha@it.su.se>
6*ca1c9b0cSelric
7*ca1c9b0cSelric	* kadmin.c: Use hdb_db_dir().
8*ca1c9b0cSelric
9*ca1c9b0cSelric	* kadmind.c: Use hdb_db_dir().
10*ca1c9b0cSelric
11*ca1c9b0cSelric2007-07-26  Love Hörnquist Åstrand  <lha@it.su.se>
12*ca1c9b0cSelric
13*ca1c9b0cSelric	* util.c: Clear error string, just to be sure.
14*ca1c9b0cSelric
15*ca1c9b0cSelric2007-05-10  Love Hörnquist Åstrand  <lha@it.su.se>
16*ca1c9b0cSelric
17*ca1c9b0cSelric	* kadmin-commands.in: modify --pkinit-acl
18*ca1c9b0cSelric
19*ca1c9b0cSelric	* mod.c: add pk-init command
20*ca1c9b0cSelric
21*ca1c9b0cSelric2007-02-22  Love Hörnquist Åstrand  <lha@it.su.se>
22*ca1c9b0cSelric
23*ca1c9b0cSelric	* kadmin.8: document kadmin add_enctype functionallity.
24*ca1c9b0cSelric
25*ca1c9b0cSelric	* Makefile.am: Add new command, add_enctype.
26*ca1c9b0cSelric
27*ca1c9b0cSelric	* kadmin-commands.in: Add new command, add_enctype.
28*ca1c9b0cSelric
29*ca1c9b0cSelric	* add_enctype.c: Add support for adding a random key enctype to a
30*ca1c9b0cSelric	principal.
31*ca1c9b0cSelric
32*ca1c9b0cSelric2007-02-17  Love Hörnquist Åstrand  <lha@it.su.se>
33*ca1c9b0cSelric
34*ca1c9b0cSelric	* mod.c: add setting and displaying aliases
35*ca1c9b0cSelric
36*ca1c9b0cSelric	* get.c: add setting and displaying aliases
37*ca1c9b0cSelric
38*ca1c9b0cSelric	* kadmin-commands.in: add setting and displaying aliases
39*ca1c9b0cSelric
40*ca1c9b0cSelric2006-12-22  Love Hörnquist Åstrand  <lha@it.su.se>
41*ca1c9b0cSelric
42*ca1c9b0cSelric	* util.c: Make str2time_t parser more robust.
43*ca1c9b0cSelric
44*ca1c9b0cSelric	* Makefile.am: Add test_util test program.
45*ca1c9b0cSelric
46*ca1c9b0cSelric	* test_util.c: Test str2time_t parser.
47*ca1c9b0cSelric
48*ca1c9b0cSelric2006-12-05  Love Hörnquist Åstrand  <lha@it.su.se>
49*ca1c9b0cSelric
50*ca1c9b0cSelric	* add-random-users.c: Use strcspn to remove \n from fgets
51*ca1c9b0cSelric	result. Prompted by change by Ray Lai of OpenBSD via Björn
52*ca1c9b0cSelric	Sandell.
53*ca1c9b0cSelric
54*ca1c9b0cSelric2006-10-22  Love Hörnquist Åstrand  <lha@it.su.se>
55*ca1c9b0cSelric
56*ca1c9b0cSelric	* mod.c: Try to not leak memory.
57*ca1c9b0cSelric
58*ca1c9b0cSelric	* check.c: Try to not leak memory.
59*ca1c9b0cSelric
60*ca1c9b0cSelric2006-10-07  Love Hörnquist Åstrand  <lha@it.su.se>
61*ca1c9b0cSelric
62*ca1c9b0cSelric	* Makefile.am: split build files into dist_ and noinst_ SOURCES
63*ca1c9b0cSelric
64*ca1c9b0cSelric2006-08-28  Love Hörnquist Åstrand <lha@it.su.se>
65*ca1c9b0cSelric
66*ca1c9b0cSelric	* kadmin.c (help): use sl_slc_help().
67*ca1c9b0cSelric
68*ca1c9b0cSelric2006-08-24  Love Hörnquist Åstrand  <lha@it.su.se>
69*ca1c9b0cSelric
70*ca1c9b0cSelric	* util.c: Add KRB5_KDB_ALLOW_DIGEST
71*ca1c9b0cSelric
72*ca1c9b0cSelric2006-07-14  Love Hörnquist Åstrand  <lha@it.su.se>
73*ca1c9b0cSelric
74*ca1c9b0cSelric	* get.c (format_field): optionally print issuer and anchor.
75*ca1c9b0cSelric
76*ca1c9b0cSelric2006-06-21  Love Hörnquist Åstrand  <lha@it.su.se>
77*ca1c9b0cSelric
78*ca1c9b0cSelric	* check.c: Check if afs@REALM and afs/cellname@REALM both exists.
79*ca1c9b0cSelric
80*ca1c9b0cSelric2006-06-14  Love Hörnquist Åstrand  <lha@it.su.se>
81*ca1c9b0cSelric
82*ca1c9b0cSelric	* util.c (kdb_attrs): Add KRB5_KDB_ALLOW_KERBEROS4
83*ca1c9b0cSelric
84*ca1c9b0cSelric2006-06-07  Love Hörnquist Åstrand  <lha@it.su.se>
85*ca1c9b0cSelric
86*ca1c9b0cSelric	* mod.c (do_mod_entry): Add setting 1 delegation entry
87*ca1c9b0cSelric
88*ca1c9b0cSelric2006-06-01  Love Hörnquist Åstrand  <lha@it.su.se>
89*ca1c9b0cSelric
90*ca1c9b0cSelric	* server.c: Less shadowing.
91*ca1c9b0cSelric
92*ca1c9b0cSelric2006-05-13  Love Hörnquist Åstrand  <lha@it.su.se>
93*ca1c9b0cSelric
94*ca1c9b0cSelric	* Makefile.am: kadmin_SOURCES += add check.c
95*ca1c9b0cSelric
96*ca1c9b0cSelric	* kadmin_locl.h: Avoid shadowing.
97*ca1c9b0cSelric
98*ca1c9b0cSelric	* kadmin.8: Document the new check command.
99*ca1c9b0cSelric
100*ca1c9b0cSelric	* kadmin-commands.in: Add check command
101*ca1c9b0cSelric
102*ca1c9b0cSelric	* check.c: Check database for strange configurations on default
103*ca1c9b0cSelric	principals.
104*ca1c9b0cSelric
105*ca1c9b0cSelric2006-05-08  Love Hörnquist Åstrand  <lha@it.su.se>
106*ca1c9b0cSelric
107*ca1c9b0cSelric	* server.c (kadm_get_privs): one less "pointer targets in passing
108*ca1c9b0cSelric	argument differ in signedness" warning.
109*ca1c9b0cSelric
110*ca1c9b0cSelric2006-05-05  Love Hörnquist Åstrand  <lha@it.su.se>
111*ca1c9b0cSelric
112*ca1c9b0cSelric	* dump-format.txt: Moved to info documentation.
113*ca1c9b0cSelric
114*ca1c9b0cSelric	* Rename u_intXX_t to uintXX_t
115*ca1c9b0cSelric
116*ca1c9b0cSelric2006-05-01  Love Hörnquist Åstrand  <lha@it.su.se>
117*ca1c9b0cSelric
118*ca1c9b0cSelric	* kadmin.8: spelling, update .Dd
119*ca1c9b0cSelric
120*ca1c9b0cSelric2006-04-12  Love Hörnquist Åstrand  <lha@it.su.se>
121*ca1c9b0cSelric
122*ca1c9b0cSelric	* add-random-users.c: Catch empty file case. From Tobias
123*ca1c9b0cSelric	Stoeckmann.
124*ca1c9b0cSelric
125*ca1c9b0cSelric2006-04-07  Love Hörnquist Åstrand  <lha@it.su.se>
126*ca1c9b0cSelric
127*ca1c9b0cSelric	* random_password.c (generate_password): memory leak in error
128*ca1c9b0cSelric	condition case From Coverity NetBSD CID#1887
129*ca1c9b0cSelric
130*ca1c9b0cSelric2006-02-19  Love Hörnquist Åstrand  <lha@it.su.se>
131*ca1c9b0cSelric
132*ca1c9b0cSelric	* cpw.c (cpw_entry): make sure ret have a defined value
133*ca1c9b0cSelric
134*ca1c9b0cSelric	* del.c (del_entry): make sure ret have a defined value
135*ca1c9b0cSelric
136*ca1c9b0cSelric	* mod.c: Return error code so that toplevel function can catch
137*ca1c9b0cSelric	them.
138*ca1c9b0cSelric
139*ca1c9b0cSelric2006-01-25  Love Hörnquist Åstrand <lha@it.su.se>
140*ca1c9b0cSelric
141*ca1c9b0cSelric	* cpw.c (cpw_entry): return 1 on failure.
142*ca1c9b0cSelric
143*ca1c9b0cSelric	* rename.c (rename_entry): return 1 on failure.
144*ca1c9b0cSelric
145*ca1c9b0cSelric	* del.c (del_entry): return 1 on failure.
146*ca1c9b0cSelric
147*ca1c9b0cSelric	* ank.c (add_new_key): return 1 on failure.
148*ca1c9b0cSelric
149*ca1c9b0cSelric	* get.c: Add printing of pkinit-acls. Don't print password by
150*ca1c9b0cSelric	default. Return 1 on failure processing any of the principals.
151*ca1c9b0cSelric
152*ca1c9b0cSelric	* util.c (foreach_principal): If any of calls to `func' failes,
153*ca1c9b0cSelric	the first error is returned when all principals are processed.
154*ca1c9b0cSelric
155*ca1c9b0cSelric2005-12-01  Love Hörnquist Åstrand <lha@it.su.se>
156*ca1c9b0cSelric
157*ca1c9b0cSelric	* kadmin-commands.in: Add ank as an alias to add, it lost in
158*ca1c9b0cSelric	transition to slc, from Måns Nilsson.
159*ca1c9b0cSelric
160*ca1c9b0cSelric2005-09-14  Love Hörquist Åstrand  <lha@it.su.se>
161*ca1c9b0cSelric
162*ca1c9b0cSelric	* dump-format.txt: Add extensions, fill in missing fields.
163*ca1c9b0cSelric
164*ca1c9b0cSelric2005-09-08  Love Hörquist Åstrand  <lha@it.su.se>
165*ca1c9b0cSelric
166*ca1c9b0cSelric	* init.c (create_random_entry): create principal with random
167*ca1c9b0cSelric	password even though its disabled. From Andrew Bartlet
168*ca1c9b0cSelric	<abartlet@samba.org>
169*ca1c9b0cSelric
170*ca1c9b0cSelric2005-09-01  Love Hörquist Åstrand  <lha@it.su.se>
171*ca1c9b0cSelric
172*ca1c9b0cSelric	* kadm_conn.c: Use socket_set_reuseaddr and socket_set_ipv6only.
173*ca1c9b0cSelric
174*ca1c9b0cSelric2005-08-11  Love Hörquist Åstrand  <lha@it.su.se>
175*ca1c9b0cSelric
176*ca1c9b0cSelric	* get.c: Remove structure that is never used (sneaked in the large
177*ca1c9b0cSelric	TL_DATA patch).
178*ca1c9b0cSelric
179*ca1c9b0cSelric	* kadmin-commands.in: Rename password-quality to
180*ca1c9b0cSelric	verify-password-quality.
181*ca1c9b0cSelric
182*ca1c9b0cSelric	* get.c: Indent.
183*ca1c9b0cSelric
184*ca1c9b0cSelric	* server.c: Avoid shadowing exp().
185*ca1c9b0cSelric
186*ca1c9b0cSelric	* load.c: Parse extensions.
187*ca1c9b0cSelric
188*ca1c9b0cSelric	* kadmin_locl.h: Include <hex.h>.
189*ca1c9b0cSelric
190*ca1c9b0cSelric	* get.c: Extend struct field_name to have a subvalue and a
191*ca1c9b0cSelric	extra_mask.  Use that to implement printing of KADM5_TL_DATA
192*ca1c9b0cSelric	options and fix a dependency bug (keys needed principal to print
193*ca1c9b0cSelric	the salting).
194*ca1c9b0cSelric
195*ca1c9b0cSelric2005-07-08  Love Hörquist Åstrand  <lha@it.su.se>
196*ca1c9b0cSelric
197*ca1c9b0cSelric	* lower amount of shadow and const warnings
198*ca1c9b0cSelric
199*ca1c9b0cSelric2005-06-07  David Love  <fx@gnu.org>
200*ca1c9b0cSelric
201*ca1c9b0cSelric	* dump-format.txt: Clarify, spelling and add examples.
202*ca1c9b0cSelric
203*ca1c9b0cSelric2005-05-30  Love Hörquist Åstrand  <lha@it.su.se>
204*ca1c9b0cSelric
205*ca1c9b0cSelric	* util.c (kdb_attrs): add ok-as-delegate
206*ca1c9b0cSelric
207*ca1c9b0cSelric	* get.c (getit): init data.mask to 0.  Problem found by Andrew
208*ca1c9b0cSelric	Bartlett <abartlet@samba.org>
209*ca1c9b0cSelric
210*ca1c9b0cSelric2005-05-09  Love Hörquist Åstrand  <lha@it.su.se>
211*ca1c9b0cSelric
212*ca1c9b0cSelric	* kadmin.c (main): catch -2 as EOF
213*ca1c9b0cSelric
214*ca1c9b0cSelric2005-05-03  Dave Love  <d.love@dl.ac.uk>
215*ca1c9b0cSelric
216*ca1c9b0cSelric	* init.c (init): Don't disable forwardable for kadmin/changepw.
217*ca1c9b0cSelric
218*ca1c9b0cSelric2005-05-02  Dave Love  <d.love@dl.ac.uk>
219*ca1c9b0cSelric
220*ca1c9b0cSelric	* kadmin.c (help): Don't use non-constant initializer for `fake'.
221*ca1c9b0cSelric
222*ca1c9b0cSelric2005-04-20  Love Hörquist Åstrand  <lha@it.su.se>
223*ca1c9b0cSelric
224*ca1c9b0cSelric	* util.c (foreach_principal): initialize ret to make sure it have
225*ca1c9b0cSelric	a value
226*ca1c9b0cSelric
227*ca1c9b0cSelric2005-04-04  Love Hörquist Åstrand  <lha@it.su.se>
228*ca1c9b0cSelric
229*ca1c9b0cSelric	* kadmind.c: add verifier libraries with
230*ca1c9b0cSelric	kadm5_add_passwd_quality_verifier
231*ca1c9b0cSelric
232*ca1c9b0cSelric	* kadmin.c: add verifier libraries with
233*ca1c9b0cSelric	kadm5_add_passwd_quality_verifier
234*ca1c9b0cSelric
235*ca1c9b0cSelric	* load.c: max-life and max-renew is of unsigned int in asn1
236*ca1c9b0cSelric	compiler, use that for the parser too
237*ca1c9b0cSelric
238*ca1c9b0cSelric2005-03-26  Love Hörquist Åstrand  <lha@it.su.se>
239*ca1c9b0cSelric
240*ca1c9b0cSelric	* kadmin.8: List of attributes, from James F.  Hranicky
241*ca1c9b0cSelric	<jfh@cise.ufl.edu>
242*ca1c9b0cSelric
243*ca1c9b0cSelric2005-01-19  Love Hörquist Åstrand  <lha@it.su.se>
244*ca1c9b0cSelric
245*ca1c9b0cSelric	* dump.c (dump): handle errors
246*ca1c9b0cSelric
247*ca1c9b0cSelric2005-01-08 Love Hörquist Åstrand <lha@it.su.se>
248*ca1c9b0cSelric
249*ca1c9b0cSelric	* dump-format.txt: text dump format
250*ca1c9b0cSelric
251*ca1c9b0cSelric2004-12-08  Love Hörquist Åstrand  <lha@it.su.se>
252*ca1c9b0cSelric
253*ca1c9b0cSelric	* kadmind.8: use keeps around options, from OpenBSD
254*ca1c9b0cSelric
255*ca1c9b0cSelric	* kadmin.8: use keeps around options, "improve" spelling, from
256*ca1c9b0cSelric	openbsd
257*ca1c9b0cSelric
258*ca1c9b0cSelric2004-11-01  Love Hörquist Åstrand  <lha@it.su.se>
259*ca1c9b0cSelric
260*ca1c9b0cSelric	* get.c (getit): always free columns
261*ca1c9b0cSelric
262*ca1c9b0cSelric	* ank.c (add_one_principal): catch error from
263*ca1c9b0cSelric	UI_UTIL_read_pw_string
264*ca1c9b0cSelric
265*ca1c9b0cSelric2004-10-31  Love Hörquist Åstrand  <lha@it.su.se>
266*ca1c9b0cSelric
267*ca1c9b0cSelric	* del_enctype.c (del_enctype): fix off-by-one error in del_enctype
268*ca1c9b0cSelric	From: <ragge@ludd.luth.se>
269*ca1c9b0cSelric
270*ca1c9b0cSelric2004-08-13  Love Hörquist Åstrand  <lha@it.su.se>
271*ca1c9b0cSelric
272*ca1c9b0cSelric	* get.c: print keytypes on long format
273*ca1c9b0cSelric
274*ca1c9b0cSelric2004-07-06  Love Hörquist Åstrand  <lha@it.su.se>
275*ca1c9b0cSelric
276*ca1c9b0cSelric	* get.c (format_field): allow mod_name to be optional
277*ca1c9b0cSelric
278*ca1c9b0cSelric	* ext.c (do_ext_keytab): if there isn't any keydata, try using
279*ca1c9b0cSelric	kadm5_randkey_principal
280*ca1c9b0cSelric
281*ca1c9b0cSelric2004-07-02  Love Hörquist Åstrand  <lha@it.su.se>
282*ca1c9b0cSelric
283*ca1c9b0cSelric	* load.c: make merge/load work again
284*ca1c9b0cSelric
285*ca1c9b0cSelric	* del.c: fix usage string
286*ca1c9b0cSelric
287*ca1c9b0cSelric	* ank.c: fix slc lossage
288*ca1c9b0cSelric
289*ca1c9b0cSelric2004-06-28  Love Hörquist Åstrand  <lha@it.su.se>
290*ca1c9b0cSelric
291*ca1c9b0cSelric	* kadmin.c: use kadm5_ad_init_with_password_ctx
292*ca1c9b0cSelric
293*ca1c9b0cSelric2004-06-27  Johan Danielsson  <joda@pdc.kth.se>
294*ca1c9b0cSelric
295*ca1c9b0cSelric	* kadmin.8: document get -o and stash
296*ca1c9b0cSelric
297*ca1c9b0cSelric	* get.c: implement output column selection, similar to ps -o
298*ca1c9b0cSelric
299*ca1c9b0cSelric	* kadmin-commands.in: make get -l the default again, and add
300*ca1c9b0cSelric	column selection flag; sync list with get
301*ca1c9b0cSelric
302*ca1c9b0cSelric2004-06-24  Johan Danielsson  <joda@pdc.kth.se>
303*ca1c9b0cSelric
304*ca1c9b0cSelric	* kadmin-commands.in: mod needs default kvno of -1
305*ca1c9b0cSelric
306*ca1c9b0cSelric2004-06-21  Johan Danielsson  <joda@pdc.kth.se>
307*ca1c9b0cSelric
308*ca1c9b0cSelric	* kadmin: convert to use slc; also add stash subcommand
309*ca1c9b0cSelric
310*ca1c9b0cSelric2004-06-15  Love Hörquist Åstrand  <lha@it.su.se>
311*ca1c9b0cSelric
312*ca1c9b0cSelric	* kadmin.c (main): keytab mode requires principal name
313*ca1c9b0cSelric
314*ca1c9b0cSelric2004-06-12  Love Hörquist Åstrand  <lha@it.su.se>
315*ca1c9b0cSelric
316*ca1c9b0cSelric	* kadmind.c: drop keyfile, not used, found by
317*ca1c9b0cSelric	Elrond <elrond@samba-tng.org>
318*ca1c9b0cSelric
319*ca1c9b0cSelric	* kadmin.c: if keyfile is set, pass in to libkadm5 bug pointed out
320*ca1c9b0cSelric	by Elrond <elrond@samba-tng.org>
321*ca1c9b0cSelric
322*ca1c9b0cSelric2004-05-31  Love Hörquist Åstrand  <lha@it.su.se>
323*ca1c9b0cSelric
324*ca1c9b0cSelric	* kadmin.c: add --ad flag, XXX rewrite the init kadm5 interface
325*ca1c9b0cSelric
326*ca1c9b0cSelric2004-05-13  Johan Danielsson  <joda@pdc.kth.se>
327*ca1c9b0cSelric
328*ca1c9b0cSelric	* nuke kerberos 4 kadmin goo
329*ca1c9b0cSelric
330*ca1c9b0cSelric2004-05-07  Johan Danielsson  <joda@pdc.kth.se>
331*ca1c9b0cSelric
332*ca1c9b0cSelric	* util.c (str2time_t): fix end-of-day logic, from Duncan
333*ca1c9b0cSelric	McEwan/Mark Davies.
334*ca1c9b0cSelric
335*ca1c9b0cSelric2004-04-29  Love Hörquist Åstrand  <lha@it.su.se>
336*ca1c9b0cSelric
337*ca1c9b0cSelric	* version4.c (handle_v4): make sure length is longer then 2,
338*ca1c9b0cSelric	Pointed out by Evgeny Demidov <demidov@gleg.net>
339*ca1c9b0cSelric
340*ca1c9b0cSelric	* kadmind.c: make kerberos4 support default turned off
341*ca1c9b0cSelric
342*ca1c9b0cSelric2004-03-24  Johan Danielsson  <joda@pdc.kth.se>
343*ca1c9b0cSelric
344*ca1c9b0cSelric	* kadmin.8: update manpage
345*ca1c9b0cSelric
346*ca1c9b0cSelric	* mod.c: allow wildcarding principals, and make parameters a work
347*ca1c9b0cSelric	same as if prompted
348*ca1c9b0cSelric
349*ca1c9b0cSelric2004-03-08  Love Hörquist Åstrand  <lha@it.su.se>
350*ca1c9b0cSelric
351*ca1c9b0cSelric	* kadmin.8: document password-quality
352*ca1c9b0cSelric
353*ca1c9b0cSelric	* kadmin_locl.h: add prototype for password_quality
354*ca1c9b0cSelric
355*ca1c9b0cSelric	* kadmin.c: add password-quality/pwq command
356*ca1c9b0cSelric
357*ca1c9b0cSelric	* Makefile.am: kadmin_SOURCES += pw_quality.c
358*ca1c9b0cSelric
359*ca1c9b0cSelric	* pw_quality.c: test run the password quality function
360*ca1c9b0cSelric
361*ca1c9b0cSelric2004-03-07  Love Hörquist Åstrand  <lha@it.su.se>
362*ca1c9b0cSelric
363*ca1c9b0cSelric	* ank.c (add_one_principal): even though the principal is disabled
364*ca1c9b0cSelric	(creation of random key/keydata), create it with a random password
365*ca1c9b0cSelric
366*ca1c9b0cSelric2003-12-07  Love Hörquist Åstrand  <lha@it.su.se>
367*ca1c9b0cSelric
368*ca1c9b0cSelric	* init.c (create_random_entry): print error message on failure
369*ca1c9b0cSelric
370*ca1c9b0cSelric	* ank.c (add_one_principal): pass right argument to
371*ca1c9b0cSelric	kadm5_free_principal_ent From Panasas, Inc
372*ca1c9b0cSelric
373*ca1c9b0cSelric2003-11-18  Love Hörquist Åstrand  <lha@it.su.se>
374*ca1c9b0cSelric
375*ca1c9b0cSelric	* kadmind.c (main): move opening the logfile to after reading
376*ca1c9b0cSelric	kdc.conf move the loading of hdb keytab ops closer to where its
377*ca1c9b0cSelric	used From: Jeffrey Hutzelman <jhutz@cmu.edu>
378*ca1c9b0cSelric
379*ca1c9b0cSelric2003-10-04  Love Hörquist Åstrand  <lha@it.su.se>
380*ca1c9b0cSelric
381*ca1c9b0cSelric	* util.c (str2time_t): allow whitespace between date and time
382*ca1c9b0cSelric	From: Bob Beck <beck@cvs.openbsd.org> and adharw@yahoo.com
383*ca1c9b0cSelric
384*ca1c9b0cSelric2003-09-03  Love Hörquist Åstrand  <lha@it.su.se>
385*ca1c9b0cSelric
386*ca1c9b0cSelric	* ank.c: s/des_read_pw_string/UI_UTIL_read_pw_string/
387*ca1c9b0cSelric
388*ca1c9b0cSelric	* cpw.c: s/des_read_pw_string/UI_UTIL_read_pw_string/
389*ca1c9b0cSelric
390*ca1c9b0cSelric2003-08-21  Love Hörquist Åstrand  <lha@it.su.se>
391*ca1c9b0cSelric
392*ca1c9b0cSelric	* get.c (print_entry_terse): handle error when unparsing name
393*ca1c9b0cSelric
394*ca1c9b0cSelric2003-08-18  Love Hörquist Åstrand  <lha@it.su.se>
395*ca1c9b0cSelric
396*ca1c9b0cSelric	* kadmind.c (main): use krb5_prepend_config_files_default, now all
397*ca1c9b0cSelric	options in kdc.conf is parsed, not just [kdc]key-file=
398*ca1c9b0cSelric
399*ca1c9b0cSelric	* kadmin.c (main): use krb5_prepend_config_files_default, now all
400*ca1c9b0cSelric	options in kdc.conf is parsed, not just [kdc]key-file=
401*ca1c9b0cSelric
402*ca1c9b0cSelric2003-04-14  Love Hörquist Åstrand  <lha@it.su.se>
403*ca1c9b0cSelric
404*ca1c9b0cSelric	* util.c: cast argument to tolower to unsigned char, from
405*ca1c9b0cSelric	Christian Biere <christianbiere@gmx.de> via NetBSD
406*ca1c9b0cSelric
407*ca1c9b0cSelric2003-04-06  Love Hörquist Åstrand <lha@it.su.se>
408*ca1c9b0cSelric
409*ca1c9b0cSelric	* kadmind.8: s/kerberos/Kerberos/
410*ca1c9b0cSelric
411*ca1c9b0cSelric2003-03-31  Love Hörquist Åstrand  <lha@it.su.se>
412*ca1c9b0cSelric
413*ca1c9b0cSelric	* kadmin.8: initialises -> initializes, from Perry E. Metzger"
414*ca1c9b0cSelric	<perry@piermont.com>
415*ca1c9b0cSelric
416*ca1c9b0cSelric	* kadmin.c: principal, not pricipal. From Thomas Klausner
417*ca1c9b0cSelric	<wiz@netbsd.org>
418*ca1c9b0cSelric
419*ca1c9b0cSelric2003-02-04  Love Hörquist Åstrand  <lha@it.su.se>
420*ca1c9b0cSelric
421*ca1c9b0cSelric	* kadmind.8: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
422*ca1c9b0cSelric
423*ca1c9b0cSelric	* kadmin.8: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
424*ca1c9b0cSelric
425*ca1c9b0cSelric2003-01-29  Love Hörquist Åstrand  <lha@it.su.se>
426*ca1c9b0cSelric
427*ca1c9b0cSelric	* server.c (kadmind_dispatch): kadm_chpass: require the password
428*ca1c9b0cSelric	to pass the password quality check in case the user changes the
429*ca1c9b0cSelric	user's own password kadm_chpass_with_key: disallow the user to
430*ca1c9b0cSelric	change it own password to a key, since that password might violate
431*ca1c9b0cSelric	the password quality check.
432*ca1c9b0cSelric
433*ca1c9b0cSelric2002-12-03  Johan Danielsson  <joda@pdc.kth.se>
434*ca1c9b0cSelric
435*ca1c9b0cSelric	* util.c (get_response): print a newline if interrupted
436*ca1c9b0cSelric
437*ca1c9b0cSelric	* mod.c (mod_entry): check return value from edit_entry
438*ca1c9b0cSelric
439*ca1c9b0cSelric	* ank.c (add_one_principal): check return value from edit_entry
440*ca1c9b0cSelric
441*ca1c9b0cSelric	* ank.c (add_one_principal): don't continue if create_principal
442*ca1c9b0cSelric	fails
443*ca1c9b0cSelric
444*ca1c9b0cSelric	* init.c: check return value from edit_deltat
445*ca1c9b0cSelric
446*ca1c9b0cSelric	* init.c: add --help
447*ca1c9b0cSelric
448*ca1c9b0cSelric2002-10-29  Johan Danielsson  <joda@pdc.kth.se>
449*ca1c9b0cSelric
450*ca1c9b0cSelric	* version4.c: speling (from Tomas Olsson)
451*ca1c9b0cSelric
452*ca1c9b0cSelric2002-10-23  Assar Westerlund  <assar@kth.se>
453*ca1c9b0cSelric
454*ca1c9b0cSelric	* version4.c (decode_packet): check the length of the version
455*ca1c9b0cSelric	string and that rlen has a reasonable value
456*ca1c9b0cSelric
457*ca1c9b0cSelric2002-10-21  Johan Danielsson  <joda@pdc.kth.se>
458*ca1c9b0cSelric
459*ca1c9b0cSelric	* version4.c: check size of rlen
460*ca1c9b0cSelric
461*ca1c9b0cSelric2002-09-10  Johan Danielsson  <joda@pdc.kth.se>
462*ca1c9b0cSelric
463*ca1c9b0cSelric	* server.c: constify match_appl_version()
464*ca1c9b0cSelric
465*ca1c9b0cSelric	* version4.c: change some lingering krb_err_base
466*ca1c9b0cSelric
467*ca1c9b0cSelric2002-09-09  Jacques Vidrine  <nectar@kth.se>
468*ca1c9b0cSelric
469*ca1c9b0cSelric	* server.c (kadmind_dispatch): while decoding arguments for
470*ca1c9b0cSelric	kadm_chpass_with_key, sanity check the number of keys given.
471*ca1c9b0cSelric	Potential problem pointed out by
472*ca1c9b0cSelric	Sebastian Krahmer <krahmer@suse.de>.
473*ca1c9b0cSelric
474*ca1c9b0cSelric2002-09-04  Johan Danielsson  <joda@pdc.kth.se>
475*ca1c9b0cSelric
476*ca1c9b0cSelric	* load.c (parse_generation): return if there is no generation
477*ca1c9b0cSelric	(spotted by Daniel Kouril)
478*ca1c9b0cSelric
479*ca1c9b0cSelric2002-06-07  Jacques Vidrine <n@nectar.com>
480*ca1c9b0cSelric
481*ca1c9b0cSelric	* ank.c: do not attempt to free uninitialized pointer when
482*ca1c9b0cSelric	kadm5_randkey_principal fails.
483*ca1c9b0cSelric
484*ca1c9b0cSelric2002-06-07  Johan Danielsson  <joda@pdc.kth.se>
485*ca1c9b0cSelric
486*ca1c9b0cSelric	* util.c: remove unused variable; reported by Hans Insulander
487*ca1c9b0cSelric
488*ca1c9b0cSelric2002-03-05  Johan Danielsson  <joda@pdc.kth.se>
489*ca1c9b0cSelric
490*ca1c9b0cSelric	* kadmind.8: clarify some acl wording, and add an example file
491*ca1c9b0cSelric
492*ca1c9b0cSelric2002-02-11  Johan Danielsson  <joda@pdc.kth.se>
493*ca1c9b0cSelric
494*ca1c9b0cSelric	* ext.c: no need to use the "modify" keytab anymore
495*ca1c9b0cSelric
496*ca1c9b0cSelric2001-09-20  Assar Westerlund  <assar@sics.se>
497*ca1c9b0cSelric
498*ca1c9b0cSelric	* add-random-users.c: allocate several buffers for the list of
499*ca1c9b0cSelric	words, instead of one strdup per word (running under efence does
500*ca1c9b0cSelric	not work very well otherwise)
501*ca1c9b0cSelric
502*ca1c9b0cSelric2001-09-13  Assar Westerlund  <assar@sics.se>
503*ca1c9b0cSelric
504*ca1c9b0cSelric	* add-random-users.c: allow specifying the number of users to
505*ca1c9b0cSelric	create
506*ca1c9b0cSelric
507*ca1c9b0cSelric2001-08-24  Assar Westerlund  <assar@sics.se>
508*ca1c9b0cSelric
509*ca1c9b0cSelric	* Makefile.am: rename variable name to avoid error from current
510*ca1c9b0cSelric	automake
511*ca1c9b0cSelric
512*ca1c9b0cSelric2001-08-22  Assar Westerlund  <assar@sics.se>
513*ca1c9b0cSelric
514*ca1c9b0cSelric	* kadmin_locl.h: include libutil.h if it exists
515*ca1c9b0cSelric
516*ca1c9b0cSelric2001-08-10  Johan Danielsson  <joda@pdc.kth.se>
517*ca1c9b0cSelric
518*ca1c9b0cSelric	* util.c: do something to handle C-c in prompts
519*ca1c9b0cSelric
520*ca1c9b0cSelric	* load.c: remove unused etypes code, and add parsing of the
521*ca1c9b0cSelric	generation field
522*ca1c9b0cSelric
523*ca1c9b0cSelric	* ank.c: add a --use-defaults option to just use default values
524*ca1c9b0cSelric	without questions
525*ca1c9b0cSelric
526*ca1c9b0cSelric	* kadmin.c: add "del" alias for delete
527*ca1c9b0cSelric
528*ca1c9b0cSelric	* cpw.c: call this operation "passwd" in usage
529*ca1c9b0cSelric
530*ca1c9b0cSelric	* kadmin_locl.h: prototype for set_defaults
531*ca1c9b0cSelric
532*ca1c9b0cSelric	* util.c (edit_entry): move setting of default values to a
533*ca1c9b0cSelric	separate function, set_defaults
534*ca1c9b0cSelric
535*ca1c9b0cSelric2001-08-01  Johan Danielsson  <joda@pdc.kth.se>
536*ca1c9b0cSelric
537*ca1c9b0cSelric	* kadmin.c: print help message on bad options
538*ca1c9b0cSelric
539*ca1c9b0cSelric2001-07-31  Assar Westerlund  <assar@sics.se>
540*ca1c9b0cSelric
541*ca1c9b0cSelric	* add-random-users.c (main): handle --version
542*ca1c9b0cSelric
543*ca1c9b0cSelric2001-07-30  Johan Danielsson  <joda@pdc.kth.se>
544*ca1c9b0cSelric
545*ca1c9b0cSelric	* load.c: increase line buffer to 8k
546*ca1c9b0cSelric
547*ca1c9b0cSelric2001-06-12  Assar Westerlund  <assar@sics.se>
548*ca1c9b0cSelric
549*ca1c9b0cSelric	* ext.c (ext_keytab): use the default modify keytab per default
550*ca1c9b0cSelric
551*ca1c9b0cSelric2001-05-17  Assar Westerlund  <assar@sics.se>
552*ca1c9b0cSelric
553*ca1c9b0cSelric	* kadm_conn.c (start_server): fix krb5_eai_to_heim_errno call
554*ca1c9b0cSelric
555*ca1c9b0cSelric2001-05-15  Assar Westerlund  <assar@sics.se>
556*ca1c9b0cSelric
557*ca1c9b0cSelric	* kadmin.c (main): some error cleaning required
558*ca1c9b0cSelric
559*ca1c9b0cSelric2001-05-14  Assar Westerlund  <assar@sics.se>
560*ca1c9b0cSelric
561*ca1c9b0cSelric	* kadmind.c: new krb5_config_parse_file
562*ca1c9b0cSelric	* kadmin.c: new krb5_config_parse_file
563*ca1c9b0cSelric	* kadm_conn.c: update to new krb5_sockaddr2address
564*ca1c9b0cSelric
565*ca1c9b0cSelric2001-05-07  Assar Westerlund  <assar@sics.se>
566*ca1c9b0cSelric
567*ca1c9b0cSelric	* kadmin_locl.h (foreach_principal): update prototype
568*ca1c9b0cSelric	* get.c (getit): new foreach_principal
569*ca1c9b0cSelric	* ext.c (ext_keytab): new foreach_principal
570*ca1c9b0cSelric	* del.c (del_entry): new foreach_principal
571*ca1c9b0cSelric	* cpw.c (cpw_entry): new foreach_principal
572*ca1c9b0cSelric	* util.c (foreach_principal): add `funcname' and try printing the
573*ca1c9b0cSelric	error string
574*ca1c9b0cSelric
575*ca1c9b0cSelric2001-05-04  Johan Danielsson  <joda@pdc.kth.se>
576*ca1c9b0cSelric
577*ca1c9b0cSelric	* rename.c: fix argument number test
578*ca1c9b0cSelric
579*ca1c9b0cSelric2001-04-19  Johan Danielsson  <joda@pdc.kth.se>
580*ca1c9b0cSelric
581*ca1c9b0cSelric	* del_enctype.c: fix argument count check after getarg change;
582*ca1c9b0cSelric	spotted by mark@MCS.VUW.AC.NZ
583*ca1c9b0cSelric
584*ca1c9b0cSelric2001-02-15  Assar Westerlund  <assar@sics.se>
585*ca1c9b0cSelric
586*ca1c9b0cSelric	* kadmind.c (main): use a `struct sockaddr_storage' to be able to
587*ca1c9b0cSelric	store all types of addresses
588*ca1c9b0cSelric
589*ca1c9b0cSelric2001-02-07  Assar Westerlund  <assar@sics.se>
590*ca1c9b0cSelric
591*ca1c9b0cSelric	* kadmin.c: add --keytab / _K, from Leif Johansson
592*ca1c9b0cSelric	<leifj@it.su.se>
593*ca1c9b0cSelric
594*ca1c9b0cSelric2001-01-29  Assar Westerlund  <assar@sics.se>
595*ca1c9b0cSelric
596*ca1c9b0cSelric	* kadm_conn.c (spawn_child): close the newly created socket in the
597*ca1c9b0cSelric	packet, it's not used.  from <shadow@dementia.org>
598*ca1c9b0cSelric	* version4.c (decode_packet): check success of
599*ca1c9b0cSelric	krb5_425_conv_principal.  from <shadow@dementia.org>
600*ca1c9b0cSelric
601*ca1c9b0cSelric2001-01-12  Assar Westerlund  <assar@sics.se>
602*ca1c9b0cSelric
603*ca1c9b0cSelric	* util.c (parse_attributes): make empty string mean no attributes,
604*ca1c9b0cSelric	specifying the empty string at the command line should give you no
605*ca1c9b0cSelric	attributes, but just pressing return at the prompt gives you
606*ca1c9b0cSelric	default attributes
607*ca1c9b0cSelric	(edit_entry): only pick up values from the default principal if they
608*ca1c9b0cSelric	aren't set in the principal being edited
609*ca1c9b0cSelric
610*ca1c9b0cSelric2001-01-04  Assar Westerlund  <assar@sics.se>
611*ca1c9b0cSelric
612*ca1c9b0cSelric	* load.c (doit): print an error and bail out if storing an entry
613*ca1c9b0cSelric	in the database fails.  The most likely reason for it failing is
614*ca1c9b0cSelric	out-of-space.
615*ca1c9b0cSelric
616*ca1c9b0cSelric2000-12-31  Assar Westerlund  <assar@sics.se>
617*ca1c9b0cSelric
618*ca1c9b0cSelric	* kadmind.c (main): handle krb5_init_context failure consistently
619*ca1c9b0cSelric	* kadmin.c (main): handle krb5_init_context failure consistently
620*ca1c9b0cSelric	* add-random-users.c (add_user): handle krb5_init_context failure
621*ca1c9b0cSelric	consistently
622*ca1c9b0cSelric
623*ca1c9b0cSelric	* kadm_conn.c (spawn_child): use a struct sockaddr_storage
624*ca1c9b0cSelric
625*ca1c9b0cSelric2000-12-15  Johan Danielsson  <joda@pdc.kth.se>
626*ca1c9b0cSelric
627*ca1c9b0cSelric	* get.c: avoid asprintf'ing NULL strings
628*ca1c9b0cSelric
629*ca1c9b0cSelric2000-12-14  Johan Danielsson  <joda@pdc.kth.se>
630*ca1c9b0cSelric
631*ca1c9b0cSelric	* load.c: fix option parsing
632*ca1c9b0cSelric
633*ca1c9b0cSelric2000-11-16  Assar Westerlund  <assar@sics.se>
634*ca1c9b0cSelric
635*ca1c9b0cSelric	* kadm_conn.c (wait_for_connection): check for fd's being too
636*ca1c9b0cSelric	large to select on
637*ca1c9b0cSelric
638*ca1c9b0cSelric2000-11-09  Johan Danielsson  <joda@pdc.kth.se>
639*ca1c9b0cSelric
640*ca1c9b0cSelric	* get.c: don't try to print modifier name if it isn't set (from
641*ca1c9b0cSelric	Jacques A. Vidrine" <n@nectar.com>)
642*ca1c9b0cSelric
643*ca1c9b0cSelric2000-09-19  Assar Westerlund  <assar@sics.se>
644*ca1c9b0cSelric
645*ca1c9b0cSelric	* server.c (kadmind_loop): send in keytab to v4 handling function
646*ca1c9b0cSelric	* version4.c: allow the specification of what keytab to use
647*ca1c9b0cSelric
648*ca1c9b0cSelric	* get.c (print_entry_long): actually print the actual saltvalue
649*ca1c9b0cSelric	used if it's not the default
650*ca1c9b0cSelric
651*ca1c9b0cSelric2000-09-10  Johan Danielsson  <joda@pdc.kth.se>
652*ca1c9b0cSelric
653*ca1c9b0cSelric	* kadmin.c: add option parsing, and add `privs' as an alias for
654*ca1c9b0cSelric	`privileges'
655*ca1c9b0cSelric
656*ca1c9b0cSelric	* init.c: complain if there's no realm name specified
657*ca1c9b0cSelric
658*ca1c9b0cSelric	* rename.c: add option parsing
659*ca1c9b0cSelric
660*ca1c9b0cSelric	* load.c: add option parsing
661*ca1c9b0cSelric
662*ca1c9b0cSelric	* get.c: make `get' and `list' aliases to each other, but with
663*ca1c9b0cSelric	different defaults
664*ca1c9b0cSelric
665*ca1c9b0cSelric	* del_enctype.c: add option parsing
666*ca1c9b0cSelric
667*ca1c9b0cSelric	* del.c: add option parsing
668*ca1c9b0cSelric
669*ca1c9b0cSelric	* ank.c: calling the command `add' make more sense from an english
670*ca1c9b0cSelric	pov
671*ca1c9b0cSelric
672*ca1c9b0cSelric	* Makefile.am: add kadmin manpage
673*ca1c9b0cSelric
674*ca1c9b0cSelric	* kadmin.8: short manpage
675*ca1c9b0cSelric
676*ca1c9b0cSelric	* kadmin.c: `quit' should be a alias for `exit', not `help'
677*ca1c9b0cSelric
678*ca1c9b0cSelric2000-08-27  Assar Westerlund  <assar@sics.se>
679*ca1c9b0cSelric
680*ca1c9b0cSelric	* server.c (handle_v5): do not try to perform stupid stunts when
681*ca1c9b0cSelric	printing errors
682*ca1c9b0cSelric
683*ca1c9b0cSelric2000-08-19  Assar Westerlund  <assar@sics.se>
684*ca1c9b0cSelric
685*ca1c9b0cSelric	* util.c (str2time_t): add alias for `now'.
686*ca1c9b0cSelric
687*ca1c9b0cSelric2000-08-18  Assar Westerlund  <assar@sics.se>
688*ca1c9b0cSelric
689*ca1c9b0cSelric	* server.c (handle_v5): accept any kadmin/admin@* principal as the
690*ca1c9b0cSelric	server
691*ca1c9b0cSelric	* kadmind.c: remove extra prototype of kadmind_loop
692*ca1c9b0cSelric	* kadmin_locl.h (kadmind_loop): add prototype
693*ca1c9b0cSelric
694*ca1c9b0cSelric	* init.c (usage): print init-usage and not add-dito
695*ca1c9b0cSelric
696*ca1c9b0cSelric2000-08-07  Johan Danielsson  <joda@pdc.kth.se>
697*ca1c9b0cSelric
698*ca1c9b0cSelric	* kadmind.c: use roken_getsockname
699*ca1c9b0cSelric
700*ca1c9b0cSelric2000-08-07  Assar Westerlund  <assar@sics.se>
701*ca1c9b0cSelric
702*ca1c9b0cSelric	* kadmind.c, kadm_conn.c: use socklen_t instead of int where
703*ca1c9b0cSelric	appropriate.  From <thorpej@netbsd.org>
704*ca1c9b0cSelric
705*ca1c9b0cSelric2000-08-04  Johan Danielsson  <joda@pdc.kth.se>
706*ca1c9b0cSelric
707*ca1c9b0cSelric	* Makefile.am: link with pidfile library
708*ca1c9b0cSelric
709*ca1c9b0cSelric	* kadmind.c: write a pid file, and setup password quality
710*ca1c9b0cSelric	functions
711*ca1c9b0cSelric
712*ca1c9b0cSelric	* kadmin_locl.h: util.h
713*ca1c9b0cSelric
714*ca1c9b0cSelric2000-07-27  Assar Westerlund  <assar@sics.se>
715*ca1c9b0cSelric
716*ca1c9b0cSelric	* version4.c (decode_packet): be totally consistent with the
717*ca1c9b0cSelric	prototype of des_cbc_cksum
718*ca1c9b0cSelric	* kadmind.c: use sa_size instead of sa_len, some systems define
719*ca1c9b0cSelric	this to emulate anonymous unions
720*ca1c9b0cSelric	* kadm_conn.c: use sa_size instead of sa_len, some systems define
721*ca1c9b0cSelric	this to emulate anonymous unions
722*ca1c9b0cSelric
723*ca1c9b0cSelric2000-07-24  Assar Westerlund  <assar@sics.se>
724*ca1c9b0cSelric
725*ca1c9b0cSelric	* kadmin.c (commands): add quit
726*ca1c9b0cSelric	* load.c (doit): truncate the log since there's no way of knowing
727*ca1c9b0cSelric	what changes are going to be added
728*ca1c9b0cSelric
729*ca1c9b0cSelric2000-07-23  Assar Westerlund  <assar@sics.se>
730*ca1c9b0cSelric
731*ca1c9b0cSelric	* util.c (str2time_t): be more careful with strptime that might
732*ca1c9b0cSelric	zero out the `struct tm'
733*ca1c9b0cSelric
734*ca1c9b0cSelric2000-07-22  Johan Danielsson  <joda@pdc.kth.se>
735*ca1c9b0cSelric
736*ca1c9b0cSelric	* kadm_conn.c: make the parent process wait for children and
737*ca1c9b0cSelric	terminate after receiving a signal, also terminate on SIGINT
738*ca1c9b0cSelric
739*ca1c9b0cSelric2000-07-22  Assar Westerlund  <assar@sics.se>
740*ca1c9b0cSelric
741*ca1c9b0cSelric	* version4.c: map both princ_expire_time and pw_expiration to v4
742*ca1c9b0cSelric	principal expiration
743*ca1c9b0cSelric
744*ca1c9b0cSelric2000-07-22  Johan Danielsson  <joda@pdc.kth.se>
745*ca1c9b0cSelric
746*ca1c9b0cSelric	* version4.c (handle_v4): check for termination
747*ca1c9b0cSelric
748*ca1c9b0cSelric	* server.c (v5_loop): check for termination
749*ca1c9b0cSelric
750*ca1c9b0cSelric	* kadm_conn.c (wait_term): if we're doing something, set just set
751*ca1c9b0cSelric	a flag otherwise exit rightaway
752*ca1c9b0cSelric
753*ca1c9b0cSelric	* server.c: use krb5_read_priv_message; (v5_loop): check for EOF
754*ca1c9b0cSelric
755*ca1c9b0cSelric2000-07-21  Assar Westerlund  <assar@sics.se>
756*ca1c9b0cSelric
757*ca1c9b0cSelric	* kadm_conn.c: remove sys/select.h.  make signal handlers
758*ca1c9b0cSelric	type-correct and static
759*ca1c9b0cSelric
760*ca1c9b0cSelric	* kadmin_locl.h: add limits.h and sys/select.h
761*ca1c9b0cSelric
762*ca1c9b0cSelric2000-07-20  Assar Westerlund  <assar@sics.se>
763*ca1c9b0cSelric
764*ca1c9b0cSelric	* init.c (init): also create `kadmin/hprop'
765*ca1c9b0cSelric	* kadmind.c: ports is a string argument
766*ca1c9b0cSelric	* kadm_conn.c (start_server): fix printf format
767*ca1c9b0cSelric
768*ca1c9b0cSelric	* kadmin_locl.h: add <sys/select.h>
769*ca1c9b0cSelric	* kadm_conn.c: remove sys/select.h.  make signal handlers
770*ca1c9b0cSelric	type-correct and static
771*ca1c9b0cSelric
772*ca1c9b0cSelric	* kadmin_locl.h: add limits.h and sys/select.h
773*ca1c9b0cSelric
774*ca1c9b0cSelric2000-07-17  Johan Danielsson  <joda@pdc.kth.se>
775*ca1c9b0cSelric
776*ca1c9b0cSelric	* kadm_conn.c: put all processes in a new process group
777*ca1c9b0cSelric
778*ca1c9b0cSelric	* server.c (v5_loop): use krb5_{read,write}_priv_message
779*ca1c9b0cSelric
780*ca1c9b0cSelric2000-07-11  Johan Danielsson  <joda@pdc.kth.se>
781*ca1c9b0cSelric
782*ca1c9b0cSelric	* version4.c: change log strings to match the v5 counterparts
783*ca1c9b0cSelric
784*ca1c9b0cSelric	* mod.c: allow setting kvno
785*ca1c9b0cSelric
786*ca1c9b0cSelric	* kadmind.c: if stdin is not a socket create and listen to sockets
787*ca1c9b0cSelric
788*ca1c9b0cSelric	* kadm_conn.c: socket creation functions
789*ca1c9b0cSelric
790*ca1c9b0cSelric	* util.c (deltat2str): treat 0 and INT_MAX as never
791*ca1c9b0cSelric
792*ca1c9b0cSelric2000-07-08  Assar Westerlund  <assar@sics.se>
793*ca1c9b0cSelric
794*ca1c9b0cSelric	* Makefile.am (INCLUDES): add ../lib/krb5
795*ca1c9b0cSelric	* kadmin_locl.h: add krb5_locl.h (since we just use some stuff
796*ca1c9b0cSelric	from there)
797*ca1c9b0cSelric
798*ca1c9b0cSelric2000-06-07  Assar Westerlund  <assar@sics.se>
799*ca1c9b0cSelric
800*ca1c9b0cSelric	* add-random-users.c: new testing program that adds a number of
801*ca1c9b0cSelric	randomly generated users
802*ca1c9b0cSelric
803*ca1c9b0cSelric2000-04-12  Assar Westerlund  <assar@sics.se>
804*ca1c9b0cSelric
805*ca1c9b0cSelric	* cpw.c (do_cpw_entry): call set_password if no argument is given,
806*ca1c9b0cSelric	it will prompt for the password.
807*ca1c9b0cSelric	* kadmin.c: make help only print the commands that are actually
808*ca1c9b0cSelric	available.
809*ca1c9b0cSelric
810*ca1c9b0cSelric2000-04-03  Assar Westerlund  <assar@sics.se>
811*ca1c9b0cSelric
812*ca1c9b0cSelric	* del_enctype.c (del_enctype): set ignore correctly
813*ca1c9b0cSelric
814*ca1c9b0cSelric2000-04-02  Assar Westerlund  <assar@sics.se>
815*ca1c9b0cSelric
816*ca1c9b0cSelric	* kadmin.c (main): make parse errors a fatal error
817*ca1c9b0cSelric	* init.c (init): create changepw/kerberos with disallow-tgt and
818*ca1c9b0cSelric	pwchange attributes
819*ca1c9b0cSelric
820*ca1c9b0cSelric2000-03-23  Assar Westerlund  <assar@sics.se>
821*ca1c9b0cSelric
822*ca1c9b0cSelric	* util.c (hex2n, parse_des_key): add
823*ca1c9b0cSelric	* server.c (kadmind_dispatch): add kadm_chpass_with_key
824*ca1c9b0cSelric	* cpw.c: add --key
825*ca1c9b0cSelric	* ank.c: add --key
826*ca1c9b0cSelric
827*ca1c9b0cSelric2000-02-16  Assar Westerlund  <assar@sics.se>
828*ca1c9b0cSelric
829*ca1c9b0cSelric	* load.c (doit): check return value from parse_hdbflags2int
830*ca1c9b0cSelric	correctly
831*ca1c9b0cSelric
832*ca1c9b0cSelric2000-01-25  Assar Westerlund  <assar@sics.se>
833*ca1c9b0cSelric
834*ca1c9b0cSelric	* load.c: checking all parsing for errors and all memory
835*ca1c9b0cSelric	allocations also
836*ca1c9b0cSelric
837*ca1c9b0cSelric2000-01-02  Assar Westerlund  <assar@sics.se>
838*ca1c9b0cSelric
839*ca1c9b0cSelric	* server.c: check initial flag in ticket and allow users to change
840*ca1c9b0cSelric	their own password if it's set
841*ca1c9b0cSelric	* ext.c (do_ext_keytab): set timestamp
842*ca1c9b0cSelric
843*ca1c9b0cSelric1999-12-14  Assar Westerlund  <assar@sics.se>
844*ca1c9b0cSelric
845*ca1c9b0cSelric	* del_enctype.c (usage): don't use arg_printusage
846*ca1c9b0cSelric
847*ca1c9b0cSelric1999-11-25  Assar Westerlund  <assar@sics.se>
848*ca1c9b0cSelric
849*ca1c9b0cSelric	* del_enctype.c (del_enctype): try not to leak memory
850*ca1c9b0cSelric
851*ca1c9b0cSelric	* version4.c (kadm_ser_mod): use kadm5_s_modify_principal (no
852*ca1c9b0cSelric 	_with_key)
853*ca1c9b0cSelric
854*ca1c9b0cSelric	* kadmin.c: add `del_enctype'
855*ca1c9b0cSelric
856*ca1c9b0cSelric	* del_enctype.c (del_enctype): new function for deleting enctypes
857*ca1c9b0cSelric	from a principal
858*ca1c9b0cSelric
859*ca1c9b0cSelric	* Makefile.am (kadmin_SOURCES): add del_enctype.c
860*ca1c9b0cSelric
861*ca1c9b0cSelric1999-11-09  Johan Danielsson  <joda@pdc.kth.se>
862*ca1c9b0cSelric
863*ca1c9b0cSelric	* server.c: cope with old clients
864*ca1c9b0cSelric
865*ca1c9b0cSelric	* kadmin_locl.h: remove version string
866*ca1c9b0cSelric
867*ca1c9b0cSelric1999-10-17  Assar Westerlund  <assar@sics.se>
868*ca1c9b0cSelric
869*ca1c9b0cSelric	* Makefile.am (kadmin_LDADD): add LIB_dlopen
870*ca1c9b0cSelric
871*ca1c9b0cSelric1999-10-01  Assar Westerlund  <assar@sics.se>
872*ca1c9b0cSelric
873*ca1c9b0cSelric	* ank.c (add_one_principal): `password' can cactually be NULL in
874*ca1c9b0cSelric 	the overwrite code, check for it.
875*ca1c9b0cSelric
876*ca1c9b0cSelric1999-09-20  Assar Westerlund  <assar@sics.se>
877*ca1c9b0cSelric
878*ca1c9b0cSelric	* mod.c (mod_entry): print the correct principal name in error
879*ca1c9b0cSelric 	messages.  From Love <lha@e.kth.se>
880*ca1c9b0cSelric
881*ca1c9b0cSelric1999-09-10  Assar Westerlund  <assar@sics.se>
882*ca1c9b0cSelric
883*ca1c9b0cSelric	* init.c (init): also create `changepw/kerberos'
884*ca1c9b0cSelric
885*ca1c9b0cSelric	* version4.c: only create you loose packets when we fail decoding
886*ca1c9b0cSelric 	and not when an operation is not performed for some reason
887*ca1c9b0cSelric	(decode_packet): read the service key from the hdb
888*ca1c9b0cSelric	(dispatch, decode_packet): return proper error messages
889*ca1c9b0cSelric
890*ca1c9b0cSelric	* version4.c (kadm_ser_cpw): add password quality functions
891*ca1c9b0cSelric
892*ca1c9b0cSelric1999-08-27  Johan Danielsson  <joda@pdc.kth.se>
893*ca1c9b0cSelric
894*ca1c9b0cSelric	* server.c (handle_v5): give more informative message if
895*ca1c9b0cSelric	KRB5_KT_NOTFOUND
896*ca1c9b0cSelric
897*ca1c9b0cSelric1999-08-26  Johan Danielsson  <joda@pdc.kth.se>
898*ca1c9b0cSelric
899*ca1c9b0cSelric	* kadmind.c: use HDB keytabs
900*ca1c9b0cSelric
901*ca1c9b0cSelric1999-08-25  Assar Westerlund  <assar@sics.se>
902*ca1c9b0cSelric
903*ca1c9b0cSelric	* cpw.c (set_password): use correct variable.  From Love
904*ca1c9b0cSelric 	<lha@e.kth.se>
905*ca1c9b0cSelric
906*ca1c9b0cSelric	* server.c (v5_loop): use correct error code
907*ca1c9b0cSelric
908*ca1c9b0cSelric	* ank.c (add_one_principal): initialize `default_ent'
909*ca1c9b0cSelric
910*ca1c9b0cSelric1999-08-21  Assar Westerlund  <assar@sics.se>
911*ca1c9b0cSelric
912*ca1c9b0cSelric	* random_password.c: new file, stolen from krb4
913*ca1c9b0cSelric
914*ca1c9b0cSelric	* kadmin_locl.h: add prototype for random_password
915*ca1c9b0cSelric
916*ca1c9b0cSelric	* cpw.c: add support for --random-password
917*ca1c9b0cSelric
918*ca1c9b0cSelric	* ank.c: add support for --random-password
919*ca1c9b0cSelric
920*ca1c9b0cSelric	* Makefile.am (kadmin_SOURCES): add random_password.c
921*ca1c9b0cSelric
922*ca1c9b0cSelric1999-08-19  Assar Westerlund  <assar@sics.se>
923*ca1c9b0cSelric
924*ca1c9b0cSelric	* util.c (edit_timet): break when we manage to parse the time not
925*ca1c9b0cSelric 	the inverse.
926*ca1c9b0cSelric
927*ca1c9b0cSelric	* mod.c: add parsing of lots of options.  From Love
928*ca1c9b0cSelric 	<lha@stacken.kth.se>
929*ca1c9b0cSelric
930*ca1c9b0cSelric	* ank.c: add setting of expiration and password expiration
931*ca1c9b0cSelric
932*ca1c9b0cSelric	* kadmin_locl.h: update util.c prototypes
933*ca1c9b0cSelric
934*ca1c9b0cSelric	* util.c: move-around.  clean-up, rename, make consistent (and
935*ca1c9b0cSelric 	some other weird stuff).  based on patches from Love
936*ca1c9b0cSelric 	<lha@stacken.kth.se>
937*ca1c9b0cSelric
938*ca1c9b0cSelric	* version4.c (kadm_ser_cpw): initialize password
939*ca1c9b0cSelric	(handle_v4): remove unused variable `ret'
940*ca1c9b0cSelric
941*ca1c9b0cSelric1999-08-16  Assar Westerlund  <assar@sics.se>
942*ca1c9b0cSelric
943*ca1c9b0cSelric	* version4.c (handle_v4): more error checking and more correct
944*ca1c9b0cSelric 	error messages
945*ca1c9b0cSelric
946*ca1c9b0cSelric	* server.c (v5_loop, kadmind_loop): more error checking and more
947*ca1c9b0cSelric 	correct error messages
948*ca1c9b0cSelric
949*ca1c9b0cSelric1999-07-24  Assar Westerlund  <assar@sics.se>
950*ca1c9b0cSelric
951*ca1c9b0cSelric	* util.c (str2timeval, edit_time): functions for parsing and
952*ca1c9b0cSelric 	editing times.  Based on patches from Love <lha@stacken.kth.se>.
953*ca1c9b0cSelric	(edit_entry): call new functions
954*ca1c9b0cSelric
955*ca1c9b0cSelric	* mod.c (mod_entry): allow modifying expiration times
956*ca1c9b0cSelric
957*ca1c9b0cSelric	* kadmin_locl.h (str2timeval): add prototype
958*ca1c9b0cSelric
959*ca1c9b0cSelric	* ank.c (add_one_principal): allow setting expiration times
960*ca1c9b0cSelric
961*ca1c9b0cSelric1999-07-03  Assar Westerlund  <assar@sics.se>
962*ca1c9b0cSelric
963*ca1c9b0cSelric	* server.c (v5_loop): handle data allocation with krb5_data_alloc
964*ca1c9b0cSelric 	and check return value
965*ca1c9b0cSelric
966*ca1c9b0cSelric1999-06-23  Assar Westerlund  <assar@sics.se>
967*ca1c9b0cSelric
968*ca1c9b0cSelric	* version4.c (kadm_ser_cpw): read the key in the strange order
969*ca1c9b0cSelric 	it's sent
970*ca1c9b0cSelric
971*ca1c9b0cSelric	* util.c (edit_entry): look at default
972*ca1c9b0cSelric	(edit_time): always set mask even if value == 0
973*ca1c9b0cSelric
974*ca1c9b0cSelric	* kadmin_locl.h (edit_entry): update
975*ca1c9b0cSelric
976*ca1c9b0cSelric	* ank.c: make ank use the values of the default principal for
977*ca1c9b0cSelric 	prompting
978*ca1c9b0cSelric
979*ca1c9b0cSelric	* version4.c (values_to_ent): convert key data correctly
980*ca1c9b0cSelric
981*ca1c9b0cSelric1999-05-23  Assar Westerlund  <assar@sics.se>
982*ca1c9b0cSelric
983*ca1c9b0cSelric	* init.c (create_random_entry): more correct setting of mask
984*ca1c9b0cSelric
985*ca1c9b0cSelric1999-05-21  Assar Westerlund  <assar@sics.se>
986*ca1c9b0cSelric
987*ca1c9b0cSelric	* server.c (handle_v5): read sendauth version correctly.
988*ca1c9b0cSelric
989*ca1c9b0cSelric1999-05-14  Assar Westerlund  <assar@sics.se>
990*ca1c9b0cSelric
991*ca1c9b0cSelric	* version4.c (error_code): try to handle really old krb4
992*ca1c9b0cSelric 	distributions
993*ca1c9b0cSelric
994*ca1c9b0cSelric1999-05-11  Assar Westerlund  <assar@sics.se>
995*ca1c9b0cSelric
996*ca1c9b0cSelric	* init.c (init): initialize realm_max_life and realm_max_rlife
997*ca1c9b0cSelric
998*ca1c9b0cSelric1999-05-07  Assar Westerlund  <assar@sics.se>
999*ca1c9b0cSelric
1000*ca1c9b0cSelric	* ank.c (add_new_key): initialize more variables
1001*ca1c9b0cSelric
1002*ca1c9b0cSelric1999-05-04  Assar Westerlund  <assar@sics.se>
1003*ca1c9b0cSelric
1004*ca1c9b0cSelric	* version4.c (kadm_ser_cpw): always allow a user to change her
1005*ca1c9b0cSelric 	password
1006*ca1c9b0cSelric	(kadm_ser_*): make logging work
1007*ca1c9b0cSelric	clean-up and restructure
1008*ca1c9b0cSelric
1009*ca1c9b0cSelric	* kadmin_locl.h (set_entry): add prototype
1010*ca1c9b0cSelric
1011*ca1c9b0cSelric	* kadmin.c (usage): update usage string
1012*ca1c9b0cSelric
1013*ca1c9b0cSelric	* init.c (init): new arguments realm-max-ticket-life and
1014*ca1c9b0cSelric 	realm-max-renewable-life
1015*ca1c9b0cSelric
1016*ca1c9b0cSelric	* util.c (edit_time, edit_attributes): don't do anything if it's
1017*ca1c9b0cSelric 	already set
1018*ca1c9b0cSelric	(set_entry): new function
1019*ca1c9b0cSelric
1020*ca1c9b0cSelric	* ank.c (add_new_key): new options for setting max-ticket-life,
1021*ca1c9b0cSelric 	max-renewable-life, and attributes
1022*ca1c9b0cSelric
1023*ca1c9b0cSelric	* server.c (v5_loop): remove unused variable
1024*ca1c9b0cSelric
1025*ca1c9b0cSelric	* kadmin_locl.h: add prototypes
1026*ca1c9b0cSelric
1027*ca1c9b0cSelric	* version4.c: re-insert krb_err.h and other miss
1028*ca1c9b0cSelric
1029*ca1c9b0cSelric	* server.c (kadmind_loop): break-up and restructure
1030*ca1c9b0cSelric
1031*ca1c9b0cSelric	* version4.c: add ACL checks more error code checks restructure
1032*ca1c9b0cSelric
1033*ca1c9b0cSelric1999-05-03  Johan Danielsson  <joda@pdc.kth.se>
1034*ca1c9b0cSelric
1035*ca1c9b0cSelric	* load.c: check for (un-)encrypted keys
1036*ca1c9b0cSelric
1037*ca1c9b0cSelric	* dump.c: use hdb_print_entry
1038*ca1c9b0cSelric
1039*ca1c9b0cSelric	* version4.c: version 4 support
1040*ca1c9b0cSelric
1041*ca1c9b0cSelric	* Makefile.am: link with krb4
1042*ca1c9b0cSelric
1043*ca1c9b0cSelric	* kadmin_locl.h: include <sys/un.h>
1044*ca1c9b0cSelric
1045*ca1c9b0cSelric	* server.c: move from lib/kadm5, and add basic support for krb4
1046*ca1c9b0cSelric	kadmin protocol
1047*ca1c9b0cSelric
1048*ca1c9b0cSelric	* kadmind.c: move recvauth to kadmind_loop()
1049