1 2008-07-17 Love Hörnquist Åstrand <lha@it.su.se>
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.
7 2008-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).
11 2007-07-10 Love Hörnquist Åstrand <lha@it.su.se>
13 * Makefile.am: New library version.
15 2007-05-10 Love Hörnquist Åstrand <lha@it.su.se>
17 * kafs.h: Add VIOCSETTOK2
19 2006-10-21 Love Hörnquist Åstrand <lha@it.su.se>
21 * Makefile.am: unbreak previous
23 * Makefile.am: split dist and nodist sources
25 2006-10-20 Love Hörnquist Åstrand <lha@it.su.se>
27 * Makefile.am: add more files
29 2006-05-01 Love Hörnquist Åstrand <lha@it.su.se>
31 * kafs.3: Spelling, from Björn Sandell.
33 2006-04-11 Love Hörnquist Åstrand <lha@it.su.se>
35 * afssys.c: use afs_ioctlnum, From Tomas Olsson <tol@it.su.se>
37 2006-04-10 Love Hörnquist Åstrand <lha@it.su.se>
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
44 * afskrb5.c (afslog_uid_int): use the simpler
45 krb5_principal_get_realm function.
47 2005-12-21 Love Hörnquist Åstrand <lha@it.su.se>
49 * Makefile.am: Remove dependency on config.h, breaks IRIX build,
50 could depend on libkafs_la_OBJECTS, but that is just asking for
53 2005-10-20 Love Hörnquist Åstrand <lha@it.su.se>
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.
61 2005-10-02 Love Hörnquist Åstrand <lha@it.su.se>
63 * kafs_locl.h: Maybe include <sys/sysctl.h>.
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
70 2005-10-01 Love Hörnquist Åstrand <lha@it.su.se>
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>.
75 2005-08-26 Love Hörnquist Åstrand <lha@it.su.se>
77 * afskrb5.c: Default to use 2b tokens.
79 2005-06-17 Love Hörnquist Åstrand <lha@it.su.se>
81 * common.c: rename index to idx
83 * afssys.c (k_afs_cell_of_file): unconst path
85 2005-06-02 Love Hörnquist Åstrand <lha@it.su.se>
87 * use struct kafs_data everywhere, don't mix with the typedef
90 * roken_rename.h: rename more resolve.c symbols
92 * afssys.c: Don't building map_syscall_name_to_number where its
95 2005-02-24 Love Hörnquist Åstrand <lha@it.su.se>
97 * Makefile.am: bump version to 4:1:4
99 2005-02-03 Love Hörnquist Åstrand <lha@it.su.se>
103 2004-12-06 Love Hörnquist Åstrand <lha@it.su.se>
105 * afskrb5.c: s/KEYTYPE_DES/ETYPE_DES_CBC_CRC/
107 2004-08-09 Love Hörnquist Åstrand <lha@it.su.se>
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...
113 * afssysdefs.h: dragonflybsd uses 339 just like freebsd5
115 2004-06-22 Love Hörnquist Åstrand <lha@it.su.se>
117 * afssys.c: s/arla/nnpfs/
119 * afssys.c: support the linux /proc/fs/mumel/afs_ioctl afs
122 2004-01-22 Love Hörnquist Åstrand <lha@it.su.se>
124 * common.c: search paths for AFS configuration files for the
125 OpenAFS MacOS X, fix comment
127 * kafs.h: search paths for AFS configuration files for the OpenAFS
130 2003-12-02 Love Hörnquist Åstrand <lha@it.su.se>
132 * common.c: add _PATH_ARLA_OPENBSD & c/o
134 * kafs.h: add _PATH_ARLA_OPENBSD & c/o
136 2003-11-14 Love Hörnquist Åstrand <lha@it.su.se>
138 * common.c: typo, Bruno Rohee <bruno@rohee.com>
140 2003-11-08 Love Hörnquist Åstrand <lha@it.su.se>
142 * kafs.3: spelling, partly from jmc <jmc@prioris.mini.pw.edu.pl>
144 2003-09-30 Love Hörnquist Åstrand <lha@it.su.se>
146 * afskrb5.c (krb5_afslog_uid_home): be even more friendly to the
147 user and fetch context and id ourself
149 2003-09-23 Love Hörnquist Åstrand <lha@it.su.se>
151 * afskrb5.c (afslog_uid_int): just belive that realm hint the user
154 2003-07-23 Love Hörnquist Åstrand <lha@it.su.se>
156 * Makefile.am: always include v4 symbols
158 * afskrb.c: provide dummy krb_ function to there is no need to
161 2003-06-22 Love Hörnquist Åstrand <lha@it.su.se>
163 * afskrb5.c (v5_convert): rename one of the two c to cred4
165 2003-04-23 Love Hörnquist Åstrand <lha@it.su.se>
167 * common.c, kafs.h: drop the int argument (the error code) from
170 2003-04-22 Johan Danielsson <joda@pdc.kth.se>
172 * afskrb5.c (v5_convert): better match what other functions do
173 with values from krb5.conf, like case insensitivity
175 2003-04-16 Love Hörnquist Åstrand <lha@it.su.se>
177 * kafs.3: Change .Fd #include <header.h> to .In header.h
178 from Thomas Klausner <wiz@netbsd.org>
180 2003-04-14 Love Hörnquist Åstrand <lha@it.su.se>
182 * Makefile.am: (libkafs_la_LDFLAGS): update version
184 * Makefile.am (ROKEN_SRCS): drop strupr.c
186 * kafs.3: document kafs_set_verbose
188 * common.c (kafs_set_verbose): add function that (re)sets the
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
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
199 * afskrb.c (krb_afslog_uid_home): set name
200 (krb_afslog_uid_home): ditto
202 * kafs_locl.h (kafs_data): add name
203 (_kafs_foldup): internally export
205 2003-04-11 Love Hörnquist Åstrand <lha@it.su.se>
207 * kafs.3: tell that cell-name is uppercased
209 * Makefile.am: add INCLUDE_krb4 when using krb4, add INCLUDE_des
210 when using krb5, add strupr.c
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
217 2003-04-06 Love Hörnquist Åstrand <lha@it.su.se>
219 * kafs.3: s/kerberos/Kerberos/
221 2003-03-19 Love Hörnquist Åstrand <lha@it.su.se>
223 * kafs.3: spelling, from <jmc@prioris.mini.pw.edu.pl>
225 * kafs.3: document the kafs_settoken functions write about the
226 krb5_appdefault option for kerberos 5 afs tokens fix prototypes
228 2003-03-18 Love Hörnquist Åstrand <lha@it.su.se>
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
238 * kafs.h (kafs_settoken5): change signature to include a
241 * Makefile.am: always build the libkafs library now that the
242 kerberos 5 can stand on their own
244 * kafs.3: expose the krb5 functions
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
250 (_kafs_v4_to_kt): move all the kerberos 4 dependant parts from
252 (*): adapt to kafs_token
254 * afskrb5.c (kafs_settoken5): new function, inserts a krb5_creds
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.
261 * afskrb.c: move kafs_settoken here, use struct kafs_token
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
267 2003-02-18 Love Hörnquist Åstrand <lha@it.su.se>
269 * dlfcn.h: s/intialize/initialize, from
270 <jmc@prioris.mini.pw.edu.pl>
272 2003-02-08 Assar Westerlund <assar@kth.se>
274 * afssysdefs.h: fix FreeBSD section
276 2003-02-06 Love Hörnquist Åstrand <lha@it.su.se>
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
281 2002-08-28 Johan Danielsson <joda@pdc.kth.se>
283 * kafs.3: move around sections (from NetBSD)
285 2002-05-31 Assar Westerlund <assar@pdc.kth.se>
287 * common.c: remove the trial of afs@REALM for cell != realm, it
288 tries to use the wrong key for foreign cells
290 2002-05-20 Johan Danielsson <joda@pdc.kth.se>
292 * Makefile.am: version number
294 2002-04-18 Johan Danielsson <joda@pdc.kth.se>
296 * common.c (find_cells): make file parameter const
298 2001-11-01 Assar Westerlund <assar@sics.se>
300 * add strsep, and bump version to 3:3:3
302 2001-10-27 Assar Westerlund <assar@sics.se>
304 * Makefile.am (libkafs_la_LDFLAGS): set version to 3:2:3
306 2001-10-24 Assar Westerlund <assar@sics.se>
308 * afskrb.c (afslog_uid_int): handle krb_get_tf_fullname that
310 (such as the MIT one)
312 2001-10-22 Assar Westerlund <assar@sics.se>
314 * Makefile.am (ROKEN_SRCS): add strlcpy.c
316 2001-10-09 Assar Westerlund <assar@sics.se>
318 * Makefile.am (ROKEN_SRCS): add strtok_r.c
319 * roken_rename.h (dns_srv_order): rename correctly
320 (strtok_r): add renaming
322 2001-09-10 Assar Westerlund <assar@sics.se>
324 * kafs.h, common.c: look for configuration files in /etc/arla (the
325 location in debian's arla package)
327 2001-08-26 Assar Westerlund <assar@sics.se>
329 * Makefile.am: handle both krb5 and krb4 cases
331 2001-07-19 Assar Westerlund <assar@sics.se>
333 * Makefile.am (libkafs_la_LDFLAGS): set version to 3:0:3
335 2001-07-12 Assar Westerlund <assar@sics.se>
337 * common.c: look in /etc/openafs for debian openafs
338 * kafs.h: add paths for openafs debian (/etc/openafs)
340 * Makefile.am: add required library dependencies
342 2001-07-03 Assar Westerlund <assar@sics.se>
344 * Makefile.am (libkafs_la_LDFLAGS): set versoin to 2:4:2
346 2001-06-19 Assar Westerlund <assar@sics.se>
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
352 2001-05-18 Johan Danielsson <joda@pdc.kth.se>
354 * Makefile.am: only build resolve.c if doing renaming
356 2001-02-12 Assar Westerlund <assar@sics.se>
358 * Makefile.am, roken_rename.h: add rename of dns functions
360 2000-12-11 Assar Westerlund <assar@sics.se>
362 * Makefile.am (libkafs_la_LDFLAGS): set version to 2:3:2
364 2000-11-17 Assar Westerlund <assar@sics.se>
366 * afssysdefs.h: solaris 8 apperently uses 65
368 2000-09-19 Assar Westerlund <assar@sics.se>
370 * Makefile.am (libkafs_la_LDFLAGS): bump version to 2:2:2
372 2000-09-12 Johan Danielsson <joda@pdc.kth.se>
374 * dlfcn.c: correct arguments to some snprintf:s
376 2000-07-25 Johan Danielsson <joda@pdc.kth.se>
378 * Makefile.am: bump version to 2:1:2
380 2000-04-03 Assar Westerlund <assar@sics.se>
382 * Makefile.am: set version to 2:0:2
384 2000-03-20 Assar Westerlund <assar@sics.se>
386 * afssysdefs.h: make versions later than 5.7 of solaris also use
389 2000-03-16 Assar Westerlund <assar@sics.se>
391 * afskrb.c (afslog_uid_int): use krb_get_tf_fullname instead of
392 krb_get_default_principal
394 2000-03-15 Assar Westerlund <assar@sics.se>
396 * afssys.c (map_syscall_name_to_number): ignore # at
399 2000-03-13 Assar Westerlund <assar@sics.se>
401 * afssysdefs.h: add 230 for MacOS X per information from
404 1999-12-06 Assar Westerlund <assar@sics.se>
406 * Makefile.am: set version to 1:2:1
408 1999-11-22 Assar Westerlund <assar@sics.se>
410 * afskrb5.c (afslog_uid_int): handle d->realm == NULL
412 1999-11-17 Assar Westerlund <assar@sics.se>
414 * afskrb5.c (afslog_uid_int): don't look at the local realm at
415 all. just use the realm from the ticket file.
417 1999-10-20 Assar Westerlund <assar@sics.se>
419 * Makefile.am: set version to 1:1:1
421 * afskrb5.c (get_cred): always request a DES key
423 Mon Oct 18 17:40:21 1999 Bjoern Groenvall <bg@mummel.sics.se>
425 * common.c (find_cells): Trim trailing whitespace from
426 cellname. Lines starting with # are regarded as comments.
428 Fri Oct 8 18:17:22 1999 Bjoern Groenvall <bg@mummel.sics.se>
430 * afskrb.c, common.c : Change code to make a clear distinction
431 between hinted realm and ticket realm.
433 * kafs_locl.h: Added argument realm_hint.
435 * common.c (_kafs_get_cred): Change code to acquire the ``best''
436 possible ticket. Use cross-cell authentication only as method of
439 * afskrb.c (afslog_uid_int): Add realm_hint argument and extract
440 realm from ticket file.
442 * afskrb5.c (afslog_uid_int): Added argument realm_hint.
444 1999-10-03 Assar Westerlund <assar@sics.se>
446 * afskrb5.c (get_cred): update to new krb524_convert_creds_kdc
448 1999-08-12 Johan Danielsson <joda@pdc.kth.se>
450 * Makefile.am: ignore the comlicated aix construct if !krb4
452 1999-07-26 Assar Westerlund <assar@sics.se>
454 * Makefile.am: set version to 1:0:1
456 1999-07-22 Assar Westerlund <assar@sics.se>
458 * afssysdefs.h: define AFS_SYSCALL to 73 for Solaris 2.7
460 1999-07-07 Assar Westerlund <assar@sics.se>
462 * afskrb5.c (krb5_realm_of_cell): new function
464 * afskrb.c (krb_realm_of_cell): new function
465 (afslog_uid_int): call krb_get_lrealm correctly
467 1999-06-15 Assar Westerlund <assar@sics.se>
469 * common.c (realm_of_cell): rename to _kafs_realm_of_cell and
472 Fri Mar 19 14:52:29 1999 Johan Danielsson <joda@hella.pdc.kth.se>
474 * Makefile.am: add version-info
476 Thu Mar 18 11:24:02 1999 Johan Danielsson <joda@hella.pdc.kth.se>
478 * Makefile.am: include Makefile.am.common
480 Sat Feb 27 19:46:21 1999 Johan Danielsson <joda@hella.pdc.kth.se>
482 * Makefile.am: remove EXTRA_DATA (as of autoconf 2.13/automake
485 Thu Feb 11 22:57:37 1999 Johan Danielsson <joda@hella.pdc.kth.se>
487 * Makefile.am: set AIX_SRC also if !AIX
489 Tue Dec 1 14:45:15 1998 Johan Danielsson <joda@hella.pdc.kth.se>
491 * Makefile.am: fix AIX linkage
493 Sun Nov 22 10:40:44 1998 Assar Westerlund <assar@sics.se>
495 * Makefile.in (WFLAGS): set
497 Sat Nov 21 16:55:19 1998 Johan Danielsson <joda@hella.pdc.kth.se>
499 * afskrb5.c: add homedir support
501 Sun Sep 6 20:16:27 1998 Assar Westerlund <assar@sics.se>
503 * add new functionality for specifying the homedir to krb_afslog
506 Thu Jul 16 01:27:19 1998 Assar Westerlund <assar@sics.se>
508 * afssys.c: reorganize order of definitions.
509 (try_one, try_two): conditionalize
511 Thu Jul 9 18:31:52 1998 Johan Danielsson <joda@emma.pdc.kth.se>
513 * common.c (realm_of_cell): make the dns fallback work
515 Wed Jul 8 01:39:44 1998 Assar Westerlund <assar@sics.se>
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
521 Tue Jun 30 17:19:00 1998 Assar Westerlund <assar@sics.se>
523 * afssys.c: rewrite and add support for environment variable
526 * Makefile.in (distclean): don't remove roken_rename.h
528 Fri May 29 19:03:20 1998 Assar Westerlund <assar@sics.se>
530 * Makefile.in (roken_rename.h): remove dependency
532 Mon May 25 05:25:54 1998 Assar Westerlund <assar@sics.se>
534 * Makefile.in (clean): try to remove shared library debris
536 Sun Apr 19 09:58:40 1998 Assar Westerlund <assar@sics.se>
538 * Makefile.in: add symlink magic for linux
540 Sat Apr 4 15:08:48 1998 Assar Westerlund <assar@sics.se>
542 * kafs.h: add arla paths
544 * common.c (_kafs_afslog_all_local_cells): Try _PATH_ARLA_*
545 (_realm_of_cell): Try _PATH_ARLA_CELLSERVDB
547 Thu Feb 19 14:50:22 1998 Johan Danielsson <joda@emma.pdc.kth.se>
549 * common.c: Don't store expired tokens (this broke when using
550 pag-less rsh-sessions, and `non-standard' ticket files).
552 Thu Feb 12 11:20:15 1998 Johan Danielsson <joda@emma.pdc.kth.se>
554 * Makefile.in: Install/uninstall one library at a time.
556 Thu Feb 12 05:38:58 1998 Assar Westerlund <assar@sics.se>
558 * Makefile.in (install): one library at a time.
560 Mon Feb 9 23:40:32 1998 Assar Westerlund <assar@sics.se>
562 * common.c (find_cells): ignore empty lines
564 Tue Jan 6 04:25:58 1998 Assar Westerlund <assar@sics.se>
566 * afssysdefs.h (AFS_SYSCALL): add FreeBSD
568 Fri Jan 2 17:08:24 1998 Assar Westerlund <assar@sics.se>
570 * kafs.h: new VICEIOCTL's. From <rb@stacken.kth.se>
572 * afssysdefs.h: Add OpenBSD