1 1.1 elric 2002-12-19 Johan Danielsson <joda (a] pdc.kth.se> 2 1.1 elric 3 1.1 elric * lib/krb5/mk_rep.c: free allocated storage; reported by Howard 4 1.1 elric Chu 5 1.1 elric 6 1.1 elric 2002-12-08 Johan Danielsson <joda (a] pdc.kth.se> 7 1.1 elric 8 1.1 elric * kdc/kdc_locl.h: remove old encrypt_v4_ticket prototype 9 1.1 elric 10 1.1 elric 2002-12-02 Johan Danielsson <joda (a] pdc.kth.se> 11 1.1 elric 12 1.1 elric * kpasswd/kpasswdd.c (doit): initialise sa_size to size of 13 1.1 elric sockaddr_storage 14 1.1 elric 15 1.1 elric * kdc/connect.c (init_socket): initialise sa_size to size of 16 1.1 elric sockaddr_storage 17 1.1 elric 18 1.1 elric 2002-11-15 Johan Danielsson <joda (a] pdc.kth.se> 19 1.1 elric 20 1.1 elric * lib/krb5/krb5.h: remove trailing comma in enum 21 1.1 elric 22 1.1 elric 2002-11-07 Johan Danielsson <joda (a] pdc.kth.se> 23 1.1 elric 24 1.1 elric * kdc/524.c: implement crude b2 style (non-)conversion for use 25 1.1 elric with afs 26 1.1 elric 27 1.1 elric * kdc/kerberos4.c: move encrypt_v4_ticket to 524.c, since that's 28 1.1 elric where it's used 29 1.1 elric 30 1.1 elric 2002-10-21 Johan Danielsson <joda (a] pdc.kth.se> 31 1.1 elric 32 1.1 elric * lib/krb5/keytab_keyfile.c: more strcspn 33 1.1 elric 34 1.1 elric * lib/krb5/store_emem.c (emem_store): limit how much we allocate 35 1.1 elric (from Olaf Kirch) 36 1.1 elric 37 1.1 elric * lib/krb5/principal.c: don't allow trailing backslashes in 38 1.1 elric components 39 1.1 elric 40 1.1 elric * kdc/connect.c: check that %-quotes are followed by two hex 41 1.1 elric digits 42 1.1 elric 43 1.1 elric * lib/krb5/keytab_any.c: properly close the open keytabs (from 44 1.1 elric Larry Greenfield) 45 1.1 elric 46 1.1 elric * kdc/kaserver.c: make sure life is positive (from John Godehn) 47 1.1 elric 48 1.1 elric 2002-10-17 Johan Danielsson <joda (a] pdc.kth.se> 49 1.1 elric 50 1.1 elric * kuser/klist.c (display_tokens): allow tokens up to size of 51 1.1 elric buffer (from Magnus Holmberg) 52 1.1 elric 53 1.1 elric 2002-09-29 Johan Danielsson <joda (a] pdc.kth.se> 54 1.1 elric 55 1.1 elric * lib/krb5/changepw.c (process_reply): fix reply length check 56 1.1 elric calculation (reported by various people) 57 1.1 elric 58 1.1 elric 2002-09-24 Johan Danielsson <joda (a] pdc.kth.se> 59 1.1 elric 60 1.1 elric * lib/krb5/keytab_file.c (fkt_remove_entry): check return value 61 1.1 elric from start_seq_get (from Wynn Wilkes) 62 1.1 elric 63 1.1 elric 2002-09-19 Johan Danielsson <joda (a] pdc.kth.se> 64 1.1 elric 65 1.1 elric * lib/krb5/context.c (krb5_set_config_files): return ENXIO instead 66 1.1 elric of ENOENT when "unconfigured" 67 1.1 elric 68 1.1 elric 2002-09-16 Jacques Vidrine <nectar (a] kth.se> 69 1.1 elric 70 1.1 elric * lib/krb5/kuserok.c, lib/krb5/prompter_posix.c: use strcspn 71 1.1 elric to convert the newline to NUL in fgets results. 72 1.1 elric 73 1.1 elric 2002-09-13 Johan Danielsson <joda (a] pdc.kth.se> 74 1.1 elric 75 1.1 elric * kuser/kinit.1: remove unneeded Ns 76 1.1 elric 77 1.1 elric * lib/krb5/krb5_appdefault.3: remove extra "application" 78 1.1 elric 79 1.1 elric * fix-export: remove autom4ate.cache 80 1.1 elric 81 1.1 elric 2002-09-10 Johan Danielsson <joda (a] pdc.kth.se> 82 1.1 elric 83 1.1 elric * include/make_crypto.c: don't use function macros if possible 84 1.1 elric 85 1.1 elric * lib/krb5/krb5_locl.h: get limits.h for UINT_MAX 86 1.1 elric 87 1.1 elric * include/Makefile.am: use make_crypto to create crypto-headers.h 88 1.1 elric 89 1.1 elric * include/make_crypto.c: crypto header generation tool 90 1.1 elric 91 1.1 elric * configure.in: move crypto test to just after testing for krb4, 92 1.1 elric and move roken tests to after both, this speeds up various failure 93 1.1 elric cases with krb4 94 1.1 elric 95 1.1 elric * lib/krb5/config_file.c: don't use NULL when we mean 0 96 1.1 elric 97 1.1 elric * configure.in: we don't set package_libdir anymore, so no point 98 1.1 elric in testing for it 99 1.1 elric 100 1.1 elric * tools/Makefile.am: subst INCLUDE_des 101 1.1 elric 102 1.1 elric * tools/krb5-config.in: add INCLUDE_des to cflags 103 1.1 elric 104 1.1 elric * configure.in: use AC_CONFIG_SRCDIR 105 1.1 elric 106 1.1 elric * fix-export: remove some unneeded stuff 107 1.1 elric 108 1.1 elric * kuser/kinit.c (do_524init): free principals 109 1.1 elric 110 1.1 elric 2002-09-09 Jacques Vidrine <nectar (a] kth.se> 111 1.1 elric 112 1.1 elric * kdc/kerberos5.c (get_pa_etype_info, fix_transited_encoding), 113 1.1 elric kdc/kaserver.c (krb5_ret_xdr_data), 114 1.1 elric lib/krb5/transited.c (krb5_domain_x500_decode): Validate some 115 1.1 elric counts: Check that they are non-negative, and that they are small 116 1.1 elric enough to avoid integer overflow when used in memory allocation 117 1.1 elric calculations. Potential problem areas pointed out by 118 1.1 elric Sebastian Krahmer <krahmer (a] suse.de>. 119 1.1 elric 120 1.1 elric * lib/krb5/keytab_keyfile.c (akf_add_entry): Use O_EXCL when 121 1.1 elric creating a new keyfile. 122 1.1 elric 123 1.1 elric 2002-09-09 Johan Danielsson <joda (a] pdc.kth.se> 124 1.1 elric 125 1.1 elric * configure.in: don't try to build pam module 126 1.1 elric 127 1.1 elric 2002-09-05 Johan Danielsson <joda (a] pdc.kth.se> 128 1.1 elric 129 1.1 elric * appl/kf/kf.c: fix warning string 130 1.1 elric 131 1.1 elric * lib/krb5/log.c (krb5_vlog_msg): delay message formating till we 132 1.1 elric know we need it 133 1.1 elric 134 1.1 elric 2002-09-04 Assar Westerlund <assar (a] kth.se> 135 1.1 elric 136 1.1 elric * kdc/kerberos5.c (encode_reply): correct error logging 137 1.1 elric 138 1.1 elric 2002-09-04 Johan Danielsson <joda (a] pdc.kth.se> 139 1.1 elric 140 1.1 elric * lib/krb5/sendauth.c: close ccache if we opened it 141 1.1 elric 142 1.1 elric * appl/kf/kf.c: handle new protocol 143 1.1 elric 144 1.1 elric * appl/kf/kfd.c: use krb5_err instead of sysloging directly, 145 1.1 elric handle the new protocol, and bail out if an old client tries to 146 1.1 elric connect 147 1.1 elric 148 1.1 elric * appl/kf/kf_locl.h: we need a protocol version string 149 1.1 elric 150 1.1 elric * lib/hdb/hdb-ldap.c: use ASN1_MALLOC_ENCODE 151 1.1 elric 152 1.1 elric * kdc/kerberos5.c: use ASN1_MALLOC_ENCODE 153 1.1 elric 154 1.1 elric * kdc/hprop.c: set AP_OPTS_USE_SUBKEY 155 1.1 elric 156 1.1 elric * lib/hdb/common.c: use ASN1_MALLOC_ENCODE 157 1.1 elric 158 1.1 elric * lib/asn1/gen.c: add convenience macro that allocates a buffer 159 1.1 elric and encoded into that 160 1.1 elric 161 1.1 elric * lib/krb5/get_cred.c (init_tgs_req): use 162 1.1 elric in_creds->session.keytype literally instead of trying to convert 163 1.1 elric to a list of enctypes (it should already be an enctype) 164 1.1 elric 165 1.1 elric * lib/krb5/get_cred.c (init_tgs_req): init ret 166 1.1 elric 167 1.1 elric 2002-09-03 Johan Danielsson <joda (a] pdc.kth.se> 168 1.1 elric 169 1.1 elric * lib/asn1/k5.asn1: remove ETYPE_DES3_CBC_NONE_IVEC 170 1.1 elric 171 1.1 elric * lib/krb5/krb5.h: remove ENCTYPE_DES3_CBC_NONE_IVEC 172 1.1 elric 173 1.1 elric * lib/krb5/crypto.c: get rid of DES3_CBC_encrypt_ivec, just use 174 1.1 elric zero ivec in DES3_CBC_encrypt if passed ivec is NULL 175 1.1 elric 176 1.1 elric * lib/krb5/Makefile.am: back out 1.144, since it will re-create 177 1.1 elric krb5-protos.h at build-time, which requires perl, which is bad 178 1.1 elric 179 1.1 elric * lib/krb5/get_for_creds.c (krb5_get_forwarded_creds): don't 180 1.1 elric blindly use the local subkey 181 1.1 elric 182 1.1 elric * lib/krb5/crypto.c: add function krb5_crypto_getblocksize that 183 1.1 elric extracts the required blocksize from a crypto context 184 1.1 elric 185 1.1 elric * lib/krb5/build_auth.c: just get the length of the encoded 186 1.1 elric authenticator instead of trying to grow a buffer 187 1.1 elric 188 1.1 elric 2002-09-03 Assar Westerlund <assar (a] kth.se> 189 1.1 elric 190 1.1 elric * configure.in: add --disable-mmap option, and tests for 191 1.1 elric sys/mman.h and mmap 192 1.1 elric 193 1.1 elric 2002-09-03 Jacques Vidrine <nectar (a] kth.se> 194 1.1 elric 195 1.1 elric * lib/krb5/changepw.c: verify lengths in response 196 1.1 elric 197 1.1 elric * lib/asn1/der_get.c (decode_integer, decode_unsigned): check for 198 1.1 elric truncated integers 199 1.1 elric 200 1.1 elric 2002-09-02 Johan Danielsson <joda (a] pdc.kth.se> 201 1.1 elric 202 1.1 elric * lib/krb5/mk_req_ext.c: generate a local subkey if 203 1.1 elric AP_OPTS_USE_SUBKEY is set 204 1.1 elric 205 1.1 elric * lib/krb5/build_auth.c: we don't have enough information about 206 1.1 elric whether to generate a local subkey here, so don't try to 207 1.1 elric 208 1.1 elric * lib/krb5/auth_context.c: new function 209 1.1 elric krb5_auth_con_generatelocalsubkey 210 1.1 elric 211 1.1 elric * lib/krb5/get_in_tkt.c: only set kdc_sec_offset if looking at an 212 1.1 elric initial ticket 213 1.1 elric 214 1.1 elric * lib/krb5/context.c (init_context_from_config_file): simplify 215 1.1 elric initialisation of srv_lookup 216 1.1 elric 217 1.1 elric * lib/krb5/changepw.c (send_request): set AP_OPTS_USE_SUBKEY 218 1.1 elric 219 1.1 elric * lib/krb5/krb5.h: add AP_OPTS_USE_SUBKEY 220 1.1 elric 221 1.1 elric 2002-08-30 Assar Westerlund <assar (a] kth.se> 222 1.1 elric 223 1.1 elric * lib/krb5/name-45-test.c: also test krb5_524_conv_principal 224 1.1 elric * lib/krb5/Makefile.am (TESTS): add name-45-test 225 1.1 elric * lib/krb5/name-45-test.c: add testcases for 226 1.1 elric krb5_425_conv_principal 227 1.1 elric 228 1.1 elric 2002-08-29 Assar Westerlund <assar (a] kth.se> 229 1.1 elric 230 1.1 elric * lib/krb5/parse-name-test.c: also test unparse_short functions 231 1.1 elric * lib/asn1/asn1_print.c: use com_err/error_message API 232 1.1 elric * lib/krb5/Makefile.am: add parse-name-test 233 1.1 elric * lib/krb5/parse-name-test.c: add a program for testing parsing 234 1.1 elric and unparsing principal names 235 1.1 elric 236 1.1 elric 2002-08-28 Assar Westerlund <assar (a] kth.se> 237 1.1 elric 238 1.1 elric * kdc/config.c: add missing ifdef DAEMON 239 1.1 elric 240 1.1 elric 2002-08-28 Johan Danielsson <joda (a] pdc.kth.se> 241 1.1 elric 242 1.1 elric * configure.in: use rk_SUNOS 243 1.1 elric 244 1.1 elric * kdc/config.c: add detach options 245 1.1 elric 246 1.1 elric * kdc/main.c: maybe detach from console? 247 1.1 elric 248 1.1 elric * kdc/kdc.8: markup changes 249 1.1 elric 250 1.1 elric * configure.in: AC_TEST_PACKAGE_NEW -> rk_TEST_PACKAGE 251 1.1 elric 252 1.1 elric * configure.in: use rk_TELNET, rename some other macros, and don't 253 1.1 elric add -ldes to krb4 link command 254 1.1 elric 255 1.1 elric * kuser/kinit.1: whitespace fix (from NetBSD) 256 1.1 elric 257 1.1 elric * include/bits.c: we may need unistd.h for ssize_t 258 1.1 elric 259 1.1 elric 2002-08-26 Assar Westerlund <assar (a] kth.se> 260 1.1 elric 261 1.1 elric * lib/krb5/principal.c (krb5_425_conv_principal_ext): lookup AAAA 262 1.1 elric rrs before A ones when using the resolver to verify a mapping, 263 1.1 elric also use getaddrinfo when resolver is not available 264 1.1 elric 265 1.1 elric * lib/hdb/keytab.c (find_db): const-correctness in parameters to 266 1.1 elric krb5_config_get_next 267 1.1 elric 268 1.1 elric * lib/asn1/gen.c: include <string.h> in the generated files (for 269 1.1 elric memset) 270 1.1 elric 271 1.1 elric 2002-08-22 Assar Westerlund <assar (a] kth.se> 272 1.1 elric 273 1.1 elric * lib/krb5/test_get_addrs.c, lib/krb5/krbhst-test.c: make it use 274 1.1 elric getarg so that it can handle --help and --version (and thus make 275 1.1 elric check can pass) 276 1.1 elric 277 1.1 elric * lib/asn1/check-der.c: make this build again 278 1.1 elric 279 1.1 elric 2002-08-22 Assar Westerlund <assar (a] kth.se> 280 1.1 elric 281 1.1 elric * lib/asn1/der_get.c (der_get_int): handle len == 0. based on a 282 1.1 elric patch from Love <lha (a] stacken.kth.se> 283 1.1 elric 284 1.1 elric 2002-08-22 Johan Danielsson <joda (a] pdc.kth.se> 285 1.1 elric 286 1.1 elric * lib/krb5/krb5.h: we seem to call KRB5KDC_ERR_KEY_EXP 287 1.1 elric KRB5KDC_ERR_KEY_EXPIRED, so define the former to the latter 288 1.1 elric 289 1.1 elric * kdc/kdc.8: add blurb about adding and removing addresses; update 290 1.1 elric kdc.conf section to match reality 291 1.1 elric 292 1.1 elric * configure.in: KRB_SENDAUTH_VLEN seems to always have existed, so 293 1.1 elric don't define it 294 1.1 elric 295 1.1 elric 2002-08-21 Assar Westerlund <assar (a] kth.se> 296 1.1 elric 297 1.1 elric * lib/asn1/asn1_print.c: print OIDs too, based on a patch from 298 1.1 elric Love <lha (a] stacken.kth.se> 299 1.1 elric 300 1.1 elric 2002-08-21 Johan Danielsson <joda (a] pdc.kth.se> 301 1.1 elric 302 1.1 elric * kuser/kinit.c (do_v4_fallback): don't use krb_get_pw_in_tkt2 303 1.1 elric since it might not exist, and we don't actually care about the key 304 1.1 elric 305 1.1 elric 2002-08-20 Johan Danielsson <joda (a] pdc.kth.se> 306 1.1 elric 307 1.1 elric * lib/krb5/krb5.conf.5: correct documentation for 308 1.1 elric verify_ap_req_nofail 309 1.1 elric 310 1.1 elric * lib/krb5/log.c: rename syslog_data to avoid name conflicts (from 311 1.1 elric Mattias Amnefelt) 312 1.1 elric 313 1.1 elric * kuser/klist.c (display_tokens): increase token buffer size, and 314 1.1 elric add more checks of the kernel data (from Love) 315 1.1 elric 316 1.1 elric 2002-08-19 Johan Danielsson <joda (a] pdc.kth.se> 317 1.1 elric 318 1.1 elric * fix-export: use make to parse Makefile.am instead of perl 319 1.1 elric 320 1.1 elric * configure.in: use argument-less AM_INIT_AUTOMAKE, now that it 321 1.1 elric groks AC_INIT with package name etc. 322 1.1 elric 323 1.1 elric * kpasswd/kpasswdd.c: include <kadm5/private.h> 324 1.1 elric 325 1.1 elric * lib/asn1/asn1_print.c: include com_right.h 326 1.1 elric 327 1.1 elric * lib/krb5/addr_families.c: socklen_t -> krb5_socklen_t 328 1.1 elric 329 1.1 elric * include/bits.c: define krb5_socklen_t type; this should really 330 1.1 elric go someplace else, but this was easy 331 1.1 elric 332 1.1 elric * lib/krb5/verify_krb5_conf.c: don't bail out if parsing of a file 333 1.1 elric fails, just warn about it 334 1.1 elric 335 1.1 elric * kdc/log.c (kdc_openlog): no need for a config_file parameter 336 1.1 elric 337 1.1 elric * kdc/config.c: just treat kdc.conf like any other config file 338 1.1 elric 339 1.1 elric * lib/krb5/context.c (krb5_get_default_config_files): ignore 340 1.1 elric duplicate files 341 1.1 elric 342 1.1 elric 2002-08-16 Johan Danielsson <joda (a] pdc.kth.se> 343 1.1 elric 344 1.1 elric * lib/krb5/krb5.h: turn strings into pointers, so we can assign to 345 1.1 elric them 346 1.1 elric 347 1.1 elric * lib/krb5/constants.c: turn strings into pointers, so we can 348 1.1 elric assign to them 349 1.1 elric 350 1.1 elric * lib/krb5/get_addrs.c (get_addrs_int): initialise res if 351 1.1 elric SCAN_INTERFACES is not set 352 1.1 elric 353 1.1 elric * lib/krb5/context.c: fix various borked stuff in previous commits 354 1.1 elric 355 1.1 elric 2002-08-16 Jacques Vidrine <n (a] nectar.com> 356 1.1 elric 357 1.1 elric * lib/krb5/krbhst.c (kpasswd_get_next): if we fall back to using 358 1.1 elric the `admin_server' entry for kpasswd, override the `proto' result 359 1.1 elric to be UDP. 360 1.1 elric 361 1.1 elric 2002-08-15 Johan Danielsson <joda (a] pdc.kth.se> 362 1.1 elric 363 1.1 elric * lib/krb5/auth_context.c: check return value of 364 1.1 elric krb5_sockaddr2address 365 1.1 elric 366 1.1 elric * lib/krb5/addr_families.c: check return value of 367 1.1 elric krb5_sockaddr2address 368 1.1 elric 369 1.1 elric * lib/krb5/context.c: get the default keytab from KRB5_KTNAME 370 1.1 elric 371 1.1 elric 2002-08-14 Johan Danielsson <joda (a] pdc.kth.se> 372 1.1 elric 373 1.1 elric * lib/krb5/verify_krb5_conf.c: allow parsing of more than one file 374 1.1 elric 375 1.1 elric * lib/krb5/context.c: allow changing config files with the 376 1.1 elric function krb5_set_config_files, there are also related functions 377 1.1 elric krb5_get_default_config_files and krb5_free_config_files; these 378 1.1 elric should work similar to their MIT counterparts 379 1.1 elric 380 1.1 elric * lib/krb5/config_file.c: allow the use of more than one config 381 1.1 elric file by using the new function krb5_config_parse_file_multi 382 1.1 elric 383 1.1 elric 2002-08-12 Johan Danielsson <joda (a] pdc.kth.se> 384 1.1 elric 385 1.1 elric * use sysconfdir instead of /etc 386 1.1 elric 387 1.1 elric * configure.in: require autoconf 2.53; rename dpagaix_LDFLAGS etc 388 1.1 elric to appease automake; force sysconfdir and localstatedir to /etc 389 1.1 elric and /var/heimdal for now 390 1.1 elric 391 1.1 elric * kdc/connect.c (addr_to_string): check return value of 392 1.1 elric sockaddr2address 393 1.1 elric 394 1.1 elric 2002-08-09 Johan Danielsson <joda (a] pdc.kth.se> 395 1.1 elric 396 1.1 elric * lib/krb5/rd_cred.c: if the remote address isn't an addrport, 397 1.1 elric don't try comparing to one; this should make old clients work with 398 1.1 elric new servers 399 1.1 elric 400 1.1 elric * lib/asn1/gen_decode.c: remove unused variable 401 1.1 elric 402 1.1 elric 2002-07-31 Johan Danielsson <joda (a] pdc.kth.se> 403 1.1 elric 404 1.1 elric * kdc/{kerberos5,524}.c: ENOENT -> HDB_ERR_NOENTRY (from Derrick 405 1.1 elric Brashear) 406 1.1 elric 407 1.1 elric * lib/krb5/principal.c: actually lower case the lower case 408 1.1 elric instance name (spotted by Derrick Brashear) 409 1.1 elric 410 1.1 elric 2002-07-24 Johan Danielsson <joda (a] pdc.kth.se> 411 1.1 elric 412 1.1 elric * fix-export: if DATEDVERSION is set, change the version to 413 1.1 elric current date 414 1.1 elric 415 1.1 elric * configure.in: don't use AC_PROG_RANLIB, and use magic foo to set 416 1.1 elric LTLIBOBJS 417 1.1 elric 418 1.1 elric 2002-07-04 Johan Danielsson <joda (a] pdc.kth.se> 419 1.1 elric 420 1.1 elric * kdc/connect.c: add some cache-control-foo to the http responses 421 1.1 elric (from Gombas Gabor) 422 1.1 elric 423 1.1 elric * lib/krb5/addr_families.c (krb5_print_address): don't copy size 424 1.1 elric if ret_len == NULL 425 1.1 elric 426 1.1 elric 2002-06-28 Johan Danielsson <joda (a] pdc.kth.se> 427 1.1 elric 428 1.1 elric * kuser/klist.c (display_tokens): don't bail out before we get 429 1.1 elric EDOM (signaling the end of the tokens), the kernel can also return 430 1.1 elric ENOTCONN, meaning that the index does not exist anymore (for 431 1.1 elric example if the token has expired) 432 1.1 elric 433 1.1 elric 2002-06-06 Johan Danielsson <joda (a] pdc.kth.se> 434 1.1 elric 435 1.1 elric * lib/krb5/changepw.c: make sure we return an error if there are 436 1.1 elric no changepw hosts found; from Wynn Wilkes 437 1.1 elric 438 1.1 elric 2002-05-29 Johan Danielsson <joda (a] pdc.kth.se> 439 1.1 elric 440 1.1 elric * lib/krb5/cache.c (krb5_cc_register): break out of loop when the 441 1.1 elric same type is found; spotted by Wynn Wilkes 442 1.1 elric 443 1.1 elric 2002-05-28 Johan Danielsson <joda (a] pdc.kth.se> 444 1.1 elric 445 1.1 elric * lib/krb5/keytab_file.c: check size of entry before trying to 446 1.1 elric read 32-bit kvno; also fix typo in previous 447 1.1 elric 448 1.1 elric 2002-05-24 Johan Danielsson <joda (a] pdc.kth.se> 449 1.1 elric 450 1.1 elric * include/Makefile.am: only add to INCLUDES 451 1.1 elric 452 1.1 elric * lib/45/mk_req.c: fix for storage change 453 1.1 elric 454 1.1 elric * lib/hdb/print.c: fix for storage change 455 1.1 elric 456 1.1 elric 2002-05-15 Johan Danielsson <joda (a] pdc.kth.se> 457 1.1 elric 458 1.1 elric * kdc/kerberos5.c: don't free encrypted padata until we're really 459 1.1 elric done with it 460 1.1 elric 461 1.1 elric 2002-05-07 Johan Danielsson <joda (a] pdc.kth.se> 462 1.1 elric 463 1.1 elric * kdc/kerberos5.c: when decrypting pa-data, try all keys matching 464 1.1 elric enctype 465 1.1 elric 466 1.1 elric * kuser/kinit.1: document -a 467 1.1 elric 468 1.1 elric * kuser/kinit.c: add command line switch for extra addresses 469 1.1 elric 470 1.1 elric 2002-04-30 Johan Danielsson <joda (a] blubb.pdc.kth.se> 471 1.1 elric 472 1.1 elric * configure.in: remove some duplicate tests 473 1.1 elric 474 1.1 elric * configure.in: use AC_HELP_STRING 475 1.1 elric 476 1.1 elric 2002-04-29 Johan Danielsson <joda (a] pdc.kth.se> 477 1.1 elric 478 1.1 elric * lib/krb5/crypto.c (usage2arcfour): don't abort if the usage is 479 1.1 elric unknown 480 1.1 elric 481 1.1 elric 2002-04-25 Johan Danielsson <joda (a] pdc.kth.se> 482 1.1 elric 483 1.1 elric * configure.in: use rk_DESTDIRS 484 1.1 elric 485 1.1 elric 2002-04-22 Johan Danielsson <joda (a] pdc.kth.se> 486 1.1 elric 487 1.1 elric * lib/krb5/krb5_verify_user.3: make it clear that _lrealm modifies 488 1.1 elric the principal 489 1.1 elric 490 1.1 elric 2002-04-19 Johan Danielsson <joda (a] pdc.kth.se> 491 1.1 elric 492 1.1 elric * lib/krb5/verify_init.c: fix typo in error string 493 1.1 elric 494 1.1 elric 2002-04-18 Johan Danielsson <joda (a] pdc.kth.se> 495 1.1 elric 496 1.1 elric * acconfig.h: remove some stuff that is defined elsewhere 497 1.1 elric 498 1.1 elric * lib/krb5/krb5_locl.h: include <sys/file.h> 499 1.1 elric 500 1.1 elric * lib/krb5/acl.c: rename acl_string parameter 501 1.1 elric 502 1.1 elric * lib/krb5/Makefile.am: remove __P from protos, and put parameter 503 1.1 elric names in comments 504 1.1 elric 505 1.1 elric * kuser/klist.c: better align some headers 506 1.1 elric 507 1.1 elric * kdc/kerberos4.c: storage tweaks 508 1.1 elric 509 1.1 elric * kdc/kaserver.c: storage tweaks 510 1.1 elric 511 1.1 elric * kdc/524.c: storage tweaks 512 1.1 elric 513 1.1 elric * lib/krb5/keytab_krb4.c: storage tweaks 514 1.1 elric 515 1.1 elric * lib/krb5/keytab_keyfile.c: storage tweaks 516 1.1 elric 517 1.1 elric * lib/krb5/keytab_file.c: storage tweaks; also try to handle zero 518 1.1 elric sized keytab files 519 1.1 elric 520 1.1 elric * lib/krb5/keytab_any.c: use KRB5_KT_END instead of KRB5_CC_END 521 1.1 elric 522 1.1 elric * lib/krb5/fcache.c: storage tweaks 523 1.1 elric 524 1.1 elric * lib/krb5/store_mem.c: make the krb5_storage opaque, and add 525 1.1 elric function wrappers for store/fetch/seek, and also make the eof-code 526 1.1 elric configurable 527 1.1 elric 528 1.1 elric * lib/krb5/store_fd.c: make the krb5_storage opaque, and add 529 1.1 elric function wrappers for store/fetch/seek, and also make the eof-code 530 1.1 elric configurable 531 1.1 elric 532 1.1 elric * lib/krb5/store_emem.c: make the krb5_storage opaque, and add 533 1.1 elric function wrappers for store/fetch/seek, and also make the eof-code 534 1.1 elric configurable 535 1.1 elric 536 1.1 elric * lib/krb5/store.c: make the krb5_storage opaque, and add function 537 1.1 elric wrappers for store/fetch/seek, and also make the eof-code 538 1.1 elric configurable 539 1.1 elric 540 1.1 elric * lib/krb5/store-int.h: make the krb5_storage opaque, and add 541 1.1 elric function wrappers for store/fetch/seek, and also make the eof-code 542 1.1 elric configurable 543 1.1 elric 544 1.1 elric * lib/krb5/krb5.h: make the krb5_storage opaque, and add function 545 1.1 elric wrappers for store/fetch/seek, and also make the eof-code 546 1.1 elric configurable 547 1.1 elric 548 1.1 elric * include/bits.c: include <sys/socket.h> to get socklen_t 549 1.1 elric 550 1.1 elric * kdc/kerberos5.c (get_pa_etype_info): sort ETYPE-INFOs by 551 1.1 elric requested KDC-REQ etypes 552 1.1 elric 553 1.1 elric * kdc/hpropd.c: constify 554 1.1 elric 555 1.1 elric * kdc/hprop.c: constify 556 1.1 elric 557 1.1 elric * kdc/string2key.c: constify 558 1.1 elric 559 1.1 elric * kdc/kdc_locl.h: make port_str const 560 1.1 elric 561 1.1 elric * kdc/config.c: constify 562 1.1 elric 563 1.1 elric * lib/krb5/config_file.c: constify 564 1.1 elric 565 1.1 elric * kdc/kstash.c: constify 566 1.1 elric 567 1.1 elric * lib/krb5/verify_user.c: remove unnecessary cast 568 1.1 elric 569 1.1 elric * lib/krb5/recvauth.c: constify 570 1.1 elric 571 1.1 elric * lib/krb5/principal.c (krb5_parse_name): const qualify 572 1.1 elric 573 1.1 elric * lib/krb5/mcache.c (mcc_get_name): constify return type 574 1.1 elric 575 1.1 elric * lib/krb5/context.c (krb5_free_context): don't try to free the 576 1.1 elric ccache prefix 577 1.1 elric 578 1.1 elric * lib/krb5/cache.c (krb5_cc_register): don't make a copy of the 579 1.1 elric prefix 580 1.1 elric 581 1.1 elric * lib/krb5/krb5.h: constify some struct members 582 1.1 elric 583 1.1 elric * lib/krb5/log.c: constify 584 1.1 elric 585 1.1 elric * lib/krb5/init_creds_pw.c (krb5_get_init_creds_password): const 586 1.1 elric qualify 587 1.1 elric 588 1.1 elric * lib/krb5/get_in_tkt.c (krb5_init_etype): constify 589 1.1 elric 590 1.1 elric * lib/krb5/crypto.c: constify some 591 1.1 elric 592 1.1 elric * lib/krb5/config_file.c: constify 593 1.1 elric 594 1.1 elric * lib/krb5/aname_to_localname.c (krb5_aname_to_localname): 595 1.1 elric constify local variable 596 1.1 elric 597 1.1 elric * lib/krb5/addr_families.c (ipv4_sockaddr2port): constify 598 1.1 elric 599 1.1 elric 2002-04-17 Johan Danielsson <joda (a] pdc.kth.se> 600 1.1 elric 601 1.1 elric * lib/krb5/verify_krb5_conf.c: add some log checking 602 1.1 elric 603 1.1 elric * lib/krb5/log.c (krb5_addlog_dest): reorganise syslog parsing 604 1.1 elric 605 1.1 elric 2002-04-16 Johan Danielsson <joda (a] pdc.kth.se> 606 1.1 elric 607 1.1 elric * lib/krb5/crypto.c (krb5_crypto_init): check that the key size 608 1.1 elric matches the expected length 609 1.1 elric 610 1.1 elric 2002-03-27 Johan Danielsson <joda (a] pdc.kth.se> 611 1.1 elric 612 1.1 elric * lib/krb5/send_to_kdc.c: rename send parameter to send_data 613 1.1 elric 614 1.1 elric * lib/krb5/mk_error.c: rename ctime parameter to client_time 615 1.1 elric 616 1.1 elric 2002-03-22 Johan Danielsson <joda (a] pdc.kth.se> 617 1.1 elric 618 1.1 elric * kdc/kerberos5.c (find_etype): unsigned -> krb5_enctype (from 619 1.1 elric Reinoud Zandijk) 620 1.1 elric 621 1.1 elric 2002-03-18 Johan Danielsson <joda (a] pdc.kth.se> 622 1.1 elric 623 1.1 elric * lib/asn1/k5.asn1: add the GSS-API checksum type here 624 1.1 elric 625 1.1 elric 2002-03-11 Assar Westerlund <assar (a] sics.se> 626 1.1 elric 627 1.1 elric * lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): bump version to 628 1.1 elric 18:3:1 629 1.1 elric * lib/hdb/Makefile.am (libhdb_la_LDFLAGS): bump version to 7:5:0 630 1.1 elric * lib/asn1/Makefile.am (libasn1_la_LDFLAGS): bump version to 6:0:0 631 1.1 elric 632 1.1 elric 2002-03-10 Assar Westerlund <assar (a] sics.se> 633 1.1 elric 634 1.1 elric * lib/krb5/rd_cred.c: handle addresses with port numbers 635 1.1 elric 636 1.1 elric * lib/krb5/keytab_file.c, lib/krb5/keytab.c: 637 1.1 elric store the kvno % 256 as the byte and the complete 32 bit kvno after 638 1.1 elric the end of the current keytab entry 639 1.1 elric 640 1.1 elric * lib/krb5/init_creds_pw.c: 641 1.1 elric handle LR_PW_EXPTIME and LR_ACCT_EXPTIME in the same way 642 1.1 elric 643 1.1 elric * lib/krb5/get_for_creds.c (krb5_get_forwarded_creds): 644 1.1 elric handle ports giving for the remote address 645 1.1 elric 646 1.1 elric * lib/krb5/get_cred.c: 647 1.1 elric get a ticket with no addresses if no-addresses is set 648 1.1 elric 649 1.1 elric * lib/krb5/crypto.c: 650 1.1 elric rename functions DES_* to krb5_* to avoid colliding with modern 651 1.1 elric openssl 652 1.1 elric 653 1.1 elric * lib/krb5/addr_families.c: 654 1.1 elric make all functions taking 'struct sockaddr' actually take a socklen_t 655 1.1 elric instead of int and that acts as an in-out parameter (indicating the 656 1.1 elric maximum length of the sockaddr to be written) 657 1.1 elric 658 1.1 elric * kdc/kerberos4.c: 659 1.1 elric make the kvno's in the krb4 universe by the real one % 256, since they 660 1.1 elric cannot only be 8 bit, and the v5 ones are actually 32 bits 661 1.1 elric 662 1.1 elric 2002-02-15 Johan Danielsson <joda (a] pdc.kth.se> 663 1.1 elric 664 1.1 elric * lib/krb5/keytab_keyfile.c (akf_add_entry): don't create the file 665 1.1 elric before we need to write to it 666 1.1 elric (from ke Sandgren) 667 1.1 elric 668 1.1 elric 2002-02-14 Johan Danielsson <joda (a] pdc.kth.se> 669 1.1 elric 670 1.1 elric * configure.in: rk_RETSIGTYPE and rk_BROKEN_REALLOC are called via 671 1.1 elric rk_ROKEN (from Gombas Gabor); find inttypes by CHECK_TYPES 672 1.1 elric directly 673 1.1 elric 674 1.1 elric * lib/krb5/rd_safe.c: actually use the correct key (from Daniel 675 1.1 elric Kouril) 676 1.1 elric 677 1.1 elric 2002-02-12 Johan Danielsson <joda (a] pdc.kth.se> 678 1.1 elric 679 1.1 elric * lib/krb5/context.c (krb5_get_err_text): protect against NULL 680 1.1 elric context 681 1.1 elric 682 1.1 elric 2002-02-11 Johan Danielsson <joda (a] pdc.kth.se> 683 1.1 elric 684 1.1 elric * admin/ktutil.c: no need to use the "modify" keytab anymore 685 1.1 elric 686 1.1 elric * lib/krb5/keytab_any.c: implement add and remove 687 1.1 elric 688 1.1 elric * lib/krb5/keytab_krb4.c: implement add and remove 689 1.1 elric 690 1.1 elric * lib/krb5/store_emem.c (emem_free): clear memory before freeing 691 1.1 elric (this should perhaps be selectable with a flag) 692 1.1 elric 693 1.1 elric 2002-02-04 Johan Danielsson <joda (a] pdc.kth.se> 694 1.1 elric 695 1.1 elric * kdc/config.c (get_dbinfo): if there are database specifications 696 1.1 elric in the config file, don't automatically try to use the default 697 1.1 elric values (from Gombas Gabor) 698 1.1 elric 699 1.1 elric * lib/krb5/log.c (krb5_closelog): don't pass pointer to pointer 700 1.1 elric (from Gombas Gabor) 701 1.1 elric 702 1.1 elric 2002-01-30 Johan Danielsson <joda (a] pdc.kth.se> 703 1.1 elric 704 1.1 elric * admin/list.c: get the default keytab from krb5.conf, and list 705 1.1 elric all parts of an ANY type keytab 706 1.1 elric 707 1.1 elric * lib/krb5/context.c: default default_keytab_modify to NULL 708 1.1 elric 709 1.1 elric * lib/krb5/keytab.c (krb5_kt_default_modify_name): if no modify 710 1.1 elric name is specified take it from the first component of the default 711 1.1 elric keytab name 712 1.1 elric 713 1.1 elric 2002-01-29 Johan Danielsson <joda (a] pdc.kth.se> 714 1.1 elric 715 1.1 elric * lib/krb5/keytab.c: compare keytab types case insensitively 716 1.1 elric 717 1.1 elric 2002-01-07 Assar Westerlund <assar (a] sics.se> 718 1.1 elric 719 1.1 elric * lib/krb5/crypto.c (create_checksum): make usage `unsigned' (it's 720 1.1 elric not really a krb5_key_usage). From Ben Harris <bjh21 (a] netbsd.org> 721 1.1 elric * lib/krb5/get_in_tkt.c: use krb5_enctype consistently. From Ben 722 1.1 elric Harris <bjh21 (a] netbsd.org> 723 1.1 elric * lib/krb5/crypto.c: use krb5_enctype consistently. From Ben 724 1.1 elric Harris <bjh21 (a] netbsd.org> 725 1.1 elric * kdc/kerberos5.c: use krb5_enctype consistently. From Ben Harris 726 1.1 elric <bjh21 (a] netbsd.org> 727