PageRenderTime 69ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/crypto/heimdal/ChangeLog.1999

https://bitbucket.org/freebsd/freebsd-head/
Unknown | 2194 lines | 1313 code | 881 blank | 0 comment | 0 complexity | 7049c6291fca799d4eeaae8447e21b64 MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, BSD-3-Clause, LGPL-2.0, LGPL-2.1, BSD-2-Clause, 0BSD, JSON, AGPL-1.0, GPL-2.0
  1. 1999-12-30 Assar Westerlund <assar@sics.se>
  2. * configure.in (krb4): use `-ldes' in tests
  3. 1999-12-26 Assar Westerlund <assar@sics.se>
  4. * lib/hdb/print.c (event2string): handle events without principal.
  5. From Luke Howard <lukeh@PADL.COM>
  6. 1999-12-25 Assar Westerlund <assar@sics.se>
  7. * Release 0.2j
  8. Tue Dec 21 18:03:17 1999 Assar Westerlund <assar@sics.se>
  9. * lib/hdb/Makefile.am (asn1_files): add $(EXEEXT) for cygwin and
  10. related systems
  11. * lib/asn1/Makefile.am (asn1_files): add $(EXEEXT) for cygwin and
  12. related systems
  13. * include/Makefile.am (krb5-types.h): add $(EXEEXT) for cygwin and
  14. related systems
  15. 1999-12-20 Assar Westerlund <assar@sics.se>
  16. * Release 0.2i
  17. 1999-12-20 Assar Westerlund <assar@sics.se>
  18. * lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): bump version to 6:3:1
  19. * lib/krb5/send_to_kdc.c (send_via_proxy): free data
  20. * lib/krb5/send_to_kdc.c (send_via_proxy): new function use
  21. getaddrinfo instead of gethostbyname{,2}
  22. * lib/krb5/get_for_creds.c: use getaddrinfo instead of
  23. getnodebyname{,2}
  24. 1999-12-17 Assar Westerlund <assar@sics.se>
  25. * Release 0.2h
  26. 1999-12-17 Assar Westerlund <assar@sics.se>
  27. * Release 0.2g
  28. 1999-12-16 Assar Westerlund <assar@sics.se>
  29. * lib/krb5/Makefile.am: bump version to 6:2:1
  30. * lib/krb5/principal.c (krb5_sname_to_principal): handle
  31. ai_canonname not being set
  32. * lib/krb5/expand_hostname.c (krb5_expand_hostname): handle
  33. ai_canonname not being set
  34. * appl/test/uu_server.c: print messages to stderr
  35. * appl/test/tcp_server.c: print messages to stderr
  36. * appl/test/nt_gss_server.c: print messages to stderr
  37. * appl/test/gssapi_server.c: print messages to stderr
  38. * appl/test/tcp_client.c (proto): remove shadowing `context'
  39. * appl/test/common.c (client_doit): add forgotten ntohs
  40. 1999-12-13 Assar Westerlund <assar@sics.se>
  41. * configure.in (VERISON): bump to 0.2g-pre
  42. 1999-12-12 Assar Westerlund <assar@sics.se>
  43. * lib/krb5/principal.c (krb5_425_conv_principal_ext): be more
  44. robust and handle extra dot at the beginning of default_domain
  45. 1999-12-12 Assar Westerlund <assar@sics.se>
  46. * Release 0.2f
  47. 1999-12-12 Assar Westerlund <assar@sics.se>
  48. * lib/krb5/Makefile.am: bump version to 6:1:1
  49. * lib/krb5/changepw.c (get_kdc_address): use
  50. `krb5_get_krb_changepw_hst'
  51. * lib/krb5/krbhst.c (krb5_get_krb_changepw_hst): add
  52. * lib/krb5/get_host_realm.c: add support for _kerberos.domain
  53. (according to draft-ietf-cat-krb-dns-locate-01.txt)
  54. 1999-12-06 Assar Westerlund <assar@sics.se>
  55. * Release 0.2e
  56. 1999-12-06 Assar Westerlund <assar@sics.se>
  57. * lib/krb5/changepw.c (krb5_change_password): use the correct
  58. address
  59. * lib/krb5/Makefile.am: bump version to 6:0:1
  60. * lib/asn1/Makefile.am: bump version to 1:4:0
  61. 1999-12-04 Assar Westerlund <assar@sics.se>
  62. * configure.in: move AC_KRB_IPv6 to make sure it's performed
  63. before AC_BROKEN
  64. (el_init): use new feature of AC_FIND_FUNC_NO_LIBS
  65. * appl/test/uu_client.c: use client_doit
  66. * appl/test/test_locl.h (client_doit): add prototype
  67. * appl/test/tcp_client.c: use client_doit
  68. * appl/test/nt_gss_client.c: use client_doit
  69. * appl/test/gssapi_client.c: use client_doit
  70. * appl/test/common.c (client_doit): move identical code here and
  71. start using getaddrinfo
  72. * appl/kf/kf.c (doit): rewrite to use getaddrinfo
  73. * kdc/hprop.c: re-write to use getaddrinfo
  74. * lib/krb5/principal.c (krb5_sname_to_principal): use getaddrinfo
  75. * lib/krb5/expand_hostname.c (krb5_expand_hostname): use
  76. getaddrinfo
  77. * lib/krb5/changepw.c: re-write to use getaddrinfo
  78. * lib/krb5/addr_families.c (krb5_parse_address): use getaddrinfo
  79. 1999-12-03 Assar Westerlund <assar@sics.se>
  80. * configure.in (BROKEN): check for freeaddrinfo, getaddrinfo,
  81. getnameinfo, gai_strerror
  82. (socklen_t): check for
  83. 1999-12-02 Johan Danielsson <joda@pdc.kth.se>
  84. * lib/krb5/crypto.c: ARCFOUR_set_key -> RC4_set_key
  85. 1999-11-23 Assar Westerlund <assar@sics.se>
  86. * lib/krb5/crypto.c (ARCFOUR_string_to_key): change order of bytes
  87. within unicode characters. this should probably be done in some
  88. arbitrarly complex way to do it properly and you would have to
  89. know what character encoding was used for the password and salt
  90. string.
  91. * lib/krb5/addr_families.c (ipv4_uninteresting): ignore 0.0.0.0
  92. (INADDR_ANY)
  93. (ipv6_uninteresting): remove unused macro
  94. 1999-11-22 Johan Danielsson <joda@pdc.kth.se>
  95. * lib/krb5/krb5.h: rc4->arcfour
  96. * lib/krb5/crypto.c: rc4->arcfour
  97. 1999-11-17 Assar Westerlund <assar@sics.se>
  98. * lib/krb5/krb5_locl.h: add <rc4.h>
  99. * lib/krb5/krb5.h (krb5_keytype): add KEYTYPE_RC4
  100. * lib/krb5/crypto.c: some code for doing RC4/MD5/HMAC which might
  101. not be totally different from some small company up in the
  102. north-west corner of the US
  103. * lib/krb5/get_addrs.c (find_all_addresses): change code to
  104. actually increment buf_size
  105. 1999-11-14 Assar Westerlund <assar@sics.se>
  106. * lib/krb5/krb5.h (krb5_context_data): add `scan_interfaces'
  107. * lib/krb5/get_addrs.c (krb5_get_all_client_addrs): make interaces
  108. scanning optional
  109. * lib/krb5/context.c (init_context_from_config_file): set
  110. `scan_interfaces'
  111. * lib/krb5/Makefile.am (libkrb5_la_SOURCES): add add_et_list.c
  112. * lib/krb5/add_et_list.c (krb5_add_et_list): new function
  113. 1999-11-12 Assar Westerlund <assar@sics.se>
  114. * lib/krb5/get_default_realm.c (krb5_get_default_realm,
  115. krb5_get_default_realms): set realms if they were unset
  116. * lib/krb5/context.c (init_context_from_config_file): don't
  117. initialize default realms here. it's done lazily instead.
  118. * lib/krb5/krb5.h (KRB5_TC_*): make constants unsigned
  119. * lib/asn1/gen_glue.c (generate_2int, generate_units): make sure
  120. bit constants are unsigned
  121. * lib/asn1/gen.c (define_type): make length in sequences be
  122. unsigned.
  123. * configure.in: remove duplicate test for setsockopt test for
  124. struct tm.tm_isdst
  125. * lib/krb5/get_in_tkt.c (krb5_get_in_cred): generate
  126. preauthentication information if we get back ERR_PREAUTH_REQUIRED
  127. * lib/krb5/init_creds_pw.c (krb5_get_init_creds_password): remove
  128. preauthentication generation code. it's now in krb5_get_in_cred
  129. * configure.in (AC_BROKEN_SNPRINTF): add strptime check for struct
  130. tm.tm_gmtoff and timezone
  131. 1999-11-11 Johan Danielsson <joda@pdc.kth.se>
  132. * kdc/main.c: make this work with multi-db
  133. * kdc/kdc_locl.h: make this work with multi-db
  134. * kdc/config.c: make this work with multi-db
  135. 1999-11-09 Johan Danielsson <joda@pdc.kth.se>
  136. * kdc/misc.c: update for multi-database code
  137. * kdc/main.c: update for multi-database code
  138. * kdc/kdc_locl.h: update
  139. * kdc/config.c: allow us to have more than one database
  140. 1999-11-04 Assar Westerlund <assar@sics.se>
  141. * Release 0.2d
  142. * lib/krb5/Makefile.am: bump version to 5:0:0 to be safe
  143. (krb5_context_data has changed and some code do (might) access
  144. fields directly)
  145. * lib/krb5/krb5.h (krb5_context_data): add `etypes_des'
  146. * lib/krb5/get_cred.c (init_tgs_req): use
  147. krb5_keytype_to_enctypes_default
  148. * lib/krb5/crypto.c (krb5_keytype_to_enctypes_default): new
  149. function
  150. * lib/krb5/context.c (set_etypes): new function
  151. (init_context_from_config_file): set both `etypes' and `etypes_des'
  152. 1999-11-02 Assar Westerlund <assar@sics.se>
  153. * configure.in (VERSION): bump to 0.2d-pre
  154. 1999-10-29 Assar Westerlund <assar@sics.se>
  155. * lib/krb5/principal.c (krb5_parse_name): check memory allocations
  156. 1999-10-28 Assar Westerlund <assar@sics.se>
  157. * Release 0.2c
  158. * lib/krb5/dump_config.c (print_tree): check for empty tree
  159. * lib/krb5/string-to-key-test.c (tests): update the test cases
  160. with empty principals so that they actually use an empty realm and
  161. not the default. use the correct etype for 3DES
  162. * lib/krb5/Makefile.am: bump version to 4:1:0
  163. * kdc/config.c (configure): more careful with the port string
  164. 1999-10-26 Assar Westerlund <assar@sics.se>
  165. * Release 0.2b
  166. 1999-10-20 Assar Westerlund <assar@sics.se>
  167. * lib/krb5/Makefile.am: bump version to 4:0:0
  168. (krb524_convert_creds_kdc and potentially some other functions
  169. have changed prototypes)
  170. * lib/hdb/Makefile.am: bump version to 4:0:1
  171. * lib/asn1/Makefile.am: bump version to 1:3:0
  172. * configure.in (LIB_roken): add dbopen. getcap in roken
  173. references dbopen and with shared libraries we need to add this
  174. dependency.
  175. * lib/krb5/verify_krb5_conf.c (main): support speicifying the
  176. configuration file to test on the command line
  177. * lib/krb5/config_file.c (parse_binding): handle line with no
  178. whitespace before =
  179. (krb5_config_parse_file_debug): set lineno earlier so that we don't
  180. use it unitialized
  181. * configure.in (AM_INIT_AUTOMAKE): bump to 0.2b-pre opt*: need
  182. more include files for these tests
  183. * lib/krb5/set_default_realm.c (krb5_set_default_realm): use
  184. krb5_config_get_strings, which means that your configuration file
  185. should look like:
  186. [libdefaults]
  187. default_realm = realm1 realm2 realm3
  188. * lib/krb5/set_default_realm.c (config_binding_to_list): fix
  189. copy-o. From Michal Vocu <michal@karlin.mff.cuni.cz>
  190. * kdc/config.c (configure): add a missing strdup. From Michal
  191. Vocu <michal@karlin.mff.cuni.cz>
  192. 1999-10-17 Assar Westerlund <assar@sics.se>
  193. * Release 0.2a
  194. * configure.in: only test for db.h with using berkeley_db. remember
  195. to link with LIB_tgetent when checking for el_init. add xnlock
  196. * appl/Makefile.am: add xnlock
  197. * kdc/kerberos5.c (find_etype): support null keys
  198. * kdc/kerberos4.c (get_des_key): support null keys
  199. * lib/krb5/crypto.c (krb5_get_wrapped_length): more correct
  200. calculation
  201. 1999-10-16 Johan Danielsson <joda@pdc.kth.se>
  202. * kuser/kinit.c (main): pass ccache to krb524_convert_creds_kdc
  203. 1999-10-12 Johan Danielsson <joda@pdc.kth.se>
  204. * lib/krb5/crypto.c (krb5_enctype_to_keytype): remove warning
  205. 1999-10-10 Assar Westerlund <assar@sics.se>
  206. * lib/krb5/mk_req.c (krb5_mk_req): use krb5_free_host_realm
  207. * lib/krb5/krb5.h (krb5_ccache_data): make `ops' const
  208. * lib/krb5/crypto.c (krb5_string_to_salttype): new function
  209. * **/*.[ch]: const-ize
  210. 1999-10-06 Assar Westerlund <assar@sics.se>
  211. * lib/krb5/creds.c (krb5_compare_creds): const-ify
  212. * lib/krb5/cache.c: clean-up and comment-up
  213. * lib/krb5/copy_host_realm.c (krb5_copy_host_realm): copy all the
  214. strings
  215. * lib/krb5/verify_user.c (krb5_verify_user_lrealm): free the
  216. correct realm part
  217. * kdc/connect.c (handle_tcp): things work much better when ret is
  218. initialized
  219. 1999-10-03 Assar Westerlund <assar@sics.se>
  220. * lib/krb5/convert_creds.c (krb524_convert_creds_kdc): look at the
  221. type of the session key
  222. * lib/krb5/crypto.c (krb5_enctypes_compatible_keys): spell
  223. correctly
  224. * lib/krb5/creds.c (krb5_compare_creds): fix spelling of
  225. krb5_enctypes_compatible_keys
  226. * lib/krb5/convert_creds.c (krb524_convert_creds_kdc): get new
  227. credentials from the KDC if the existing one doesn't have a DES
  228. session key.
  229. * lib/45/get_ad_tkt.c (get_ad_tkt): update to new
  230. krb524_convert_creds_kdc
  231. 1999-10-03 Johan Danielsson <joda@pdc.kth.se>
  232. * lib/krb5/keytab_keyfile.c: make krb5_akf_ops const
  233. * lib/krb5/keytab_memory.c: make krb5_mkt_ops const
  234. * lib/krb5/keytab_file.c: make krb5_fkt_ops const
  235. 1999-10-01 Assar Westerlund <assar@sics.se>
  236. * lib/krb5/config_file.c: rewritten to allow error messages
  237. * lib/krb5/Makefile.am (bin_PROGRAMS): add verify_krb5_conf
  238. (libkrb5_la_SOURCES): add config_file_netinfo.c
  239. * lib/krb5/verify_krb5_conf.c: new program for verifying that
  240. krb5.conf is corret
  241. * lib/krb5/config_file_netinfo.c: moved netinfo code here from
  242. config_file.c
  243. 1999-09-28 Assar Westerlund <assar@sics.se>
  244. * kdc/hpropd.c (dump_krb4): kludge default_realm
  245. * lib/asn1/check-der.c: add test cases for Generalized time and
  246. make sure we return the correct value
  247. * lib/asn1/der_put.c: simplify by using der_put_length_and_tag
  248. * lib/krb5/verify_user.c (krb5_verify_user_lrealm): ariant of
  249. krb5_verify_user that tries in all the local realms
  250. * lib/krb5/set_default_realm.c: add support for having several
  251. default realms
  252. * lib/krb5/kuserok.c (krb5_kuserok): use `krb5_get_default_realms'
  253. * lib/krb5/get_default_realm.c (krb5_get_default_realms): add
  254. * lib/krb5/krb5.h (krb5_context_data): change `default_realm' to
  255. `default_realms'
  256. * lib/krb5/context.c: change from `default_realm' to
  257. `default_realms'
  258. * lib/krb5/aname_to_localname.c (krb5_aname_to_localname): use
  259. krb5_get_default_realms
  260. * lib/krb5/Makefile.am (libkrb5_la_SOURCES): add copy_host_realm.c
  261. * lib/krb5/copy_host_realm.c: new file
  262. 1999-09-27 Johan Danielsson <joda@pdc.kth.se>
  263. * lib/asn1/der_put.c (encode_generalized_time): encode length
  264. * lib/krb5/recvauth.c: new function `krb5_recvauth_match_version'
  265. that allows more intelligent matching of the application version
  266. 1999-09-26 Assar Westerlund <assar@sics.se>
  267. * lib/asn1/asn1_print.c: add err.h
  268. * kdc/config.c (configure): use parse_bytes
  269. * appl/test/nt_gss_common.c: use the correct header file
  270. 1999-09-24 Johan Danielsson <joda@pdc.kth.se>
  271. * kuser/klist.c: add a `--cache' flag
  272. * kuser/kinit.c (main): only get default value for `get_v4_tgt' if
  273. it's explicitly set in krb5.conf
  274. 1999-09-23 Assar Westerlund <assar@sics.se>
  275. * lib/asn1/asn1_print.c (tag_names); add another univeral tag
  276. * lib/asn1/der.h: update universal tags
  277. 1999-09-22 Assar Westerlund <assar@sics.se>
  278. * lib/asn1/asn1_print.c (loop): print length of octet string
  279. 1999-09-21 Johan Danielsson <joda@pdc.kth.se>
  280. * admin/ktutil.c (kt_get): add `--help'
  281. 1999-09-21 Assar Westerlund <assar@sics.se>
  282. * kuser/Makefile.am: add kdecode_ticket
  283. * kuser/kdecode_ticket.c: new debug program
  284. * appl/test/nt_gss_server.c: new program to test against `Sample *
  285. SSPI Code' in Windows 2000 RC1 SDK.
  286. * appl/test/Makefile.am: add nt_gss_client and nt_gss_server
  287. * lib/asn1/der_get.c (decode_general_string): remember to advance
  288. ret over the length-len
  289. * lib/asn1/Makefile.am: add asn1_print
  290. * lib/asn1/asn1_print.c: new program for printing DER-structures
  291. * lib/asn1/der_put.c: make functions more consistent
  292. * lib/asn1/der_get.c: make functions more consistent
  293. 1999-09-20 Johan Danielsson <joda@pdc.kth.se>
  294. * kdc/kerberos5.c: be more informative in pa-data error messages
  295. 1999-09-16 Assar Westerlund <assar@sics.se>
  296. * configure.in: test for strlcpy, strlcat
  297. 1999-09-14 Assar Westerlund <assar@sics.se>
  298. * lib/krb5/init_creds_pw.c (krb5_get_init_creds_password): return
  299. KRB5_LIBOS_PWDINTR when interrupted
  300. * lib/krb5/get_in_tkt_pw.c (krb5_password_key_proc): check return
  301. value from des_read_pw_string
  302. * kuser/kinit.c (main): don't print any error if reading the
  303. password was interrupted
  304. * kpasswd/kpasswd.c (main): don't print any error if reading the
  305. password was interrupted
  306. * kdc/string2key.c (main): check the return value from fgets
  307. * kdc/kstash.c (main): check return value from des_read_pw_string
  308. * admin/ktutil.c (kt_add): check the return-value from fgets and
  309. overwrite the password for paranoid reasons
  310. * lib/krb5/keytab_keyfile.c (get_cell_and_realm): only remove the
  311. newline if it's there
  312. 1999-09-13 Assar Westerlund <assar@sics.se>
  313. * kdc/hpropd.c (main): remove bogus error with `--print'. remove
  314. sysloging of number of principals transferred
  315. * kdc/hprop.c (ka_convert): set flags correctly for krbtgt/CELL
  316. principals
  317. (main): get rid of bogus opening of hdb database when propagating
  318. ka-server database
  319. 1999-09-12 Assar Westerlund <assar@sics.se>
  320. * lib/krb5/krb5_locl.h (O_BINARY): add fallback definition
  321. * lib/krb5/krb5.h (krb5_context_data): add keytab types
  322. * configure.in: revert back awk test, not worked around in
  323. roken.awk
  324. * lib/krb5/keytab_krb4.c: remove O_BINARY
  325. * lib/krb5/keytab_keyfile.c: some support for AFS KeyFile's. From
  326. Love <lha@e.kth.se>
  327. * lib/krb5/keytab_file.c: remove O_BINARY
  328. * lib/krb5/keytab.c: move the list of keytab types to the context
  329. * lib/krb5/fcache.c: remove O_BINARY
  330. * lib/krb5/context.c (init_context_from_config_file): register all
  331. standard cache and keytab types
  332. (krb5_free_context): free `kt_types'
  333. * lib/krb5/cache.c (krb5_cc_resolve): move the registration of the
  334. standard types of credential caches to context
  335. * lib/krb5/Makefile.am (libkrb5_la_SOURCES): add keytab_keyfile.c
  336. 1999-09-10 Assar Westerlund <assar@sics.se>
  337. * lib/krb5/keytab.c: add comments and clean-up
  338. * admin/ktutil.c: add `ktutil copy'
  339. * lib/krb5/keytab_krb4.c: new file
  340. * lib/krb5/krb5.h (krb5_kt_cursor): add a `data' field
  341. * lib/krb5/Makefile.am: add keytab_krb4.c
  342. * lib/krb5/keytab.c: add krb4 and correct some if's
  343. * admin/srvconvert.c (srvconv): move common code
  344. * lib/krb5/krb5.h (krb5_fkt_ops, krb5_mkt_ops): new variables
  345. * lib/krb5/keytab.c: move out file and memory functions
  346. * lib/krb5/Makefile.am (libkrb5_la_SOURCES): add keytab_file.c,
  347. keytab_memory.c
  348. * lib/krb5/keytab_memory.c: new file
  349. * lib/krb5/keytab_file.c: new file
  350. * kpasswd/kpasswdd.c: move out password quality functions
  351. 1999-09-07 Assar Westerlund <assar@sics.se>
  352. * lib/hdb/Makefile.am (libhdb_la_SOURCES): add keytab.c. From
  353. Love <lha@e.kth.se>
  354. * lib/krb5/convert_creds.c (krb524_convert_creds_kdc): check
  355. return value from `krb5_sendto_kdc'
  356. 1999-09-06 Assar Westerlund <assar@sics.se>
  357. * lib/krb5/send_to_kdc.c (send_and_recv): rename to recv_loop and
  358. remove the sending of data. add a parameter `limit'. let callers
  359. send the date themselves (and preferably with net_write on tcp
  360. sockets)
  361. (send_and_recv_tcp): read first the length field and then only that
  362. many bytes
  363. 1999-09-05 Assar Westerlund <assar@sics.se>
  364. * kdc/connect.c (handle_tcp): try to print warning `TCP data of
  365. strange type' less often
  366. * lib/krb5/send_to_kdc.c (send_and_recv): handle EINTR properly.
  367. return on EOF. always free data. check return value from
  368. realloc.
  369. (send_and_recv_tcp, send_and_recv_http): check advertised length
  370. against actual length
  371. 1999-09-01 Johan Danielsson <joda@pdc.kth.se>
  372. * configure.in: check for sgi capabilities
  373. 1999-08-27 Johan Danielsson <joda@pdc.kth.se>
  374. * lib/krb5/get_addrs.c: krb5_get_all_server_addrs shouldn't return
  375. extra addresses
  376. * kpasswd/kpasswdd.c: use HDB keytabs; change some error messages;
  377. add --realm flag
  378. * lib/krb5/address.c (krb5_append_addresses): remove duplicates
  379. 1999-08-26 Johan Danielsson <joda@pdc.kth.se>
  380. * lib/hdb/keytab.c: HDB keytab backend
  381. 1999-08-25 Johan Danielsson <joda@pdc.kth.se>
  382. * lib/krb5/keytab.c
  383. (krb5_kt_{start_seq_get,next_entry,end_seq_get}): check for NULL
  384. pointer
  385. 1999-08-24 Johan Danielsson <joda@pdc.kth.se>
  386. * kpasswd/kpasswdd.c: add `--keytab' flag
  387. 1999-08-23 Assar Westerlund <assar@sics.se>
  388. * lib/krb5/addr_families.c (IN6_ADDR_V6_TO_V4): use `s6_addr'
  389. instead of the non-standard `s6_addr32'. From Yoshinobu Inoue
  390. <shin@kame.net> by way of the KAME repository
  391. 1999-08-18 Assar Westerlund <assar@sics.se>
  392. * configure.in (--enable-new-des3-code): remove check for `struct
  393. addrinfo'
  394. * lib/krb5/crypto.c (etypes): remove NEW_DES3_CODE, enable
  395. des3-cbc-sha1 and keep old-des3-cbc-sha1 for backwards
  396. compatability
  397. * lib/krb5/krb5.h (krb5_enctype): des3-cbc-sha1 (with key
  398. derivation) just got assigned etype 16 by <bcn@isi.edu>. keep the
  399. old etype at 7.
  400. 1999-08-16 Assar Westerlund <assar@sics.se>
  401. * lib/krb5/sendauth.c (krb5_sendauth): only look at errno if
  402. krb5_net_read actually returns -1
  403. * lib/krb5/recvauth.c (krb5_recvauth): only look at errno if
  404. krb5_net_read actually returns -1
  405. * appl/kf/kf.c (proto): don't trust errno if krb5_net_read hasn't
  406. returned -1
  407. * appl/test/tcp_server.c (proto): only trust errno if
  408. krb5_net_read actually returns -1
  409. * appl/kf/kfd.c (proto): be more careful with the return value
  410. from krb5_net_read
  411. 1999-08-13 Assar Westerlund <assar@sics.se>
  412. * lib/krb5/get_addrs.c (get_addrs_int): try the different ways
  413. sequentially instead of just one. this helps if your heimdal was
  414. built with v6-support but your kernel doesn't have it, for
  415. example.
  416. 1999-08-12 Assar Westerlund <assar@sics.se>
  417. * kdc/hpropd.c: add inetd flag. default means try to figure out
  418. if stdin is a socket or not.
  419. * Makefile.am (ACLOCAL): just use `cf', this variable is only used
  420. when the current directory is $(top_srcdir) anyways and having
  421. $(top_srcdir) there breaks if it's a relative path
  422. 1999-08-09 Johan Danielsson <joda@pdc.kth.se>
  423. * configure.in: check for setproctitle
  424. 1999-08-05 Assar Westerlund <assar@sics.se>
  425. * lib/krb5/principal.c (krb5_sname_to_principal): remember to call
  426. freehostent
  427. * appl/test/tcp_client.c: call freehostent
  428. * appl/kf/kf.c (doit): call freehostent
  429. * appl/kf/kf.c: make v6 friendly and simplify
  430. * appl/kf/kfd.c: make v6 friendly and simplify
  431. * appl/test/tcp_server.c: simplify by using krb5_err instead of
  432. errx
  433. * appl/test/tcp_client.c: simplify by using krb5_err instead of
  434. errx
  435. * appl/test/tcp_server.c: make v6 friendly and simplify
  436. * appl/test/tcp_client.c: make v6 friendly and simplify
  437. 1999-08-04 Assar Westerlund <assar@sics.se>
  438. * Release 0.1m
  439. 1999-08-04 Assar Westerlund <assar@sics.se>
  440. * kuser/kinit.c (main): some more KRB4-conditionalizing
  441. * lib/krb5/get_in_tkt.c: type correctness
  442. * lib/krb5/get_for_creds.c (krb5_fwd_tgs_creds): set forwarded in
  443. flags. From Miroslav Ruda <ruda@ics.muni.cz>
  444. * kuser/kinit.c (main): add config file support for forwardable
  445. and krb4 support. From Miroslav Ruda <ruda@ics.muni.cz>
  446. * kdc/kerberos5.c (as_rep): add an empty X500-compress string as
  447. transited.
  448. (fix_transited_encoding): check length.
  449. From Miroslav Ruda <ruda@ics.muni.cz>
  450. * kdc/hpropd.c (dump_krb4): check the realm so that we don't dump
  451. principals in some other realm. From Miroslav Ruda
  452. <ruda@ics.muni.cz>
  453. (main): rename sa_len -> sin_len, sa_lan is a define on some
  454. platforms.
  455. * appl/kf/kfd.c: add regpag support. From Miroslav Ruda
  456. <ruda@ics.muni.cz>
  457. * appl/kf/kf.c: add `-G' and forwardable option in krb5.conf.
  458. From Miroslav Ruda <ruda@ics.muni.cz>
  459. * lib/krb5/config_file.c (parse_list): don't run past end of line
  460. * appl/test/gss_common.h: new prototypes
  461. * appl/test/gssapi_client.c: use gss_err instead of abort
  462. * appl/test/gss_common.c (gss_verr, gss_err): add
  463. 1999-08-03 Assar Westerlund <assar@sics.se>
  464. * lib/krb5/Makefile.am (n_fold_test_LDADD): need to set this
  465. otherwise it doesn't build with shared libraries
  466. * kdc/hpropd.c: v6-ify
  467. * kdc/hprop.c: v6-ify
  468. 1999-08-01 Assar Westerlund <assar@sics.se>
  469. * lib/krb5/mk_req.c (krb5_mk_req): use krb5_expand_hostname
  470. 1999-07-31 Assar Westerlund <assar@sics.se>
  471. * lib/krb5/get_host_realm.c (krb5_get_host_realm_int): new
  472. function that takes a FQDN
  473. * lib/krb5/Makefile.am (libkrb5_la_SOURCES): add exapnd_hostname.c
  474. * lib/krb5/expand_hostname.c: new file
  475. 1999-07-28 Assar Westerlund <assar@sics.se>
  476. * Release 0.1l
  477. 1999-07-28 Assar Westerlund <assar@sics.se>
  478. * lib/asn1/Makefile.am: bump version to 1:2:0
  479. * lib/krb5/Makefile.am: bump version to 3:1:0
  480. * configure.in: more inet_pton to roken
  481. * lib/krb5/principal.c (krb5_sname_to_principal): use
  482. getipnodebyname
  483. 1999-07-26 Assar Westerlund <assar@sics.se>
  484. * Release 0.1k
  485. 1999-07-26 Johan Danielsson <joda@pdc.kth.se>
  486. * lib/krb5/Makefile.am: bump version number (changed function
  487. signatures)
  488. * lib/hdb/Makefile.am: bump version number (changes to some
  489. function signatures)
  490. 1999-07-26 Assar Westerlund <assar@sics.se>
  491. * lib/krb5/Makefile.am: bump version to 3:0:2
  492. * lib/hdb/Makefile.am: bump version to 2:1:0
  493. * lib/asn1/Makefile.am: bump version to 1:1:0
  494. 1999-07-26 Assar Westerlund <assar@sics.se>
  495. * Release 0.1j
  496. 1999-07-26 Assar Westerlund <assar@sics.se>
  497. * configure.in: rokenize inet_ntop
  498. * lib/krb5/store_fd.c: lots of changes from size_t to ssize_t
  499. * lib/krb5/store_mem.c: lots of changes from size_t to ssize_t
  500. * lib/krb5/store_emem.c: lots of changes from size_t to ssize_t
  501. * lib/krb5/store.c: lots of changes from size_t to ssize_t
  502. (krb5_ret_stringz): check return value from realloc
  503. * lib/krb5/mk_safe.c: some type correctness
  504. * lib/krb5/mk_priv.c: some type correctness
  505. * lib/krb5/krb5.h (krb5_storage): change return values of
  506. functions from size_t to ssize_t
  507. 1999-07-24 Assar Westerlund <assar@sics.se>
  508. * Release 0.1i
  509. * configure.in (AC_PROG_AWK): disable. mawk seems to mishandle \#
  510. in lib/roken/roken.awk
  511. * lib/krb5/get_addrs.c (find_all_addresses): try to use SA_LEN to
  512. step over addresses if there's no `sa_lan' field
  513. * lib/krb5/sock_principal.c (krb5_sock_to_principal): simplify by
  514. using `struct sockaddr_storage'
  515. * lib/krb5/send_to_kdc.c (krb5_sendto_kdc): simplify by using
  516. `struct sockaddr_storage'
  517. * lib/krb5/changepw.c (krb5_change_password): simplify by using
  518. `struct sockaddr_storage'
  519. * lib/krb5/auth_context.c (krb5_auth_con_setaddrs_from_fd):
  520. simplify by using `struct sockaddr_storage'
  521. * kpasswd/kpasswdd.c (*): simplify by using `struct
  522. sockaddr_storage'
  523. * kdc/connect.c (*): simplify by using `struct sockaddr_storage'
  524. * configure.in (sa_family_t): just test for existence
  525. (sockaddr_storage): also specify include file
  526. * configure.in (AM_INIT_AUTOMAKE): bump version to 0.1i
  527. (sa_family_t): test for
  528. (struct sockaddr_storage): test for
  529. * kdc/hprop.c (propagate_database): typo, NULL should be
  530. auth_context
  531. * lib/krb5/get_addrs.c: conditionalize on HAVE_IPV6 instead of
  532. AF_INET6
  533. * appl/kf/kf.c (main): use warnx
  534. * appl/kf/kf.c (proto): remove shadowing context
  535. * lib/krb5/get_addrs.c (find_all_addresses): try to handle the
  536. case of getting back an `sockaddr_in6' address when sizeof(struct
  537. sockaddr_in6) > sizeof(struct sockaddr) and we have no sa_len to
  538. tell us how large the address is. This obviously doesn't work
  539. with unknown protocol types.
  540. 1999-07-24 Assar Westerlund <assar@sics.se>
  541. * Release 0.1h
  542. 1999-07-23 Assar Westerlund <assar@sics.se>
  543. * appl/kf/kfd.c: clean-up and more paranoia
  544. * etc/services.append: add kf
  545. * appl/kf/kf.c: rename tk_file to ccache for consistency. clean-up
  546. 1999-07-22 Assar Westerlund <assar@sics.se>
  547. * lib/krb5/n-fold-test.c (main): print the correct data
  548. * appl/Makefile.am (SUBDIRS): add kf
  549. * appl/kf: new program. From Miroslav Ruda <ruda@ics.muni.cz>
  550. * kdc/hprop.c: declare some variables unconditionally to simplify
  551. things
  552. * kpasswd/kpasswdd.c: initialize kadm5 connection for every change
  553. (otherwise the modifier in the database doesn't get set)
  554. * kdc/hpropd.c: clean-up and re-organize
  555. * kdc/hprop.c: clean-up and re-organize
  556. * configure.in (SunOS): define to xy for SunOS x.y
  557. 1999-07-19 Assar Westerlund <assar@sics.se>
  558. * configure.in (AC_BROKEN): test for copyhostent, freehostent,
  559. getipnodebyaddr, getipnodebyname
  560. 1999-07-15 Assar Westerlund <assar@sics.se>
  561. * lib/asn1/check-der.c: more test cases for integers
  562. * lib/asn1/der_length.c (length_int): handle the case of the
  563. largest negative integer by not calling abs
  564. 1999-07-14 Assar Westerlund <assar@sics.se>
  565. * lib/asn1/check-der.c (generic_test): check malloc return value
  566. properly
  567. * lib/krb5/Makefile.am: add string_to_key_test
  568. * lib/krb5/prog_setup.c (krb5_program_setup): always initialize
  569. the context
  570. * lib/krb5/n-fold-test.c (main): return a relevant return value
  571. * lib/krb5/krbhst.c: do SRV lookups for admin server as well.
  572. some clean-up.
  573. 1999-07-12 Assar Westerlund <assar@sics.se>
  574. * configure.in: handle not building X programs
  575. 1999-07-06 Assar Westerlund <assar@sics.se>
  576. * lib/krb5/addr_families.c (ipv6_parse_addr): remove duplicate
  577. variable
  578. (ipv6_sockaddr2port): fix typo
  579. * etc/services.append: beginning of a file with services
  580. * lib/krb5/cache.c (krb5_cc_resolve): fall-back to files if
  581. there's no prefix. also clean-up a little bit.
  582. * kdc/hprop.c (--kaspecials): new flag for handling special KA
  583. server entries. From "Brandon S. Allbery KF8NH"
  584. <allbery@kf8nh.apk.net>
  585. 1999-07-05 Assar Westerlund <assar@sics.se>
  586. * kdc/connect.c (handle_tcp): make sure we have data before
  587. starting to look for HTTP
  588. * kdc/connect.c (handle_tcp): always do getpeername, we can't
  589. trust recvfrom to return anything sensible
  590. 1999-07-04 Assar Westerlund <assar@sics.se>
  591. * lib/krb5/get_in_tkt.c (add_padat): encrypt pre-auth data with
  592. all enctypes
  593. * kpasswd/kpasswdd.c (change): fetch the salt-type from the entry
  594. * admin/srvconvert.c (srvconv): better error messages
  595. 1999-07-03 Assar Westerlund <assar@sics.se>
  596. * lib/krb5/principal.c (unparse_name): error check malloc properly
  597. * lib/krb5/get_in_tkt.c (krb5_init_etype): error check malloc
  598. properly
  599. * lib/krb5/crypto.c (*): do some malloc return-value checks
  600. properly
  601. * lib/hdb/hdb.c (hdb_process_master_key): simplify by using
  602. krb5_data_alloc
  603. * lib/hdb/hdb.c (hdb_process_master_key): check return value from
  604. malloc
  605. * lib/asn1/gen_decode.c (decode_type): fix generation of decoding
  606. information for TSequenceOf.
  607. * kdc/kerberos5.c (get_pa_etype_info): check return value from
  608. malloc
  609. 1999-07-02 Assar Westerlund <assar@sics.se>
  610. * lib/asn1/der_copy.c (copy_octet_string): don't fail if length ==
  611. 0 and malloc returns NULL
  612. 1999-06-29 Assar Westerlund <assar@sics.se>
  613. * lib/krb5/addr_families.c (ipv6_parse_addr): implement
  614. 1999-06-24 Assar Westerlund <assar@sics.se>
  615. * lib/krb5/rd_cred.c (krb5_rd_cred): compare the sender's address
  616. as an addrport one
  617. * lib/krb5/krb5.h (KRB5_ADDRESS_ADDRPORT, KRB5_ADDRESS_IPPORT):
  618. add
  619. (krb5_auth_context): add local and remote port
  620. * lib/krb5/get_for_creds.c (krb5_get_forwarded_creds): get the
  621. local and remote address and add them to the krb-cred packet
  622. * lib/krb5/auth_context.c: save the local and remove ports in the
  623. auth_context
  624. * lib/krb5/address.c (krb5_make_addrport): create an address of
  625. type KRB5_ADDRESS_ADDRPORT from (addr, port)
  626. * lib/krb5/addr_families.c (krb5_sockaddr2port): new function for
  627. grabbing the port number out of the sockaddr
  628. 1999-06-23 Assar Westerlund <assar@sics.se>
  629. * admin/srvcreate.c (srvcreate): always take the DES-CBC-MD5 key.
  630. increase possible verbosity.
  631. * lib/krb5/config_file.c (parse_list): handle blank lines at
  632. another place
  633. * kdc/connect.c (add_port_string): don't return a value
  634. * lib/kadm5/init_c.c (get_cred_cache): you cannot reuse the cred
  635. cache if the principals are different. close and NULL the old one
  636. so that we create a new one.
  637. * configure.in: move around cgywin et al
  638. (LIB_kdb): set at the end of krb4-block
  639. (krb4): test for krb_enable_debug and krb_disable_debug
  640. 1999-06-16 Assar Westerlund <assar@sics.se>
  641. * kuser/kdestroy.c (main): try to destroy v4 ticket even if the
  642. destruction of the v5 one fails
  643. * lib/krb5/crypto.c (DES3_postproc): new version that does the
  644. right thing
  645. (*): don't put and recover length in 3DES encoding
  646. other small fixes
  647. 1999-06-15 Assar Westerlund <assar@sics.se>
  648. * lib/krb5/get_default_principal.c: rewrite to use
  649. get_default_username
  650. * lib/krb5/Makefile.am: add n-fold-test
  651. * kdc/connect.c: add fallbacks for all lookups by service name
  652. (handle_tcp): break-up and clean-up
  653. 1999-06-09 Assar Westerlund <assar@sics.se>
  654. * lib/krb5/addr_families.c (ipv6_uninteresting): don't consider
  655. the loopback address as uninteresting
  656. * lib/krb5/get_addrs.c: new magic flag to get loopback address if
  657. there are no other addresses.
  658. (krb5_get_all_client_addrs): use that flag
  659. 1999-06-04 Assar Westerlund <assar@sics.se>
  660. * lib/krb5/crypto.c (HMAC_SHA1_DES3_checksum): don't include the
  661. length
  662. (checksum_sha1, checksum_hmac_sha1_des3): blocksize should be 64
  663. (encrypt_internal_derived): don't include the length and don't
  664. decrease by the checksum size twice
  665. (_get_derived_key): the constant should be 5 bytes
  666. 1999-06-02 Johan Danielsson <joda@pdc.kth.se>
  667. * configure.in: use KRB_CHECK_X
  668. * configure.in: check for netinet/ip.h
  669. 1999-05-31 Assar Westerlund <assar@sics.se>
  670. * kpasswd/kpasswdd.c (setup_passwd_quality_check): conditionalize
  671. on RTLD_NOW
  672. 1999-05-23 Assar Westerlund <assar@sics.se>
  673. * appl/test/uu_server.c: removed unused stuff
  674. * appl/test/uu_client.c: removed unused stuff
  675. 1999-05-21 Assar Westerlund <assar@sics.se>
  676. * kuser/kgetcred.c (main): correct error message
  677. * lib/krb5/crypto.c (verify_checksum): call (*ct->checksum)
  678. directly, avoiding redundant lookups and memory leaks
  679. * lib/krb5/auth_context.c (krb5_auth_con_setaddrs_from_fd): free
  680. local and remote addresses
  681. * lib/krb5/get_default_principal.c (get_logname): also try
  682. $USERNAME
  683. * lib/asn1/Makefile.am (asn1_files): add $(EXEEXT)
  684. * lib/krb5/principal.c (USE_RESOLVER): try to define only if we
  685. have a libresolv (currently by checking for res_search)
  686. 1999-05-18 Johan Danielsson <joda@pdc.kth.se>
  687. * kdc/connect.c (handle_tcp): remove %-escapes in request
  688. 1999-05-14 Assar Westerlund <assar@sics.se>
  689. * Release 0.1g
  690. * admin/ktutil.c (kt_remove): -t should be -e
  691. * configure.in (CHECK_NETINET_IP_AND_TCP): use
  692. * kdc/hpropd.c: support for dumping to krb4. From Miroslav Ruda
  693. <ruda@ics.muni.cz>
  694. * admin/ktutil.c (kt_add): new option `--no-salt'. From Miroslav
  695. Ruda <ruda@ics.muni.cz>
  696. * configure.in: add cygwin and DOS tests replace sendmsg, recvmsg,
  697. and innetgr with roken versions
  698. * kuser/kgetcred.c: new program
  699. Tue May 11 14:09:33 1999 Johan Danielsson <joda@pdc.kth.se>
  700. * lib/krb5/mcache.c: fix paste-o
  701. 1999-05-10 Johan Danielsson <joda@pdc.kth.se>
  702. * configure.in: don't use uname
  703. 1999-05-10 Assar Westerlund <assar@sics.se>
  704. * acconfig.h (KRB_PUT_INT): if we don't have KRB4 use four
  705. arguments :-)
  706. * appl/test/uu_server.c (setsockopt): cast to get rid of a warning
  707. * appl/test/tcp_server.c (setsockopt): cast to get rid of a
  708. warning
  709. * appl/test/tcp_client.c (proto): call krb5_sendauth with ccache
  710. == NULL
  711. * appl/test/gssapi_server.c (setsockopt): cast to get rid of a
  712. warning
  713. * lib/krb5/sendauth.c (krb5_sendauth): handle ccache == NULL by
  714. setting the default ccache.
  715. * configure.in (getsockopt, setsockopt): test for
  716. (AM_INIT_AUTOMAKE): bump version to 0.1g
  717. * appl/Makefile.am (SUBDIRS): add kx
  718. * lib/hdb/convert_db.c (main): handle the case of no master key
  719. 1999-05-09 Assar Westerlund <assar@sics.se>
  720. * Release 0.1f
  721. * kuser/kinit.c: add --noaddresses
  722. * lib/krb5/get_in_tkt.c (init_as_req): interpret `addrs' being an
  723. empty sit of list as to not ask for any addresses.
  724. 1999-05-08 Assar Westerlund <assar@sics.se>
  725. * acconfig.h (_GNU_SOURCE): define this to enable (used)
  726. extensions on glibc-based systems such as linux
  727. 1999-05-03 Assar Westerlund <assar@sics.se>
  728. * lib/krb5/get_cred.c (get_cred_from_kdc_flags): allocate and free
  729. `*out_creds' properly
  730. * lib/krb5/creds.c (krb5_compare_creds): just verify that the
  731. keytypes/enctypes are compatible, not that they are the same
  732. * kuser/kdestroy.c (cache): const-correctness
  733. 1999-05-03 Johan Danielsson <joda@pdc.kth.se>
  734. * lib/hdb/hdb.c (hdb_set_master_key): initialise master key
  735. version
  736. * lib/hdb/convert_db.c: add support for upgrading database
  737. versions
  738. * kdc/misc.c: add flags to fetch
  739. * kdc/kstash.c: unlink keyfile on failure, chmod to 400
  740. * kdc/hpropd.c: add --print option
  741. * kdc/hprop.c: pass flags to hdb_foreach
  742. * lib/hdb/convert_db.c: add some flags
  743. * lib/hdb/Makefile.am: remove extra LDFLAGS, update version to 2;
  744. build prototype headers
  745. * lib/hdb/hdb_locl.h: update prototypes
  746. * lib/hdb/print.c: move printable version of entry from kadmin
  747. * lib/hdb/hdb.c: change hdb_{seal,unseal}_* to check if the key is
  748. sealed or not; add flags to hdb_foreach
  749. * lib/hdb/ndbm.c: add flags to NDBM_seq, NDBM_firstkey, and
  750. NDBM_nextkey
  751. * lib/hdb/db.c: add flags to DB_seq, DB_firstkey, and DB_nextkey
  752. * lib/hdb/common.c: add flags to _hdb_{fetch,store}
  753. * lib/hdb/hdb.h: add master_key_version to struct hdb, update
  754. prototypes
  755. * lib/hdb/hdb.asn1: make mkvno optional, update version to 2
  756. * configure.in: --enable-netinfo
  757. * lib/krb5/config_file.c: HAVE_NETINFO_NI_H -> HAVE_NETINFO
  758. * config.sub: fix for crays
  759. * config.guess: new version from automake 1.4
  760. * config.sub: new version from automake 1.4
  761. Wed Apr 28 00:21:17 1999 Assar Westerlund <assar@sics.se>
  762. * Release 0.1e
  763. * lib/krb5/mcache.c (mcc_get_next): get the current cursor
  764. correctly
  765. * acconfig.h: correct definition of KRB_PUT_INT for old krb4 code.
  766. From Ake Sandgren <ake@cs.umu.se>
  767. 1999-04-27 Johan Danielsson <joda@pdc.kth.se>
  768. * kdc/kerberos5.c: fix arguments to decrypt_ticket
  769. 1999-04-25 Assar Westerlund <assar@sics.se>
  770. * lib/krb5/mk_req_ext.c (krb5_mk_req_internal): try to handle old
  771. DCE secd's that are not able to handle MD5 checksums by defaulting
  772. to MD4 if the keytype was DES-CBC-CRC
  773. * lib/krb5/mk_req.c (krb5_mk_req): use auth_context->keytype
  774. * lib/krb5/krb5.h (krb5_auth_context_data): add `keytype' and
  775. `cksumtype'
  776. * lib/krb5/get_cred.c (make_pa_tgs_req): remove old kludge for
  777. secd
  778. (init_tgs_req): add all supported enctypes for the keytype in
  779. `in_creds->session.keytype' if it's set
  780. * lib/krb5/crypto.c (F_PSEUDO): new flag for non-protocol
  781. encryption types
  782. (do_checksum): new function
  783. (verify_checksum): take the checksum to use from the checksum message
  784. and not from the crypto struct
  785. (etypes): add F_PSEUDO flags
  786. (krb5_keytype_to_enctypes): new function
  787. * lib/krb5/auth_context.c (krb5_auth_con_init): initalize keytype
  788. and cksumtype
  789. (krb5_auth_setcksumtype, krb5_auth_getcksumtype): implement
  790. (krb5_auth_setkeytype, krb5_auth_getkeytype): implement
  791. (krb5_auth_setenctype): comment out, it's rather bogus anyway
  792. Sun Apr 25 16:55:50 1999 Johan Danielsson <joda@pdc.kth.se>
  793. * lib/krb5/krb5_locl.h: fix for stupid aix warnings
  794. * lib/krb5/fcache.c (erase_file): don't malloc
  795. Sat Apr 24 18:35:21 1999 Johan Danielsson <joda@pdc.kth.se>
  796. * kdc/config.c: pass context to krb5_config_file_free
  797. * kuser/kinit.c: add `--fcache-version' to set cache version to
  798. create
  799. * kuser/klist.c: print cache version if verbose
  800. * lib/krb5/transited.c (krb5_domain_x500_decode): don't abort
  801. * lib/krb5/principal.c: abort -> krb5_abortx
  802. * lib/krb5/mk_rep.c: abort -> krb5_abortx
  803. * lib/krb5/config_file.c: abort -> krb5_abortx
  804. * lib/krb5/context.c (init_context_from_config_file): init
  805. fcache_version; add krb5_{get,set}_fcache_version
  806. * lib/krb5/keytab.c: add support for reading (and writing?) old
  807. version keytabs
  808. * lib/krb5/cache.c: add krb5_cc_get_version
  809. * lib/krb5/fcache.c: add support for reading and writing old
  810. version cache files
  811. * lib/krb5/store_mem.c (krb5_storage_from_mem): zero flags
  812. * lib/krb5/store_emem.c (krb5_storage_emem): zero flags
  813. * lib/krb5/store_fd.c (krb5_storage_from_fd): zero flags
  814. * lib/krb5/store.c: add flags to change how various fields are
  815. stored, used for old cache version support
  816. * lib/krb5/krb5.h: add support for reading and writing old version
  817. cache files, and keytabs
  818. Wed Apr 21 00:09:26 1999 Assar Westerlund <assar@sics.se>
  819. * configure.in: fix test for readline.h remember to link with
  820. $LIB_tgetent when trying linking with readline
  821. * lib/krb5/init_creds_pw.c (get_init_creds_common): if start_time
  822. is given, request a postdated ticket.
  823. * lib/krb5/data.c (krb5_data_free): free data as long as it's not
  824. NULL
  825. Tue Apr 20 20:18:14 1999 Assar Westerlund <assar@sics.se>
  826. * kpasswd/Makefile.am (kpasswdd_LDADD): add LIB_dlopen
  827. * lib/krb5/krb5.h (KRB5_VERIFY_AP_REQ_IGNORE_INVALID): add
  828. * lib/krb5/rd_req.c (krb5_decrypt_ticket): add `flags` and
  829. KRB5_VERIFY_AP_REQ_IGNORE_INVALID for ignoring that the ticket is
  830. invalid
  831. Tue Apr 20 12:42:08 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  832. * kpasswd/kpasswdd.c: don't try to load library by default; get
  833. library and function name from krb5.conf
  834. * kpasswd/sample_passwd_check.c: sample password checking
  835. functions
  836. Mon Apr 19 22:22:19 1999 Assar Westerlund <assar@sics.se>
  837. * lib/krb5/store.c (krb5_storage_to_data, krb5_ret_data): use
  838. krb5_data_alloc and be careful with checking allocation and sizes.
  839. * kuser/klist.c (--tokens): conditionalize on KRB4
  840. * kuser/kinit.c (renew_validate): set all flags
  841. (main): fix cut-n-paste error when setting start-time
  842. * kdc/kerberos5.c (check_tgs_flags): starttime of a validate
  843. ticket should be > than current time
  844. (*): send flags to krb5_verify_ap_req and krb5_decrypt_ticket
  845. * kuser/kinit.c (renew_validate): use the client realm instead of
  846. the local realm when renewing tickets.
  847. * lib/krb5/get_for_creds.c (krb5_fwd_tgs_creds): compat function
  848. (krb5_get_forwarded_creds): correct freeing of out_creds
  849. * kuser/kinit.c (renew_validate): hopefully fix up freeing of
  850. memory
  851. * configure.in: do all the krb4 tests with "$krb4" != "no"
  852. * lib/krb5/keyblock.c (krb5_free_keyblock_contents): don't zero
  853. keyvalue if it's NULL. noticed by Ake Sandgren <ake@cs.umu.se>
  854. * lib/krb5/get_in_tkt.c (add_padata): loop over all enctypes
  855. instead of just taking the first one. fix all callers. From
  856. "Brandon S. Allbery KF8NH" <allbery@kf8nh.apk.net>
  857. * kdc/kdc_locl.h (enable_kaserver): declaration
  858. * kdc/hprop.c (ka_convert): print the failing principal. AFS 3.4a
  859. creates krbtgt.REALMOFCELL as NOTGS+NOSEAL, work around. From
  860. "Brandon S. Allbery KF8NH" <allbery@kf8nh.apk.net>
  861. * kdc/hpropd.c (open_socket): stupid cast to get rid of a warning
  862. * kdc/connect.c (add_standard_ports, process_request): look at
  863. enable_kaserver. From "Brandon S. Allbery KF8NH"
  864. <allbery@kf8nh.apk.net>
  865. * kdc/config.c: new flag --kaserver and config file option
  866. enable-kaserver. From "Brandon S. Allbery KF8NH"
  867. <allbery@kf8nh.apk.net>
  868. Mon Apr 19 12:32:04 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  869. * configure.in: check for dlopen, and dlfcn.h
  870. * kpasswd/kpasswdd.c: add support for dlopen:ing password quality
  871. check library
  872. * configure.in: add appl/su
  873. Sun Apr 18 15:46:53 1999 Johan Danielsson <joda@blubb.pdc.kth.se>
  874. * lib/krb5/cache.c: add krb5_cc_get_type that returns type of a
  875. cache
  876. Fri Apr 16 17:58:51 1999 Assar Westerlund <assar@sics.se>
  877. * configure.in: LIB_kdb: -L should be before -lkdb
  878. test for prototype of strsep
  879. Thu Apr 15 11:34:38 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  880. * lib/krb5/Makefile.am: update version
  881. * lib/krb5/get_for_creds.c (krb5_get_forwarded_creds): use
  882. ALLOC_SEQ
  883. * lib/krb5/fcache.c: add some support for reading and writing old
  884. cache formats;
  885. (fcc_store_cred): use krb5_store_creds; (fcc_read_cred): use
  886. krb5_ret_creds
  887. * lib/krb5/store_mem.c (krb5_storage_from_mem): check malloc,
  888. initialize host_byteorder
  889. * lib/krb5/store_fd.c (krb5_storage_from_fd): initialize
  890. host_byteorder
  891. * lib/krb5/store_emem.c (krb5_storage_emem): initialize
  892. host_byteorder
  893. * lib/krb5/store.c (krb5_storage_set_host_byteorder): add;
  894. (krb5_store_int32,krb5_ret_int32,krb5_store_int16,krb5_ret_int16):
  895. check host_byteorder flag; (krb5_store_creds): add;
  896. (krb5_ret_creds): add
  897. * lib/krb5/krb5.h (krb5_storage): add `host_byteorder' flag for
  898. storage of numbers
  899. * lib/krb5/heim_err.et: add `host not found' error
  900. * kdc/connect.c: don't use data after clearing decriptor
  901. * lib/krb5/auth_context.c: abort -> krb5_abortx
  902. * lib/krb5/warn.c: add __attribute__; add *abort functions
  903. * configure.in: check for __attribute__
  904. * kdc/connect.c: log bogus requests
  905. Tue Apr 13 18:38:05 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  906. * lib/kadm5/create_s.c (kadm5_s_create_principal): create v4 salts
  907. for all DES keys
  908. 1999-04-12 Assar Westerlund <assar@sics.se>
  909. * lib/krb5/get_cred.c (init_tgs_req): re-structure a little bit
  910. * lib/krb5/get_cred.c (init_tgs_req): some more error checking
  911. * lib/krb5/generate_subkey.c (krb5_generate_subkey): check return
  912. value from malloc
  913. Sun Apr 11 03:47:23 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  914. * lib/krb5/krb5.conf.5: update to reality
  915. * lib/krb5/krb5_425_conv_principal.3: update to reality
  916. 1999-04-11 Assar Westerlund <assar@sics.se>
  917. * lib/krb5/get_host_realm.c: handle more than one realm for a host
  918. * kpasswd/kpasswd.c (main): use krb5_program_setup and
  919. print_version
  920. * kdc/string2key.c (main): use krb5_program_setup and
  921. print_version
  922. Sun Apr 11 02:35:58 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  923. * lib/krb5/principal.c (krb5_524_conv_principal): make it actually
  924. work, and check built-in list of host-type first-components
  925. * lib/krb5/krbhst.c: lookup SRV-records to find a kdc for a realm
  926. * lib/krb5/context.c: add srv_* flags to context
  927. * lib/krb5/principal.c: add default v4_name_convert entries
  928. * lib/krb5/krb5.h: add srv_* flags to context
  929. Sat Apr 10 22:52:28 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  930. * kadmin/kadmin.c: complain about un-recognised commands
  931. * admin/ktutil.c: complain about un-recognised commands
  932. Sat Apr 10 15:41:49 1999 Assar Westerlund <assar@sics.se>
  933. * kadmin/load.c (doit): fix error message
  934. * lib/krb5/crypto.c (encrypt_internal): free checksum if lengths
  935. fail to match.
  936. (krb5_get_wrapped_length): new function
  937. * configure.in: security/pam_modules.h: check for
  938. * lib/krb5/init_creds_pw.c (krb5_get_init_creds_password): kludge
  939. around `ret_as_reply' semantics by only freeing it when ret == 0
  940. Fri Apr 9 20:24:04 1999 Assar Westerlund <assar@sics.se>
  941. * kuser/klist.c (print_cred_verbose): handle the case of a bad
  942. enctype
  943. * configure.in: test for more header files
  944. (LIB_roken): set
  945. Thu Apr 8 15:01:59 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  946. * configure.in: fixes for building w/o krb4
  947. * ltmain.sh: update to libtool 1.2d
  948. * ltconfig: update to libtool 1.2d
  949. Wed Apr 7 23:37:26 1999 Assar Westerlund <assar@sics.se>
  950. * kdc/hpropd.c: fix some error messages to be more understandable.
  951. * kdc/hprop.c (ka_dump): remove unused variables
  952. * appl/test/tcp_server.c: remove unused variables
  953. * appl/test/gssapi_server.c: remove unused variables
  954. * appl/test/gssapi_client.c: remove unused variables
  955. Wed Apr 7 14:05:15 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  956. * lib/krb5/context.c (krb5_get_err_text): long -> krb5_error_code
  957. * kuser/klist.c: make it compile w/o krb4
  958. * kuser/kdestroy.c: make it compile w/o krb4
  959. * admin/ktutil.c: fix {srv,key}2{srv,key}tab confusion; add help
  960. strings
  961. Mon Apr 5 16:13:46 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  962. * configure.in: test for MIPS ABI; new test_package
  963. Thu Apr 1 11:00:40 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  964. * include/Makefile.am: clean krb5-private.h
  965. * Release 0.1d
  966. * kpasswd/kpasswdd.c (doit): pass context to
  967. krb5_get_all_client_addrs
  968. * kdc/connect.c (init_sockets): pass context to
  969. krb5_get_all_server_addrs
  970. * lib/krb5/get_in_tkt.c (init_as_req): pass context to
  971. krb5_get_all_client_addrs
  972. * lib/krb5/get_cred.c (get_cred_kdc_la): pass context to
  973. krb5_get_all_client_addrs
  974. * lib/krb5/get_addrs.c (get_addrs_int): add extra host addresses
  975. * lib/krb5/krb5.h: add support for adding an extra set of
  976. addresses
  977. * lib/krb5/context.c: add support for adding an extra set of
  978. addresses
  979. * lib/krb5/addr_families.c: add krb5_parse_address
  980. * lib/krb5/address.c: krb5_append_addresses
  981. * lib/krb5/config_file.c (parse_binding): don't zap everything
  982. after first whitespace
  983. * kuser/kinit.c (renew_validate): don't allocate out
  984. * lib/krb5/get_for_creds.c (krb5_get_forwarded_creds): don't
  985. allocate out_creds
  986. * lib/krb5/get_cred.c (get_cred_kdc, get_cred_kdc_la): make
  987. out_creds pointer;
  988. (krb5_get_kdc_cred): allocate out_creds; (get_cred_from_kdc_flags):
  989. free more memory
  990. * lib/krb5/crypto.c (encrypt_internal): free checksum
  991. * lib/krb5/convert_creds.c (krb524_convert_creds_kdc): free reply,
  992. and ticket
  993. * kuser/Makefile.am: remove kfoo
  994. * lib/Makefile.am: add auth
  995. * lib/kadm5/iprop.h: getarg.h
  996. * lib/kadm5/replay_log.c: use getarg
  997. * lib/kadm5/ipropd_slave.c: use getarg
  998. * lib/kadm5/ipropd_master.c: use getarg
  999. * lib/kadm5/dump_log.c: use getarg
  1000. * kpasswd/kpasswdd.c: use getarg
  1001. * Makefile.am.common: make a more working check-local target
  1002. * lib/asn1/main.c: use getargs
  1003. Mon Mar 29 20:19:57 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1004. * kuser/klist.c (print_cred_verbose): use krb5_print_address
  1005. * lib/kadm5/server.c: k_{put,get}_int -> _krb5_{put,get}_int
  1006. * lib/krb5/addr_families.c (krb5_print_address): handle unknown
  1007. address types; (ipv6_print_addr): print in 16-bit groups (as it
  1008. should)
  1009. * lib/krb5/crc.c: crc_{init_table,update} ->
  1010. _krb5_crc_{init_table,update}
  1011. * lib/krb5/crypto.c: k_{put,get}_int -> _krb5_{put,get}_int
  1012. crc_{init_table,update} -> _krb5_crc_{init_table,update}
  1013. * lib/krb5/send_to_kdc.c: k_{put,get}_int -> _krb5_{put,get}_int
  1014. * lib/krb5/store.c: k_{put,get}_int -> _krb5_{put,get}_int
  1015. * lib/krb5/krb5_locl.h: include krb5-private.h
  1016. * kdc/connect.c (addr_to_string): use krb5_print_address
  1017. * lib/krb5/addr_families.c (krb5_print_address): int -> size_t
  1018. * lib/krb5/addr_families.c: add support for printing ipv6
  1019. addresses, either with inet_ntop, or ugly for-loop
  1020. * kdc/524.c: check that the ticket came from a valid address; use
  1021. the address of the connection as the address to put in the v4
  1022. ticket (if this address is AF_INET)
  1023. * kdc/connect.c: pass addr to do_524
  1024. * kdc/kdc_locl.h: prototype for do_524
  1025. Sat Mar 27 17:48:31 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1026. * configure.in: check for OSF C2; bind/bitypes.h, getudbnam,
  1027. setlim; check for auth modules; siad.h, getpwnam_r;
  1028. lib/auth/Makefile, lib/auth/sia/Makefile
  1029. * lib/krb5/crypto.c: n_fold -> _krb5_n_fold
  1030. * lib/krb5/n-fold.c: n_fold -> _krb5_n_fold
  1031. Thu Mar 25 04:35:21 1999 Assar Westerlund <assar@sics.se>
  1032. * lib/kadm5/set_keys.c (_kadm5_set_keys): free salt when zapping
  1033. it
  1034. * lib/kadm5/free.c (kadm5_free_principal_ent): free `key_data'
  1035. * lib/hdb/ndbm.c (NDBM_destroy): clear master key
  1036. * lib/hdb/db.c (DB_destroy): clear master key
  1037. (DB_open): check malloc
  1038. * kdc/connect.c (init_sockets): free addresses
  1039. * kadmin/kadmin.c (main): make code more consistent. always free
  1040. configuration information.
  1041. * kadmin/init.c (create_random_entry): free the entry
  1042. Wed Mar 24 04:02:03 1999 Assar Westerlund <assar@sics.se>
  1043. * lib/krb5/init_creds_pw.c (krb5_get_init_creds_password):
  1044. re-organize the code to always free `kdc_reply'
  1045. * lib/krb5/get_in_tkt.c (krb5_get_in_cred): be more careful about
  1046. freeing memory
  1047. * lib/krb5/fcache.c (fcc_destroy): don't call fcc_close
  1048. * lib/krb5/crypto.c (krb5_crypto_destroy): free `crypto'
  1049. * lib/hdb/hdb_locl.h: try db_185.h first in case db.h is a DB 2.0
  1050. header
  1051. * configure.in (db_185.h): check for
  1052. * admin/srvcreate.c: new file. contributed by Daniel Kouril
  1053. <kouril@informatics.muni.cz>
  1054. * admin/ktutil.c: srvcreate: new command
  1055. * kuser/klist.c: add support for printing AFS tokens
  1056. * kuser/kdestroy.c: add support for destroying v4 tickets and AFS
  1057. tokens. based on code by Love <lha@stacken.kth.se>
  1058. * kuser/Makefile.am (kdestroy_LDADD, klist_LDADD): more libraries
  1059. * configure.in: sys/ioccom.h: test for
  1060. * kuser/klist.c (main): don't print `no ticket file' with --test.
  1061. From: Love <lha@e.kth.se>
  1062. * kpasswd/kpasswdd.c (doit): more braces to make gcc happy
  1063. * kdc/connect.c (init_socket): get rid of a stupid warning
  1064. * include/bits.c (my_strupr): cast away some stupid warnings
  1065. Tue Mar 23 14:34:44 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1066. * lib/krb5/get_host_realm.c (krb5_get_host_realm): no infinite
  1067. loops, please
  1068. Tue Mar 23 00:00:45 1999 Assar Westerlund <assar@sics.se>
  1069. * lib/kadm5/Makefile.am (install_build_headers): recover from make
  1070. rewriting the names of the headers kludge to help solaris make
  1071. * lib/krb5/Makefile.am: kludge to help solaris make
  1072. * lib/hdb/Makefile.am: kludge to help solaris make
  1073. * configure.in (LIB_kdb): make sure there's a -L option in here by
  1074. adding $(LIB_krb4)
  1075. * lib/asn1/gen_glue.c (generate_2int, generate_int2): int ->
  1076. unsigned
  1077. * configure.in (SunOS): set to a number KRB4, KRB5 conditionals:
  1078. remove the `dnl' to work around an automake flaw
  1079. Sun Mar 21 15:08:49 1999 Johan Danielsson <joda@blubb.pdc.kth.se>
  1080. * lib/krb5/get_default_realm.c: char* -> krb5_realm
  1081. Sun Mar 21 14:08:30 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1082. * include/bits.c: <bind/bitypes.h>
  1083. * lib/krb5/Makefile.am: create krb5-private.h
  1084. Sat Mar 20 00:08:59 1999 Assar Westerlund <assar@sics.se>
  1085. * configure.in (gethostname): remove duplicate
  1086. Fri Mar 19 14:48:03 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1087. * lib/hdb/Makefile.am: add version-info
  1088. * lib/gssapi/Makefile.am: add version-info
  1089. * lib/asn1/Makefile.am: use $(x:y=z) make syntax; move check-der
  1090. to check_PROGRAMS
  1091. * lib/Makefile.am: add 45
  1092. * lib/kadm5/Makefile.am: split in client and server libraries
  1093. (breaks shared libraries otherwise)
  1094. Thu Mar 18 11:33:30 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1095. * include/kadm5/Makefile.am: clean a lot of header files (since
  1096. automake lacks a clean-hook)
  1097. * include/Makefile.am: clean a lot of header files (since automake
  1098. lacks a clean-hook)
  1099. * lib/kadm5/Makefile.am: fix build-installation of headers
  1100. * lib/krb5/Makefile.am: remove include_dir hack
  1101. * lib/hdb/Makefile.am: remove include_dir hack
  1102. * lib/asn1/Makefile.am: remove include_dir hack
  1103. * include/Makefile.am: remove include_dir hack
  1104. * doc/whatis.texi: define sub for html
  1105. * configure.in: LIB_kdb, have_err_h, have_fnmatch_h, have_glob_h
  1106. * lib/asn1/Makefile.am: der.h
  1107. * kpasswd/kpasswdd.c: admin.h -> kadm5/admin.h
  1108. * kdc/Makefile.am: remove junk
  1109. * kadmin/Makefile.am: sl.a -> sl.la
  1110. * appl/afsutil/Makefile.am: remove EXTRA_bin_PROGRAMS
  1111. * admin/Makefile.am: sl.a -> sl.la
  1112. * configure.in: condition KRB5; AC_CHECK_XAU
  1113. * Makefile.am: include Makefile.am.common
  1114. * include/kadm5/Makefile.am: include Makefile.am.common; don't
  1115. install headers from here
  1116. * include/Makefile.am: include Makefile.am.common; don't install
  1117. headers from here
  1118. * doc/Makefile.am: include Makefile.am.common
  1119. * lib/krb5/Makefile.am: include Makefile.am.common
  1120. * lib/kadm5/Makefile.am: include Makefile.am.common
  1121. * lib/hdb/Makefile.am: include Makefile.am.common
  1122. * lib/gssapi/Makefile.am: include Makefile.am.common
  1123. * lib/asn1/Makefile.am: include Makefile.am.common
  1124. * lib/Makefile.am: include Makefile.am.common
  1125. * lib/45/Makefile.am: include Makefile.am.common
  1126. * kuser/Makefile.am: include Makefile.am.common
  1127. * kpasswd/Makefile.am: include Makefile.am.common
  1128. * kdc/Makefile.am: include Makefile.am.common
  1129. * kadmin/Makefile.am: include Makefile.am.common
  1130. * appl/test/Makefile.am: include Makefile.am.common
  1131. * appl/afsutil/Makefile.am: include Makefile.am.common
  1132. * appl/Makefile.am: include Makefile.am.common
  1133. * admin/Makefile.am: include Makefile.am.common
  1134. Wed Mar 17 03:04:38 1999 Assar Westerlund <assar@sics.se>
  1135. * lib/krb5/store.c (krb5_store_stringz): braces fix
  1136. * lib/kadm5/get_s.c (kadm5_s_get_principal): braces fix
  1137. * lib/kadm5/ent_setup.c (_kadm5_setup_entry): braces fix
  1138. * kdc/connect.c (loop): braces fix
  1139. * lib/krb5/config_file.c: cast to unsigned char to make is* happy
  1140. * lib/krb5/log.c (krb5_addlog_dest): more braces to make gcc happy
  1141. * lib/krb5/crypto.c (krb5_verify_checksum): rename C -> cksum to
  1142. be consistent
  1143. * kadmin/util.c (timeval2str): more braces to make gcc happy
  1144. * kadmin/load.c: cast in is* to get rid of stupid warning
  1145. * kadmin/dump.c (append_hex): cast in isalnum to get rid of stupid
  1146. warning
  1147. * kdc/kaserver.c: malloc checks and fixes
  1148. * lib/krb5/get_host_realm.c (krb5_get_host_realm): include leading
  1149. dot (if any) when looking up realms.
  1150. Fri Mar 12 13:57:56 1999 Johan Danielsson <joda@blubb.pdc.kth.se>
  1151. * lib/krb5/get_host_realm.c: add dns support
  1152. * lib/krb5/set_default_realm.c: use krb5_free_host_realm
  1153. * lib/krb5/free_host_realm.c: check for NULL realmlist
  1154. * lib/krb5/context.c: don't print warning if there is no krb5.conf
  1155. Wed Mar 10 19:29:46 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1156. * configure.in: use AC_WFLAGS
  1157. Mon Mar 8 11:49:43 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1158. * Release 0.1c
  1159. * kuser/klist.c: use print_version
  1160. * kuser/kdestroy.c: use print_version
  1161. * kdc/hpropd.c: use print_version
  1162. * kdc/hprop.c: use print_version
  1163. * kdc/config.c: use print_version
  1164. * kadmin/kadmind.c: use print_version
  1165. * kadmin/kadmin.c: use print_version
  1166. * appl/test/common.c: use print_version
  1167. * appl/afsutil/afslog.c: use print_version
  1168. Mon Mar 1 10:49:14 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1169. * lib/krb5/get_addrs.c: SOCKADDR_HAS_SA_LEN ->
  1170. HAVE_STRUCT_SOCKADDR_SA_LEN
  1171. * configure.in, acconfig.h, cf/*: update to automake 1.4/autoconf 2.13
  1172. Sun Feb 28 18:19:20 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1173. * lib/asn1/gen.c: make `BIT STRING's unsigned
  1174. * lib/asn1/{symbol.h,gen.c}: add TUInteger type
  1175. * lib/krb5/verify_user.c (krb5_verify_user): pass prompter to
  1176. krb5_get_init_creds_password
  1177. * lib/krb5/fcache.c (fcc_gen_new): implement
  1178. Sat Feb 27 22:41:23 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1179. * doc/install.texi: krb4 is now automatically detected
  1180. * doc/misc.texi: update procedure to set supported encryption
  1181. types
  1182. * doc/setup.texi: change some silly wordings
  1183. Sat Feb 27 22:17:30 1999 Johan Danielsson <joda@blubb.pdc.kth.se>
  1184. * lib/krb5/keytab.c (fkt_remove_entry): make this work
  1185. * admin/ktutil.c: add minimally working `get' command
  1186. Sat Feb 27 19:44:49 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1187. * lib/hdb/convert_db.c: more typos
  1188. * include/Makefile.am: remove EXTRA_DATA (as of autoconf
  1189. 2.13/automake 1.4)
  1190. * appl/Makefile.am: OTP_dir
  1191. Fri Feb 26 17:37:00 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1192. * doc/setup.texi: add kadmin section
  1193. * lib/asn1/check-der.c: fix printf warnings
  1194. Thu Feb 25 11:16:49 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1195. * configure.in: -O does not belong in WFLAGS
  1196. Thu Feb 25 11:05:57 1999 Johan Danielsson <joda@blubb.pdc.kth.se>
  1197. * lib/asn1/der_put.c: fix der_put_int
  1198. Tue Feb 23 20:35:12 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1199. * configure.in: use AC_BROKEN_GLOB
  1200. Mon Feb 22 15:12:44 1999 Johan Danielsson <joda@blubb.pdc.kth.se>
  1201. * configure.in: check for glob
  1202. Mon Feb 22 11:32:42 1999 Johan Danielsson <joda@hella.pdc.kth.se>
  1203. * Release 0.1b
  1204. Sat Feb 20 15:48:06 1999 Johan Danielsson <joda@blubb.pdc.kth.se>
  1205. * lib/hdb/convert_db.c: convert DES3 keys to des3-cbc-sha1, and
  1206. des3-cbc-md5
  1207. * lib/krb5/crypto.c (DES3_string_to_key): make this actually do
  1208. what the draft said it should
  1209. * lib/hdb/convert_db.c: little program for database conversion
  1210. * lib/hdb/db.c (DB_open): try to open database w/o .db extension
  1211. * lib/hdb/ndbm.c (NDBM_open): add test for database format
  1212. * lib/hdb/db.c (DB_open): add test for database format
  1213. * lib/asn1/gen_glue.c (generate_2int): don't depend on flags being
  1214. unsigned
  1215. * lib/hdb/hdb.c: change `hdb_set_master_key' to take an
  1216. EncryptionKey, and add a new function `hdb_set_master_keyfile' to
  1217. do what `hdb_set_master_key' used to do
  1218. * kdc/kstash.c: add `--convert-file' option to change keytype of
  1219. existing master key file
  1220. Fri Feb 19 07:04:14 1999 Assar Westerlund <assar@squid.pdc.kth.se>
  1221. * Release 0.1a
  1222. Sat Feb 13 17:12:53 1999 Assar Westerlund <assar@sics.se>
  1223. * lib/krb5/mk_safe.c (krb5_mk_safe): sizeof(buf) -> buf_size, buf
  1224. is now a `u_char *'
  1225. * lib/krb5/get_in_tkt.c (krb5_init_etype): etypes are now `int'
  1226. * lib/krb5/get_host_realm.c (krb5_get_host_realm): constize
  1227. orig_host
  1228. (krb5_salttype_to_string): new function (RSA_MD5_DES_verify,
  1229. RSA_MD5_DES3_verify): initialize ret
  1230. * lib/gssapi/init_sec_context.c (init_auth): remove unnecessary
  1231. gssapi_krb5_init. ask for KEYTYPE_DES credentials
  1232. * kadmin/get.c (print_entry_long): print the keytypes and salts
  1233. available for the principal
  1234. * configure.in (WFLAGS): add `-O' to catch unitialized variables
  1235. and such
  1236. (gethostname, mkstemp, getusershell, inet_aton): more tests
  1237. * lib/hdb/hdb.h: update prototypes
  1238. * configure.in: homogenize broken detection with krb4
  1239. * lib/kadm5/init_c.c (kadm5_c_init_with_context): remove unused
  1240. `error'
  1241. * lib/asn1/Makefile.am (check-der): add
  1242. * lib/asn1/gen.c (define_type): map ASN1 Integer to `int' instead
  1243. of `unsigned'
  1244. * lib/asn1/der_length.c (length_unsigned): new function
  1245. (length_int): handle signed integers
  1246. * lib/asn1/der_put.c (der_put_unsigned): new function
  1247. (der_put_int): handle signed integers
  1248. * lib/asn1/der_get.c (der_get_unsigned): new function
  1249. (der_get_int): handle signed integers
  1250. * lib/asn1/der.h: all integer functions take `int' instead of
  1251. `unsigned'
  1252. * lib/asn1/lex.l (filename): unused. remove.
  1253. * lib/asn1/check-der.c: new test program for der encoding and
  1254. decoding.
  1255. Mon Feb 1 04:09:06 1999 Assar Westerlund <assar@sics.se>
  1256. * lib/krb5/send_to_kdc.c (krb5_sendto_kdc): only call
  1257. gethostbyname2 with AF_INET6 if we actually have IPv6. From
  1258. "Brandon S. Allbery KF8NH" <allbery@kf8nh.apk.net>
  1259. * lib/krb5/changepw.c (get_kdc_address): dito
  1260. Sun Jan 31 06:26:36 1999 Assar Westerlund <assar@sics.se>
  1261. * kdc/connect.c (parse_prots): always bind to AF_INET, there are
  1262. v6-implementations without support for `mapped V4 addresses'.
  1263. From Jun-ichiro itojun Hagino <itojun@kame.net>
  1264. Sat Jan 30 22:38:27 1999 Assar Westerlund <assar@juguete.sics.se>
  1265. * Release 0.0u
  1266. Sat Jan 30 13:43:02 1999 Assar Westerlund <assar@sics.se>
  1267. * lib/krb5/Makefile.am: explicit rules for *.et files
  1268. * lib/kadm5/init_c.c (get_kadm_ticket): only remove creds if
  1269. krb5_get_credentials was succesful.
  1270. (get_new_cache): return better error codes and return earlier.
  1271. (get_cred_cache): only delete default_client if it's different
  1272. from client
  1273. (kadm5_c_init_with_context): return a more descriptive error.
  1274. * kdc/kerberos5.c (check_flags): handle NULL client or server
  1275. * lib/krb5/sendauth.c (krb5_sendauth): return the error in
  1276. `ret_error' iff != NULL
  1277. * lib/krb5/rd_error.c (krb5_free_error, krb5_free_error_contents):
  1278. new functions
  1279. * lib/krb5/mk_req_ext.c (krb5_mk_req_extended): more
  1280. type-correctness
  1281. * lib/krb5/krb5.h (krb5_error): typedef to KRB_ERROR
  1282. * lib/krb5/init_creds_pw.c: KRB5_TGS_NAME: use
  1283. * lib/krb5/get_cred.c: KRB5_TGS_NAME: use
  1284. * lib/kafs/afskrb5.c (afslog_uid_int): update to changes
  1285. * lib/kadm5/rename_s.c (kadm5_s_rename_principal): call remove
  1286. instead of rename, but shouldn't this just call rename?
  1287. * lib/kadm5/get_s.c (kadm5_s_get_principal): always return an
  1288. error if the principal wasn't found.
  1289. * lib/hdb/ndbm.c (NDBM_seq): unseal key
  1290. * lib/hdb/db.c (DB_seq): unseal key
  1291. * lib/asn1/Makefile.am: added explicit rules for asn1_err.[ch]
  1292. * kdc/hprop.c (v4_prop): add krbtgt/THISREALM@OTHERREALM when
  1293. finding cross-realm tgts in the v4 database
  1294. * kadmin/mod.c (mod_entry): check the number of arguments. check
  1295. that kadm5_get_principal worked.
  1296. * lib/krb5/keytab.c (fkt_remove_entry): remove KRB5_KT_NOTFOUND if
  1297. we weren't able to remove it.
  1298. * admin/ktutil.c: less drive-by-deleting. From Love
  1299. <lha@e.kth.se>
  1300. * kdc/connect.c (parse_ports): copy the string before mishandling
  1301. it with strtok_r
  1302. * kdc/kerberos5.c (tgs_rep2): print the principal with mismatching
  1303. kvnos
  1304. * kadmin/kadmind.c (main): convert `debug_port' to network byte
  1305. order
  1306. * kadmin/kadmin.c: allow specification of port number.
  1307. * lib/kadm5/kadm5_locl.h (kadm5_client_context): add
  1308. `kadmind_port'.
  1309. * lib/kadm5/init_c.c (_kadm5_c_init_context): move up
  1310. initalize_kadm5_error_table_r.
  1311. allow specification of port number.
  1312. From Love <lha@stacken.kth.se>
  1313. * kuser/klist.c: add option -t | --test