/crypto/heimdal/lib/kafs/ChangeLog

https://bitbucket.org/freebsd/freebsd-head/ · #! · 572 lines · 334 code · 238 blank · 0 comment · 0 complexity · 990e1302d7f286b00d62237f4320d0e7 MD5 · raw file

  1. 2008-07-17 Love Hörnquist Åstrand <lha@it.su.se>
  2. * common.c: Try afs/cell@REALM before afs@REALM since that is what
  3. OpenAFS folks have been saying is best pratices for some time
  4. now. Patch from Derrick Brashear.
  5. 2008-04-15 Love Hörnquist Åstrand <lha@it.su.se>
  6. * afssys.c: Avoid using entry points depending on _IOWR if there
  7. is no _IOWR (on cygwin).
  8. 2007-07-10 Love Hörnquist Åstrand <lha@it.su.se>
  9. * Makefile.am: New library version.
  10. 2007-05-10 Love Hörnquist Åstrand <lha@it.su.se>
  11. * kafs.h: Add VIOCSETTOK2
  12. 2006-10-21 Love Hörnquist Åstrand <lha@it.su.se>
  13. * Makefile.am: unbreak previous
  14. * Makefile.am: split dist and nodist sources
  15. 2006-10-20 Love Hörnquist Åstrand <lha@it.su.se>
  16. * Makefile.am: add more files
  17. 2006-05-01 Love Hörnquist Åstrand <lha@it.su.se>
  18. * kafs.3: Spelling, from Björn Sandell.
  19. 2006-04-11 Love Hörnquist Åstrand <lha@it.su.se>
  20. * afssys.c: use afs_ioctlnum, From Tomas Olsson <tol@it.su.se>
  21. 2006-04-10 Love Hörnquist Åstrand <lha@it.su.se>
  22. * afssys.c: Try harder to get the pioctl to work via the /proc or
  23. /dev interface, OpenAFS choose to reuse the same ioctl number,
  24. while Arla didn't. Also, try new ioctl before the the old
  25. syscalls.
  26. * afskrb5.c (afslog_uid_int): use the simpler
  27. krb5_principal_get_realm function.
  28. 2005-12-21 Love Hörnquist Åstrand <lha@it.su.se>
  29. * Makefile.am: Remove dependency on config.h, breaks IRIX build,
  30. could depend on libkafs_la_OBJECTS, but that is just asking for
  31. trubble.
  32. 2005-10-20 Love Hörnquist Åstrand <lha@it.su.se>
  33. * afssys.c (k_hasafs_recheck): new function, allow rechecking if
  34. AFS client have started now, internaly it resets the internal
  35. state from k_hasafs() and retry retry the probing. The problem
  36. with calling k_hasaf() is that is plays around with signals, and
  37. that cases problem for some systems/applications.
  38. 2005-10-02 Love Hörnquist Åstrand <lha@it.su.se>
  39. * kafs_locl.h: Maybe include <sys/sysctl.h>.
  40. * afssys.c: Mac OS X 10.4 needs a runtime check if we are going to
  41. use the syscall, there is no cpp define to use to check the
  42. version. Every after 10.0 (darwin 8.0) uses the /dev/ version of
  43. the pioctl.
  44. 2005-10-01 Love Hörnquist Åstrand <lha@it.su.se>
  45. * afssys.c: Support the new MacOS X 10.4 ioctl interface that is a
  46. device node. Patched from Tomas Olson <tol@it.su.se>.
  47. 2005-08-26 Love Hörnquist Åstrand <lha@it.su.se>
  48. * afskrb5.c: Default to use 2b tokens.
  49. 2005-06-17 Love Hörnquist Åstrand <lha@it.su.se>
  50. * common.c: rename index to idx
  51. * afssys.c (k_afs_cell_of_file): unconst path
  52. 2005-06-02 Love Hörnquist Åstrand <lha@it.su.se>
  53. * use struct kafs_data everywhere, don't mix with the typedef
  54. kafs_data
  55. * roken_rename.h: rename more resolve.c symbols
  56. * afssys.c: Don't building map_syscall_name_to_number where its
  57. not used.
  58. 2005-02-24 Love Hörnquist Åstrand <lha@it.su.se>
  59. * Makefile.am: bump version to 4:1:4
  60. 2005-02-03 Love Hörnquist Åstrand <lha@it.su.se>
  61. * kafs.h: de-__P
  62. 2004-12-06 Love Hörnquist Åstrand <lha@it.su.se>
  63. * afskrb5.c: s/KEYTYPE_DES/ETYPE_DES_CBC_CRC/
  64. 2004-08-09 Love Hörnquist Åstrand <lha@it.su.se>
  65. * afssysdefs.h: ifdef protect AFS_SYSCALL for DragonFly since they
  66. still define __FreeBSD__ (and __FreeBSD_version), but claim that
  67. they will stop doing it some time...
  68. * afssysdefs.h: dragonflybsd uses 339 just like freebsd5
  69. 2004-06-22 Love Hörnquist Åstrand <lha@it.su.se>
  70. * afssys.c: s/arla/nnpfs/
  71. * afssys.c: support the linux /proc/fs/mumel/afs_ioctl afs
  72. "syscall" interface
  73. 2004-01-22 Love Hörnquist Åstrand <lha@it.su.se>
  74. * common.c: search paths for AFS configuration files for the
  75. OpenAFS MacOS X, fix comment
  76. * kafs.h: search paths for AFS configuration files for the OpenAFS
  77. MacOS X
  78. 2003-12-02 Love Hörnquist Åstrand <lha@it.su.se>
  79. * common.c: add _PATH_ARLA_OPENBSD & c/o
  80. * kafs.h: add _PATH_ARLA_OPENBSD & c/o
  81. 2003-11-14 Love Hörnquist Åstrand <lha@it.su.se>
  82. * common.c: typo, Bruno Rohee <bruno@rohee.com>
  83. 2003-11-08 Love Hörnquist Åstrand <lha@it.su.se>
  84. * kafs.3: spelling, partly from jmc <jmc@prioris.mini.pw.edu.pl>
  85. 2003-09-30 Love Hörnquist Åstrand <lha@it.su.se>
  86. * afskrb5.c (krb5_afslog_uid_home): be even more friendly to the
  87. user and fetch context and id ourself
  88. 2003-09-23 Love Hörnquist Åstrand <lha@it.su.se>
  89. * afskrb5.c (afslog_uid_int): just belive that realm hint the user
  90. passed us
  91. 2003-07-23 Love Hörnquist Åstrand <lha@it.su.se>
  92. * Makefile.am: always include v4 symbols
  93. * afskrb.c: provide dummy krb_ function to there is no need to
  94. bump major
  95. 2003-06-22 Love Hörnquist Åstrand <lha@it.su.se>
  96. * afskrb5.c (v5_convert): rename one of the two c to cred4
  97. 2003-04-23 Love Hörnquist Åstrand <lha@it.su.se>
  98. * common.c, kafs.h: drop the int argument (the error code) from
  99. the logging function
  100. 2003-04-22 Johan Danielsson <joda@pdc.kth.se>
  101. * afskrb5.c (v5_convert): better match what other functions do
  102. with values from krb5.conf, like case insensitivity
  103. 2003-04-16 Love Hörnquist Åstrand <lha@it.su.se>
  104. * kafs.3: Change .Fd #include <header.h> to .In header.h
  105. from Thomas Klausner <wiz@netbsd.org>
  106. 2003-04-14 Love Hörnquist Åstrand <lha@it.su.se>
  107. * Makefile.am: (libkafs_la_LDFLAGS): update version
  108. * Makefile.am (ROKEN_SRCS): drop strupr.c
  109. * kafs.3: document kafs_set_verbose
  110. * common.c (kafs_set_verbose): add function that (re)sets the
  111. logging function
  112. (_kafs_try_get_cred): add function that does (krb_data->get_cred) to
  113. make logging easier (that is now done in this function)
  114. (*): use _kafs_try_get_cred
  115. * afskrb5.c (get_cred): handle that inst can be the empty string too
  116. (v5_convert): use _kafs_foldup
  117. (krb5_afslog_uid_home): set name
  118. (krb5_afslog_uid_home): ditto
  119. * afskrb.c (krb_afslog_uid_home): set name
  120. (krb_afslog_uid_home): ditto
  121. * kafs_locl.h (kafs_data): add name
  122. (_kafs_foldup): internally export
  123. 2003-04-11 Love Hörnquist Åstrand <lha@it.su.se>
  124. * kafs.3: tell that cell-name is uppercased
  125. * Makefile.am: add INCLUDE_krb4 when using krb4, add INCLUDE_des
  126. when using krb5, add strupr.c
  127. * afskrb5.c: Check the cell part of the name, not the realm part
  128. when checking if 2b should be used. The reson is afs@REALM might
  129. have updated their servers but not afs/cell@REALM. Add constant
  130. KAFS_RXKAD_2B_KVNO.
  131. 2003-04-06 Love Hörnquist Åstrand <lha@it.su.se>
  132. * kafs.3: s/kerberos/Kerberos/
  133. 2003-03-19 Love Hörnquist Åstrand <lha@it.su.se>
  134. * kafs.3: spelling, from <jmc@prioris.mini.pw.edu.pl>
  135. * kafs.3: document the kafs_settoken functions write about the
  136. krb5_appdefault option for kerberos 5 afs tokens fix prototypes
  137. 2003-03-18 Love Hörnquist Åstrand <lha@it.su.se>
  138. * afskrb5.c (kafs_settoken5): change signature to include a
  139. krb5_context, use v5_convert
  140. (v5_convert): new function, converts a krb5_ccreds to a kafs_token in
  141. three diffrent ways, not at all, local 524/2b, and using 524
  142. (v5_to_kt): add code to do local 524/2b
  143. (get_cred): use v5_convert
  144. * kafs.h (kafs_settoken5): change signature to include a
  145. krb5_context
  146. * Makefile.am: always build the libkafs library now that the
  147. kerberos 5 can stand on their own
  148. * kafs.3: expose the krb5 functions
  149. * common.c (kafs_settoken_rxkad): move all content kerberos
  150. version from kafs_settoken to kafs_settoken_rxkad
  151. (_kafs_fixup_viceid): move the fixup the timestamp to make client
  152. happy code here.
  153. (_kafs_v4_to_kt): move all the kerberos 4 dependant parts from
  154. kafs_settoken here.
  155. (*): adapt to kafs_token
  156. * afskrb5.c (kafs_settoken5): new function, inserts a krb5_creds
  157. into kernel
  158. (v5_to_kt): new function, stores a krb5_creds in struct kafs_token
  159. (get_cred): add a appdefault boolean ("libkafs", realm, "afs-use-524")
  160. that can used to toggle if there should v5 token should be used
  161. directly or converted via 524 first.
  162. * afskrb.c: move kafs_settoken here, use struct kafs_token
  163. * kafs_locl.h: include krb5-v4compat.h if needed, define an
  164. internal structure struct kafs_token that carries around for rxkad
  165. data that is independant of kerberos version
  166. 2003-02-18 Love Hörnquist Åstrand <lha@it.su.se>
  167. * dlfcn.h: s/intialize/initialize, from
  168. <jmc@prioris.mini.pw.edu.pl>
  169. 2003-02-08 Assar Westerlund <assar@kth.se>
  170. * afssysdefs.h: fix FreeBSD section
  171. 2003-02-06 Love Hörnquist Åstrand <lha@it.su.se>
  172. * afssysdefs.h: use syscall 208 on openbsd (all version) use
  173. syscall 339 on freebsd 5.0 and later, use 210 on 4.x and earlier
  174. 2002-08-28 Johan Danielsson <joda@pdc.kth.se>
  175. * kafs.3: move around sections (from NetBSD)
  176. 2002-05-31 Assar Westerlund <assar@pdc.kth.se>
  177. * common.c: remove the trial of afs@REALM for cell != realm, it
  178. tries to use the wrong key for foreign cells
  179. 2002-05-20 Johan Danielsson <joda@pdc.kth.se>
  180. * Makefile.am: version number
  181. 2002-04-18 Johan Danielsson <joda@pdc.kth.se>
  182. * common.c (find_cells): make file parameter const
  183. 2001-11-01 Assar Westerlund <assar@sics.se>
  184. * add strsep, and bump version to 3:3:3
  185. 2001-10-27 Assar Westerlund <assar@sics.se>
  186. * Makefile.am (libkafs_la_LDFLAGS): set version to 3:2:3
  187. 2001-10-24 Assar Westerlund <assar@sics.se>
  188. * afskrb.c (afslog_uid_int): handle krb_get_tf_fullname that
  189. cannot take NULLs
  190. (such as the MIT one)
  191. 2001-10-22 Assar Westerlund <assar@sics.se>
  192. * Makefile.am (ROKEN_SRCS): add strlcpy.c
  193. 2001-10-09 Assar Westerlund <assar@sics.se>
  194. * Makefile.am (ROKEN_SRCS): add strtok_r.c
  195. * roken_rename.h (dns_srv_order): rename correctly
  196. (strtok_r): add renaming
  197. 2001-09-10 Assar Westerlund <assar@sics.se>
  198. * kafs.h, common.c: look for configuration files in /etc/arla (the
  199. location in debian's arla package)
  200. 2001-08-26 Assar Westerlund <assar@sics.se>
  201. * Makefile.am: handle both krb5 and krb4 cases
  202. 2001-07-19 Assar Westerlund <assar@sics.se>
  203. * Makefile.am (libkafs_la_LDFLAGS): set version to 3:0:3
  204. 2001-07-12 Assar Westerlund <assar@sics.se>
  205. * common.c: look in /etc/openafs for debian openafs
  206. * kafs.h: add paths for openafs debian (/etc/openafs)
  207. * Makefile.am: add required library dependencies
  208. 2001-07-03 Assar Westerlund <assar@sics.se>
  209. * Makefile.am (libkafs_la_LDFLAGS): set versoin to 2:4:2
  210. 2001-06-19 Assar Westerlund <assar@sics.se>
  211. * common.c (_kafs_realm_of_cell): changed to first try exact match
  212. in CellServDB, then exact match in DNS, and finally in-exact match
  213. in CellServDB
  214. 2001-05-18 Johan Danielsson <joda@pdc.kth.se>
  215. * Makefile.am: only build resolve.c if doing renaming
  216. 2001-02-12 Assar Westerlund <assar@sics.se>
  217. * Makefile.am, roken_rename.h: add rename of dns functions
  218. 2000-12-11 Assar Westerlund <assar@sics.se>
  219. * Makefile.am (libkafs_la_LDFLAGS): set version to 2:3:2
  220. 2000-11-17 Assar Westerlund <assar@sics.se>
  221. * afssysdefs.h: solaris 8 apperently uses 65
  222. 2000-09-19 Assar Westerlund <assar@sics.se>
  223. * Makefile.am (libkafs_la_LDFLAGS): bump version to 2:2:2
  224. 2000-09-12 Johan Danielsson <joda@pdc.kth.se>
  225. * dlfcn.c: correct arguments to some snprintf:s
  226. 2000-07-25 Johan Danielsson <joda@pdc.kth.se>
  227. * Makefile.am: bump version to 2:1:2
  228. 2000-04-03 Assar Westerlund <assar@sics.se>
  229. * Makefile.am: set version to 2:0:2
  230. 2000-03-20 Assar Westerlund <assar@sics.se>
  231. * afssysdefs.h: make versions later than 5.7 of solaris also use
  232. 73
  233. 2000-03-16 Assar Westerlund <assar@sics.se>
  234. * afskrb.c (afslog_uid_int): use krb_get_tf_fullname instead of
  235. krb_get_default_principal
  236. 2000-03-15 Assar Westerlund <assar@sics.se>
  237. * afssys.c (map_syscall_name_to_number): ignore # at
  238. beginning-of-line
  239. 2000-03-13 Assar Westerlund <assar@sics.se>
  240. * afssysdefs.h: add 230 for MacOS X per information from
  241. <warner.c@apple.com>
  242. 1999-12-06 Assar Westerlund <assar@sics.se>
  243. * Makefile.am: set version to 1:2:1
  244. 1999-11-22 Assar Westerlund <assar@sics.se>
  245. * afskrb5.c (afslog_uid_int): handle d->realm == NULL
  246. 1999-11-17 Assar Westerlund <assar@sics.se>
  247. * afskrb5.c (afslog_uid_int): don't look at the local realm at
  248. all. just use the realm from the ticket file.
  249. 1999-10-20 Assar Westerlund <assar@sics.se>
  250. * Makefile.am: set version to 1:1:1
  251. * afskrb5.c (get_cred): always request a DES key
  252. Mon Oct 18 17:40:21 1999 Bjoern Groenvall <bg@mummel.sics.se>
  253. * common.c (find_cells): Trim trailing whitespace from
  254. cellname. Lines starting with # are regarded as comments.
  255. Fri Oct 8 18:17:22 1999 Bjoern Groenvall <bg@mummel.sics.se>
  256. * afskrb.c, common.c : Change code to make a clear distinction
  257. between hinted realm and ticket realm.
  258. * kafs_locl.h: Added argument realm_hint.
  259. * common.c (_kafs_get_cred): Change code to acquire the ``best''
  260. possible ticket. Use cross-cell authentication only as method of
  261. last resort.
  262. * afskrb.c (afslog_uid_int): Add realm_hint argument and extract
  263. realm from ticket file.
  264. * afskrb5.c (afslog_uid_int): Added argument realm_hint.
  265. 1999-10-03 Assar Westerlund <assar@sics.se>
  266. * afskrb5.c (get_cred): update to new krb524_convert_creds_kdc
  267. 1999-08-12 Johan Danielsson <joda@pdc.kth.se>
  268. * Makefile.am: ignore the comlicated aix construct if !krb4
  269. 1999-07-26 Assar Westerlund <assar@sics.se>
  270. * Makefile.am: set version to 1:0:1
  271. 1999-07-22 Assar Westerlund <assar@sics.se>
  272. * afssysdefs.h: define AFS_SYSCALL to 73 for Solaris 2.7
  273. 1999-07-07 Assar Westerlund <assar@sics.se>
  274. * afskrb5.c (krb5_realm_of_cell): new function
  275. * afskrb.c (krb_realm_of_cell): new function
  276. (afslog_uid_int): call krb_get_lrealm correctly
  277. 1999-06-15 Assar Westerlund <assar@sics.se>
  278. * common.c (realm_of_cell): rename to _kafs_realm_of_cell and
  279. un-staticize
  280. Fri Mar 19 14:52:29 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  281. * Makefile.am: add version-info
  282. Thu Mar 18 11:24:02 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  283. * Makefile.am: include Makefile.am.common
  284. Sat Feb 27 19:46:21 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  285. * Makefile.am: remove EXTRA_DATA (as of autoconf 2.13/automake
  286. 1.4)
  287. Thu Feb 11 22:57:37 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  288. * Makefile.am: set AIX_SRC also if !AIX
  289. Tue Dec 1 14:45:15 1998 Johan Danielsson <joda@hella.pdc.kth.se>
  290. * Makefile.am: fix AIX linkage
  291. Sun Nov 22 10:40:44 1998 Assar Westerlund <assar@sics.se>
  292. * Makefile.in (WFLAGS): set
  293. Sat Nov 21 16:55:19 1998 Johan Danielsson <joda@hella.pdc.kth.se>
  294. * afskrb5.c: add homedir support
  295. Sun Sep 6 20:16:27 1998 Assar Westerlund <assar@sics.se>
  296. * add new functionality for specifying the homedir to krb_afslog
  297. et al
  298. Thu Jul 16 01:27:19 1998 Assar Westerlund <assar@sics.se>
  299. * afssys.c: reorganize order of definitions.
  300. (try_one, try_two): conditionalize
  301. Thu Jul 9 18:31:52 1998 Johan Danielsson <joda@emma.pdc.kth.se>
  302. * common.c (realm_of_cell): make the dns fallback work
  303. Wed Jul 8 01:39:44 1998 Assar Westerlund <assar@sics.se>
  304. * afssys.c (map_syscall_name_to_number): new function for finding
  305. the number of a syscall given the name on solaris
  306. (k_hasafs): try using map_syscall_name_to_number
  307. Tue Jun 30 17:19:00 1998 Assar Westerlund <assar@sics.se>
  308. * afssys.c: rewrite and add support for environment variable
  309. AFS_SYSCALL
  310. * Makefile.in (distclean): don't remove roken_rename.h
  311. Fri May 29 19:03:20 1998 Assar Westerlund <assar@sics.se>
  312. * Makefile.in (roken_rename.h): remove dependency
  313. Mon May 25 05:25:54 1998 Assar Westerlund <assar@sics.se>
  314. * Makefile.in (clean): try to remove shared library debris
  315. Sun Apr 19 09:58:40 1998 Assar Westerlund <assar@sics.se>
  316. * Makefile.in: add symlink magic for linux
  317. Sat Apr 4 15:08:48 1998 Assar Westerlund <assar@sics.se>
  318. * kafs.h: add arla paths
  319. * common.c (_kafs_afslog_all_local_cells): Try _PATH_ARLA_*
  320. (_realm_of_cell): Try _PATH_ARLA_CELLSERVDB
  321. Thu Feb 19 14:50:22 1998 Johan Danielsson <joda@emma.pdc.kth.se>
  322. * common.c: Don't store expired tokens (this broke when using
  323. pag-less rsh-sessions, and `non-standard' ticket files).
  324. Thu Feb 12 11:20:15 1998 Johan Danielsson <joda@emma.pdc.kth.se>
  325. * Makefile.in: Install/uninstall one library at a time.
  326. Thu Feb 12 05:38:58 1998 Assar Westerlund <assar@sics.se>
  327. * Makefile.in (install): one library at a time.
  328. Mon Feb 9 23:40:32 1998 Assar Westerlund <assar@sics.se>
  329. * common.c (find_cells): ignore empty lines
  330. Tue Jan 6 04:25:58 1998 Assar Westerlund <assar@sics.se>
  331. * afssysdefs.h (AFS_SYSCALL): add FreeBSD
  332. Fri Jan 2 17:08:24 1998 Assar Westerlund <assar@sics.se>
  333. * kafs.h: new VICEIOCTL's. From <rb@stacken.kth.se>
  334. * afssysdefs.h: Add OpenBSD