xref: /freebsd/crypto/heimdal/lib/kafs/ChangeLog (revision 63a938566d524836885917d95bd491aa4400b181)
12008-07-17  Love Hörnquist Åstrand  <lha@it.su.se>
2
3	* common.c: Try afs/cell@REALM before afs@REALM since that is what
4	OpenAFS folks have been saying is best pratices for some time
5	now. Patch from Derrick Brashear.
6
72008-04-15  Love Hörnquist Åstrand  <lha@it.su.se>
8	* afssys.c: Avoid using entry points depending on _IOWR if there
9	is no _IOWR (on cygwin).
10
112007-07-10  Love Hörnquist Åstrand  <lha@it.su.se>
12
13	* Makefile.am: New library version.
14
152007-05-10  Love Hörnquist Åstrand  <lha@it.su.se>
16
17	* kafs.h: Add VIOCSETTOK2
18
192006-10-21  Love Hörnquist Åstrand  <lha@it.su.se>
20
21	* Makefile.am: unbreak previous
22
23	* Makefile.am: split dist and nodist sources
24
252006-10-20  Love Hörnquist Åstrand  <lha@it.su.se>
26
27	* Makefile.am: add more files
28
292006-05-01  Love Hörnquist Åstrand  <lha@it.su.se>
30
31	* kafs.3: Spelling, from Björn Sandell.
32
332006-04-11  Love Hörnquist Åstrand  <lha@it.su.se>
34
35	* afssys.c: use afs_ioctlnum, From Tomas Olsson <tol@it.su.se>
36
372006-04-10  Love Hörnquist Åstrand  <lha@it.su.se>
38
39	* afssys.c: Try harder to get the pioctl to work via the /proc or
40	/dev interface, OpenAFS choose to reuse the same ioctl number,
41	while Arla didn't.  Also, try new ioctl before the the old
42	syscalls.
43
44	* afskrb5.c (afslog_uid_int): use the simpler
45	krb5_principal_get_realm function.
46
472005-12-21  Love Hörnquist Åstrand  <lha@it.su.se>
48
49	* Makefile.am: Remove dependency on config.h, breaks IRIX build,
50	could depend on libkafs_la_OBJECTS, but that is just asking for
51	trubble.
52
532005-10-20  Love Hörnquist Åstrand  <lha@it.su.se>
54
55	* afssys.c (k_hasafs_recheck): new function, allow rechecking if
56	AFS client have started now, internaly it resets the internal
57	state from k_hasafs() and retry retry the probing. The problem
58	with calling k_hasaf() is that is plays around with signals, and
59	that cases problem for some systems/applications.
60
612005-10-02  Love Hörnquist Åstrand  <lha@it.su.se>
62
63	* kafs_locl.h: Maybe include <sys/sysctl.h>.
64
65	* afssys.c: Mac OS X 10.4 needs a runtime check if we are going to
66	use the syscall, there is no cpp define to use to check the
67	version.  Every after 10.0 (darwin 8.0) uses the /dev/ version of
68	the pioctl.
69
702005-10-01  Love Hörnquist Åstrand  <lha@it.su.se>
71
72	* afssys.c: Support the new MacOS X 10.4 ioctl interface that is a
73	device node. Patched from Tomas Olson <tol@it.su.se>.
74
752005-08-26  Love Hörnquist Åstrand  <lha@it.su.se>
76
77	* afskrb5.c: Default to use 2b tokens.
78
792005-06-17  Love Hörnquist Åstrand  <lha@it.su.se>
80
81	* common.c: rename index to idx
82
83	* afssys.c (k_afs_cell_of_file): unconst path
84
852005-06-02  Love Hörnquist Åstrand  <lha@it.su.se>
86
87	* use struct kafs_data everywhere, don't mix with the typedef
88	kafs_data
89
90	* roken_rename.h: rename more resolve.c symbols
91
92	* afssys.c: Don't building map_syscall_name_to_number where its
93	not used.
94
952005-02-24  Love Hörnquist Åstrand  <lha@it.su.se>
96
97	* Makefile.am: bump version to 4:1:4
98
992005-02-03  Love Hörnquist Åstrand  <lha@it.su.se>
100
101	* kafs.h: de-__P
102
1032004-12-06  Love Hörnquist Åstrand  <lha@it.su.se>
104
105	* afskrb5.c: s/KEYTYPE_DES/ETYPE_DES_CBC_CRC/
106
1072004-08-09  Love Hörnquist Åstrand  <lha@it.su.se>
108
109	* afssysdefs.h: ifdef protect AFS_SYSCALL for DragonFly since they
110	still define __FreeBSD__ (and __FreeBSD_version), but claim that
111	they will stop doing it some time...
112
113	* afssysdefs.h: dragonflybsd uses 339 just like freebsd5
114
1152004-06-22  Love Hörnquist Åstrand  <lha@it.su.se>
116
117	* afssys.c: s/arla/nnpfs/
118
119	* afssys.c: support the linux /proc/fs/mumel/afs_ioctl afs
120	"syscall" interface
121
1222004-01-22  Love Hörnquist Åstrand  <lha@it.su.se>
123
124	* common.c: search paths for AFS configuration files for the
125	OpenAFS MacOS X, fix comment
126
127	* kafs.h: search paths for AFS configuration files for the OpenAFS
128	MacOS X
129
1302003-12-02  Love Hörnquist Åstrand  <lha@it.su.se>
131
132	* common.c: add _PATH_ARLA_OPENBSD & c/o
133
134	* kafs.h: add _PATH_ARLA_OPENBSD & c/o
135
1362003-11-14  Love Hörnquist Åstrand  <lha@it.su.se>
137
138	* common.c: typo, Bruno Rohee <bruno@rohee.com>
139
1402003-11-08  Love Hörnquist Åstrand  <lha@it.su.se>
141
142	* kafs.3: spelling, partly from jmc <jmc@prioris.mini.pw.edu.pl>
143
1442003-09-30  Love Hörnquist Åstrand  <lha@it.su.se>
145
146	* afskrb5.c (krb5_afslog_uid_home): be even more friendly to the
147	user and fetch context and id ourself
148
1492003-09-23  Love Hörnquist Åstrand  <lha@it.su.se>
150
151	* afskrb5.c (afslog_uid_int): just belive that realm hint the user
152	passed us
153
1542003-07-23  Love Hörnquist Åstrand  <lha@it.su.se>
155
156	* Makefile.am: always include v4 symbols
157
158	* afskrb.c: provide dummy krb_ function to there is no need to
159	bump major
160
1612003-06-22  Love Hörnquist Åstrand  <lha@it.su.se>
162
163	* afskrb5.c (v5_convert): rename one of the two c to cred4
164
1652003-04-23  Love Hörnquist Åstrand  <lha@it.su.se>
166
167	* common.c, kafs.h: drop the int argument (the error code) from
168	the logging function
169
1702003-04-22  Johan Danielsson  <joda@pdc.kth.se>
171
172	* afskrb5.c (v5_convert): better match what other functions do
173	with values from krb5.conf, like case insensitivity
174
1752003-04-16  Love Hörnquist Åstrand  <lha@it.su.se>
176
177	* kafs.3: Change .Fd #include <header.h> to .In header.h
178	from Thomas Klausner <wiz@netbsd.org>
179
1802003-04-14  Love Hörnquist Åstrand  <lha@it.su.se>
181
182	* Makefile.am: (libkafs_la_LDFLAGS): update version
183
184	* Makefile.am (ROKEN_SRCS): drop strupr.c
185
186	* kafs.3: document kafs_set_verbose
187
188	* common.c (kafs_set_verbose): add function that (re)sets the
189	logging function
190	(_kafs_try_get_cred): add function that does (krb_data->get_cred) to
191	make logging easier (that is now done in this function)
192	(*): use _kafs_try_get_cred
193
194	* afskrb5.c (get_cred): handle that inst can be the empty string too
195	(v5_convert): use _kafs_foldup
196	(krb5_afslog_uid_home): set name
197	(krb5_afslog_uid_home): ditto
198
199	* afskrb.c (krb_afslog_uid_home): set name
200	(krb_afslog_uid_home): ditto
201
202	* kafs_locl.h (kafs_data): add name
203	(_kafs_foldup): internally export
204
2052003-04-11  Love Hörnquist Åstrand  <lha@it.su.se>
206
207	* kafs.3: tell that cell-name is uppercased
208
209	* Makefile.am: add INCLUDE_krb4 when using krb4, add INCLUDE_des
210	when using krb5, add strupr.c
211
212	* afskrb5.c: Check the cell part of the name, not the realm part
213	when checking if 2b should be used. The reson is afs@REALM might
214	have updated their servers but not afs/cell@REALM. Add constant
215	KAFS_RXKAD_2B_KVNO.
216
2172003-04-06  Love Hörnquist Åstrand  <lha@it.su.se>
218
219	* kafs.3: s/kerberos/Kerberos/
220
2212003-03-19  Love Hörnquist Åstrand  <lha@it.su.se>
222
223	* kafs.3: spelling, from <jmc@prioris.mini.pw.edu.pl>
224
225	* kafs.3: document the kafs_settoken functions write about the
226	krb5_appdefault option for kerberos 5 afs tokens fix prototypes
227
2282003-03-18  Love Hörnquist Åstrand  <lha@it.su.se>
229
230	* afskrb5.c (kafs_settoken5): change signature to include a
231	krb5_context, use v5_convert
232	(v5_convert): new function, converts a krb5_ccreds to a kafs_token in
233	three diffrent ways, not at all, local 524/2b, and using 524
234	(v5_to_kt): add code to do local 524/2b
235	(get_cred): use v5_convert
236
237
238	* kafs.h (kafs_settoken5): change signature to include a
239	krb5_context
240
241	* Makefile.am: always build the libkafs library now that the
242	kerberos 5 can stand on their own
243
244	* kafs.3: expose the krb5 functions
245
246	* common.c (kafs_settoken_rxkad): move all content kerberos
247	version from kafs_settoken to kafs_settoken_rxkad
248	(_kafs_fixup_viceid): move the fixup the timestamp to make client
249	happy code here.
250	(_kafs_v4_to_kt): move all the kerberos 4 dependant parts from
251	kafs_settoken here.
252	(*): adapt to kafs_token
253
254	* afskrb5.c (kafs_settoken5): new function, inserts a krb5_creds
255	into kernel
256	(v5_to_kt): new function, stores a krb5_creds in struct kafs_token
257	(get_cred): add a appdefault boolean ("libkafs", realm, "afs-use-524")
258	that can used to toggle if there should v5 token should be used
259	directly or converted via 524 first.
260
261	* afskrb.c: move kafs_settoken here, use struct kafs_token
262
263	* kafs_locl.h: include krb5-v4compat.h if needed, define an
264	internal structure struct kafs_token that carries around for rxkad
265	data that is independant of kerberos version
266
2672003-02-18  Love Hörnquist Åstrand  <lha@it.su.se>
268
269	* dlfcn.h: s/intialize/initialize, from
270	<jmc@prioris.mini.pw.edu.pl>
271
2722003-02-08  Assar Westerlund  <assar@kth.se>
273
274	* afssysdefs.h: fix FreeBSD section
275
2762003-02-06  Love Hörnquist Åstrand  <lha@it.su.se>
277
278	* afssysdefs.h: use syscall 208 on openbsd (all version) use
279	syscall 339 on freebsd 5.0 and later, use 210 on 4.x and earlier
280
2812002-08-28  Johan Danielsson  <joda@pdc.kth.se>
282
283	* kafs.3: move around sections (from NetBSD)
284
2852002-05-31  Assar Westerlund  <assar@pdc.kth.se>
286
287	* common.c: remove the trial of afs@REALM for cell != realm, it
288	tries to use the wrong key for foreign cells
289
2902002-05-20  Johan Danielsson  <joda@pdc.kth.se>
291
292	* Makefile.am: version number
293
2942002-04-18  Johan Danielsson  <joda@pdc.kth.se>
295
296	* common.c (find_cells): make file parameter const
297
2982001-11-01  Assar Westerlund  <assar@sics.se>
299
300	* add strsep, and bump version to 3:3:3
301
3022001-10-27  Assar Westerlund  <assar@sics.se>
303
304	* Makefile.am (libkafs_la_LDFLAGS): set version to 3:2:3
305
3062001-10-24  Assar Westerlund  <assar@sics.se>
307
308	* afskrb.c (afslog_uid_int): handle krb_get_tf_fullname that
309	cannot take NULLs
310	(such as the MIT one)
311
3122001-10-22  Assar Westerlund  <assar@sics.se>
313
314	* Makefile.am (ROKEN_SRCS): add strlcpy.c
315
3162001-10-09  Assar Westerlund  <assar@sics.se>
317
318	* Makefile.am (ROKEN_SRCS): add strtok_r.c
319	* roken_rename.h (dns_srv_order): rename correctly
320	(strtok_r): add renaming
321
3222001-09-10  Assar Westerlund  <assar@sics.se>
323
324	* kafs.h, common.c: look for configuration files in /etc/arla (the
325	location in debian's arla package)
326
3272001-08-26  Assar Westerlund  <assar@sics.se>
328
329	* Makefile.am: handle both krb5 and krb4 cases
330
3312001-07-19  Assar Westerlund  <assar@sics.se>
332
333	* Makefile.am (libkafs_la_LDFLAGS): set version to 3:0:3
334
3352001-07-12  Assar Westerlund  <assar@sics.se>
336
337	* common.c: look in /etc/openafs for debian openafs
338	* kafs.h: add paths for openafs debian (/etc/openafs)
339
340	* Makefile.am: add required library dependencies
341
3422001-07-03  Assar Westerlund  <assar@sics.se>
343
344	* Makefile.am (libkafs_la_LDFLAGS): set versoin to 2:4:2
345
3462001-06-19  Assar Westerlund  <assar@sics.se>
347
348	* common.c (_kafs_realm_of_cell): changed to first try exact match
349	in CellServDB, then exact match in DNS, and finally in-exact match
350	in CellServDB
351
3522001-05-18  Johan Danielsson  <joda@pdc.kth.se>
353
354	* Makefile.am: only build resolve.c if doing renaming
355
3562001-02-12  Assar Westerlund  <assar@sics.se>
357
358	* Makefile.am, roken_rename.h: add rename of dns functions
359
3602000-12-11  Assar Westerlund  <assar@sics.se>
361
362	* Makefile.am (libkafs_la_LDFLAGS): set version to 2:3:2
363
3642000-11-17  Assar Westerlund  <assar@sics.se>
365
366	* afssysdefs.h: solaris 8 apperently uses 65
367
3682000-09-19  Assar Westerlund  <assar@sics.se>
369
370	* Makefile.am (libkafs_la_LDFLAGS): bump version to 2:2:2
371
3722000-09-12  Johan Danielsson  <joda@pdc.kth.se>
373
374	* dlfcn.c: correct arguments to some snprintf:s
375
3762000-07-25  Johan Danielsson  <joda@pdc.kth.se>
377
378	* Makefile.am: bump version to 2:1:2
379
3802000-04-03  Assar Westerlund  <assar@sics.se>
381
382	* Makefile.am: set version to 2:0:2
383
3842000-03-20  Assar Westerlund  <assar@sics.se>
385
386	* afssysdefs.h: make versions later than 5.7 of solaris also use
387	73
388
3892000-03-16  Assar Westerlund  <assar@sics.se>
390
391	* afskrb.c (afslog_uid_int): use krb_get_tf_fullname instead of
392	krb_get_default_principal
393
3942000-03-15  Assar Westerlund  <assar@sics.se>
395
396	* afssys.c (map_syscall_name_to_number): ignore # at
397	beginning-of-line
398
3992000-03-13  Assar Westerlund  <assar@sics.se>
400
401	* afssysdefs.h: add 230 for MacOS X per information from
402	<warner.c@apple.com>
403
4041999-12-06  Assar Westerlund  <assar@sics.se>
405
406	* Makefile.am: set version to 1:2:1
407
4081999-11-22  Assar Westerlund  <assar@sics.se>
409
410	* afskrb5.c (afslog_uid_int): handle d->realm == NULL
411
4121999-11-17  Assar Westerlund  <assar@sics.se>
413
414	* afskrb5.c (afslog_uid_int): don't look at the local realm at
415 	all.  just use the realm from the ticket file.
416
4171999-10-20  Assar Westerlund  <assar@sics.se>
418
419	* Makefile.am: set version to 1:1:1
420
421	* afskrb5.c (get_cred): always request a DES key
422
423Mon Oct 18 17:40:21 1999  Bjoern Groenvall  <bg@mummel.sics.se>
424
425	* common.c (find_cells): Trim trailing whitespace from
426 	cellname. Lines starting with # are regarded as comments.
427
428Fri Oct  8 18:17:22 1999  Bjoern Groenvall  <bg@mummel.sics.se>
429
430	* afskrb.c, common.c : Change code to make a clear distinction
431 	between hinted realm and ticket realm.
432
433	* kafs_locl.h: Added argument realm_hint.
434
435	* common.c (_kafs_get_cred): Change code to acquire the ``best''
436 	possible ticket. Use cross-cell authentication only as method of
437 	last resort.
438
439	* afskrb.c (afslog_uid_int): Add realm_hint argument and extract
440 	realm from ticket file.
441
442	* afskrb5.c (afslog_uid_int): Added argument realm_hint.
443
4441999-10-03  Assar Westerlund  <assar@sics.se>
445
446	* afskrb5.c (get_cred): update to new krb524_convert_creds_kdc
447
4481999-08-12  Johan Danielsson  <joda@pdc.kth.se>
449
450	* Makefile.am: ignore the comlicated aix construct if !krb4
451
4521999-07-26  Assar Westerlund  <assar@sics.se>
453
454	* Makefile.am: set version to 1:0:1
455
4561999-07-22  Assar Westerlund  <assar@sics.se>
457
458	* afssysdefs.h: define AFS_SYSCALL to 73 for Solaris 2.7
459
4601999-07-07  Assar Westerlund  <assar@sics.se>
461
462	* afskrb5.c (krb5_realm_of_cell): new function
463
464	* afskrb.c (krb_realm_of_cell): new function
465	(afslog_uid_int): call krb_get_lrealm correctly
466
4671999-06-15  Assar Westerlund  <assar@sics.se>
468
469	* common.c (realm_of_cell): rename to _kafs_realm_of_cell and
470 	un-staticize
471
472Fri Mar 19 14:52:29 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
473
474	* Makefile.am: add version-info
475
476Thu Mar 18 11:24:02 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
477
478	* Makefile.am: include Makefile.am.common
479
480Sat Feb 27 19:46:21 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
481
482	* Makefile.am: remove EXTRA_DATA (as of autoconf 2.13/automake
483 	1.4)
484
485Thu Feb 11 22:57:37 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
486
487	* Makefile.am: set AIX_SRC also if !AIX
488
489Tue Dec  1 14:45:15 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
490
491	* Makefile.am: fix AIX linkage
492
493Sun Nov 22 10:40:44 1998  Assar Westerlund  <assar@sics.se>
494
495	* Makefile.in (WFLAGS): set
496
497Sat Nov 21 16:55:19 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
498
499	* afskrb5.c: add homedir support
500
501Sun Sep  6 20:16:27 1998  Assar Westerlund  <assar@sics.se>
502
503	* add new functionality for specifying the homedir to krb_afslog
504 	et al
505
506Thu Jul 16 01:27:19 1998  Assar Westerlund  <assar@sics.se>
507
508	* afssys.c: reorganize order of definitions.
509	(try_one, try_two): conditionalize
510
511Thu Jul  9 18:31:52 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
512
513	* common.c (realm_of_cell): make the dns fallback work
514
515Wed Jul  8 01:39:44 1998  Assar Westerlund  <assar@sics.se>
516
517	* afssys.c (map_syscall_name_to_number): new function for finding
518 	the number of a syscall given the name on solaris
519	(k_hasafs): try using map_syscall_name_to_number
520
521Tue Jun 30 17:19:00 1998  Assar Westerlund  <assar@sics.se>
522
523	* afssys.c: rewrite and add support for environment variable
524 	AFS_SYSCALL
525
526	* Makefile.in (distclean): don't remove roken_rename.h
527
528Fri May 29 19:03:20 1998  Assar Westerlund  <assar@sics.se>
529
530	* Makefile.in (roken_rename.h): remove dependency
531
532Mon May 25 05:25:54 1998  Assar Westerlund  <assar@sics.se>
533
534	* Makefile.in (clean): try to remove shared library debris
535
536Sun Apr 19 09:58:40 1998  Assar Westerlund  <assar@sics.se>
537
538	* Makefile.in: add symlink magic for linux
539
540Sat Apr  4 15:08:48 1998  Assar Westerlund  <assar@sics.se>
541
542	* kafs.h: add arla paths
543
544	* common.c (_kafs_afslog_all_local_cells): Try _PATH_ARLA_*
545	(_realm_of_cell): Try _PATH_ARLA_CELLSERVDB
546
547Thu Feb 19 14:50:22 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
548
549	* common.c: Don't store expired tokens (this broke when using
550 	pag-less rsh-sessions, and `non-standard' ticket files).
551
552Thu Feb 12 11:20:15 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
553
554	* Makefile.in: Install/uninstall one library at a time.
555
556Thu Feb 12 05:38:58 1998  Assar Westerlund  <assar@sics.se>
557
558	* Makefile.in (install): one library at a time.
559
560Mon Feb  9 23:40:32 1998  Assar Westerlund  <assar@sics.se>
561
562	* common.c (find_cells): ignore empty lines
563
564Tue Jan  6 04:25:58 1998  Assar Westerlund  <assar@sics.se>
565
566	* afssysdefs.h (AFS_SYSCALL): add FreeBSD
567
568Fri Jan  2 17:08:24 1998  Assar Westerlund  <assar@sics.se>
569
570	* kafs.h: new VICEIOCTL's.  From <rb@stacken.kth.se>
571
572	* afssysdefs.h: Add OpenBSD
573